Home
last modified time | relevance | path

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

/freebsd/contrib/expat/lib/
H A Dxmlparse.c618 static float accountingGetCurrentAmplification(XML_Parser rootParser);
621 static void accountingReportDiff(XML_Parser rootParser,
801 expat_heap_stat(XML_Parser rootParser, char operator, XmlBigCount absDiff, in expat_heap_stat() argument
805 = (float)newTotal / (float)rootParser->m_accounting.countBytesDirect; in expat_heap_stat()
810 (void *)rootParser, rootParser->m_accounting.countBytesDirect, operator, in expat_heap_stat()
815 expat_heap_increase_tolerable(XML_Parser rootParser, XmlBigCount increase, in expat_heap_increase_tolerable() argument
817 assert(rootParser != NULL); in expat_heap_increase_tolerable()
824 if ((XmlBigCount)-1 - rootParser->m_alloc_tracker.bytesAllocated < increase) { in expat_heap_increase_tolerable()
827 newTotal = rootParser->m_alloc_tracker.bytesAllocated + increase; in expat_heap_increase_tolerable()
829 if (newTotal >= rootParser->m_alloc_tracker.activationThresholdBytes) { in expat_heap_increase_tolerable()
[all …]