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

Function XML_SetBase

Utilities/cmexpat/lib/xmlparse.c:2056–2068  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2054}
2055
2056enum XML_Status XMLCALL
2057XML_SetBase(XML_Parser parser, const XML_Char *p) {
2058 if (parser == NULL)
2059 return XML_STATUS_ERROR;
2060 if (p) {
2061 p = poolCopyString(&parser->m_dtd->pool, p);
2062 if (! p)
2063 return XML_STATUS_ERROR;
2064 parser->m_curBase = p;
2065 } else
2066 parser->m_curBase = NULL;
2067 return XML_STATUS_OK;
2068}
2069
2070const XML_Char *XMLCALL
2071XML_GetBase(XML_Parser parser) {

Callers

nothing calls this directly

Calls 1

poolCopyStringFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…