Home
last modified time | relevance | path

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

/src/contrib/expat/lib/
H A Dxmlparse.c617 static float accountingGetCurrentAmplification(XML_Parser rootParser);
620 static void accountingReportDiff(XML_Parser rootParser,
800 expat_heap_stat(XML_Parser rootParser, char operator, XmlBigCount absDiff, in expat_heap_stat() argument
804 = (float)newTotal / (float)rootParser->m_accounting.countBytesDirect; in expat_heap_stat()
809 (void *)rootParser, rootParser->m_accounting.countBytesDirect, operator, in expat_heap_stat()
814 expat_heap_increase_tolerable(XML_Parser rootParser, XmlBigCount increase, in expat_heap_increase_tolerable() argument
816 assert(rootParser != NULL); in expat_heap_increase_tolerable()
823 if ((XmlBigCount)-1 - rootParser->m_alloc_tracker.bytesAllocated < increase) { in expat_heap_increase_tolerable()
826 newTotal = rootParser->m_alloc_tracker.bytesAllocated + increase; in expat_heap_increase_tolerable()
828 if (newTotal >= rootParser->m_alloc_tracker.activationThresholdBytes) { in expat_heap_increase_tolerable()
[all …]