Home
last modified time | relevance | path

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

/freebsd/contrib/expat/lib/
H A Dxmlparse.c827 MALLOC_TRACKER m_alloc_tracker; member
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()
880 > rootParser->m_alloc_tracker.maximumAmplificationFactor) { in expat_heap_increase_tolerable()
886 if (! tolerable && (rootParser->m_alloc_tracker.debugLevel >= 1)) { in expat_heap_increase_tolerable()
909 if (SIZE_MAX - rootParser->m_alloc_tracker.bytesAllocated < bytesToAllocate) { in expat_malloc()
929 rootParser->m_alloc_tracker.bytesAllocated += bytesToAllocate; in expat_malloc()
932 if (rootParser->m_alloc_tracker.debugLevel >= 2) { in expat_malloc()
933 if (rootParser->m_alloc_tracker.bytesAllocated in expat_malloc()
[all …]