Home
last modified time | relevance | path

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

/freebsd/contrib/expat/lib/
H A Dxmlparse.c648 static float accountingGetCurrentAmplification(XML_Parser rootParser);
651 static void accountingReportDiff(XML_Parser rootParser,
857 expat_heap_stat(XML_Parser rootParser, char operator, XmlBigCount absDiff, in expat_heap_stat() argument
861 = (float)newTotal / (float)rootParser->m_accounting.countBytesDirect; in expat_heap_stat()
866 (void *)rootParser, rootParser->m_accounting.countBytesDirect, operator, in expat_heap_stat()
871 expat_heap_increase_tolerable(XML_Parser rootParser, XmlBigCount increase, in expat_heap_increase_tolerable() argument
873 assert(rootParser != NULL); in expat_heap_increase_tolerable()
880 if ((XmlBigCount)-1 - rootParser->m_alloc_tracker.bytesAllocated < increase) { in expat_heap_increase_tolerable()
883 newTotal = rootParser->m_alloc_tracker.bytesAllocated + increase; in expat_heap_increase_tolerable()
885 if (newTotal >= rootParser->m_alloc_tracker.activationThresholdBytes) { in expat_heap_increase_tolerable()
[all …]