MCPcopy Create free account
hub / github.com/Kitware/VTK / getEntityDebug

Function getEntityDebug

ThirdParty/libxml2/vtklibxml2/runtest.c:730–741  ·  view source on GitHub ↗

* getEntityDebug: * @ctxt: An XML parser context * @name: The entity name * * Get an entity by name * * Returns the xmlParserInputPtr if inlined or NULL for DOM behaviour. */

Source from the content-addressed store, hash-verified

728 * Returns the xmlParserInputPtr if inlined or NULL for DOM behaviour.
729 */
730static xmlEntityPtr
731getEntityDebug(void *ctx, const xmlChar *name)
732{
733 debugContext *ctxt = ctx;
734
735 callbacks++;
736 if (quiet)
737 return(NULL);
738 fprintf(SAXdebug, "SAX.getEntity(%s)\n", name);
739
740 return(xmlHashLookup(ctxt->generalEntities, name));
741}
742
743/**
744 * getParameterEntityDebug:

Callers

nothing calls this directly

Calls 2

fprintfFunction · 0.85
xmlHashLookupFunction · 0.85

Tested by

no test coverage detected