MCPcopy Create free account
hub / github.com/Kitware/CMake / entityTrackingOnOpen

Function entityTrackingOnOpen

Utilities/cmexpat/lib/xmlparse.c:8630–8643  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8628}
8629
8630static void
8631entityTrackingOnOpen(XML_Parser originParser, ENTITY *entity, int sourceLine) {
8632 const XML_Parser rootParser = getRootParserOf(originParser, NULL);
8633 assert(! rootParser->m_parentParser);
8634
8635 rootParser->m_entity_stats.countEverOpened++;
8636 rootParser->m_entity_stats.currentDepth++;
8637 if (rootParser->m_entity_stats.currentDepth
8638 > rootParser->m_entity_stats.maximumDepthSeen) {
8639 rootParser->m_entity_stats.maximumDepthSeen++;
8640 }
8641
8642 entityTrackingReportStats(rootParser, entity, "OPEN ", sourceLine);
8643}
8644
8645static void
8646entityTrackingOnClose(XML_Parser originParser, ENTITY *entity, int sourceLine) {

Callers 3

doPrologFunction · 0.85
processEntityFunction · 0.85
storeEntityValueFunction · 0.85

Calls 2

getRootParserOfFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…