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

Function xmlTextReaderErrMemory

ThirdParty/libxml2/vtklibxml2/xmlreader.c:183–191  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

181static void xmlTextReaderFreeNodeList(xmlTextReaderPtr reader, xmlNodePtr cur);
182
183static void
184xmlTextReaderErrMemory(xmlTextReaderPtr reader) {
185 if (reader->ctxt != NULL)
186 xmlCtxtErrMemory(reader->ctxt);
187 else
188 xmlRaiseMemoryError(NULL, NULL, NULL, XML_FROM_PARSER, NULL);
189 reader->mode = XML_TEXTREADER_MODE_ERROR;
190 reader->state = XML_TEXTREADER_ERROR;
191}
192
193static xmlChar *
194readerStrdup(xmlTextReaderPtr reader, const xmlChar *string) {

Callers 15

readerStrdupFunction · 0.85
constStringFunction · 0.85
constQStringFunction · 0.85
xmlTextReaderEntPushFunction · 0.85
xmlTextReaderValidatePopFunction · 0.85
xmlTextReaderReadFunction · 0.85
xmlTextReaderDumpCopyFunction · 0.85
xmlTextReaderReadStringFunction · 0.85

Calls 2

xmlCtxtErrMemoryFunction · 0.85
xmlRaiseMemoryErrorFunction · 0.85

Tested by

no test coverage detected