Home
last modified time | relevance | path

Searched refs:rootParser (Results 1 – 1 of 1) sorted by relevance

/freebsd/contrib/expat/lib/
H A Dxmlparse.c621 static float accountingGetCurrentAmplification(XML_Parser rootParser);
624 static void accountingReportDiff(XML_Parser rootParser,
846 expat_heap_stat(XML_Parser rootParser, char operator, size_t absDiff, in expat_heap_stat() argument
850 = (float)newTotal / (float)rootParser->m_accounting.countBytesDirect; in expat_heap_stat()
855 (void *)rootParser, rootParser->m_accounting.countBytesDirect, operator, in expat_heap_stat()
860 expat_heap_increase_tolerable(XML_Parser rootParser, size_t increase, in expat_heap_increase_tolerable() argument
862 assert(rootParser != NULL); in expat_heap_increase_tolerable()
869 if (SIZE_MAX - rootParser->m_alloc_tracker.bytesAllocated < increase) { in expat_heap_increase_tolerable()
872 newTotal = rootParser->m_alloc_tracker.bytesAllocated + increase; in expat_heap_increase_tolerable()
874 if (newTotal >= rootParser->m_alloc_tracker.activationThresholdBytes) { in expat_heap_increase_tolerable()
[all …]