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

Function constString

ThirdParty/libxml2/vtklibxml2/xmlreader.c:207–219  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

205}
206
207static const xmlChar *
208constString(xmlTextReaderPtr reader, const xmlChar *string) {
209 const xmlChar *dictString;
210
211 if (string == NULL)
212 return(NULL);
213
214 dictString = xmlDictLookup(reader->dict, string, -1);
215 if (dictString == NULL)
216 xmlTextReaderErrMemory(reader);
217
218 return(dictString);
219}
220
221static const xmlChar *
222constQString(xmlTextReaderPtr reader, const xmlChar *prefix,

Calls 2

xmlDictLookupFunction · 0.85
xmlTextReaderErrMemoryFunction · 0.85

Tested by

no test coverage detected