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

Function externalParEntInitProcessor

Utilities/cmexpat/lib/xmlparse.c:4990–5008  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4988#ifdef XML_DTD
4989
4990static enum XML_Error PTRCALL
4991externalParEntInitProcessor(XML_Parser parser, const char *s, const char *end,
4992 const char **nextPtr) {
4993 enum XML_Error result = initializeEncoding(parser);
4994 if (result != XML_ERROR_NONE)
4995 return result;
4996
4997 /* we know now that XML_Parse(Buffer) has been called,
4998 so we consider the external parameter entity read */
4999 parser->m_dtd->paramEntityRead = XML_TRUE;
5000
5001 if (parser->m_prologState.inEntityValue) {
5002 parser->m_processor = entityValueInitProcessor;
5003 return entityValueInitProcessor(parser, s, end, nextPtr);
5004 } else {
5005 parser->m_processor = externalParEntProcessor;
5006 return externalParEntProcessor(parser, s, end, nextPtr);
5007 }
5008}
5009
5010static enum XML_Error PTRCALL
5011entityValueInitProcessor(XML_Parser parser, const char *s, const char *end,

Callers

nothing calls this directly

Calls 3

initializeEncodingFunction · 0.85
entityValueInitProcessorFunction · 0.85
externalParEntProcessorFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…