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

Function xmlStringCurrentChar

ThirdParty/libxml2/vtklibxml2/parserInternals.c:885–898  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

883 */
884
885int
886xmlStringCurrentChar(xmlParserCtxtPtr ctxt ATTRIBUTE_UNUSED,
887 const xmlChar *cur, int *len) {
888 int c;
889
890 if ((cur == NULL) || (len == NULL))
891 return(0);
892
893 /* cur is zero-terminated, so we can lie about its length. */
894 *len = 4;
895 c = xmlGetUTF8Char(cur, len);
896
897 return((c < 0) ? 0 : c);
898}
899
900/**
901 * xmlCopyCharMultiByte:

Callers 7

xmlPatScanLiteralFunction · 0.85
xmlPatScanNameFunction · 0.85
xmlPatScanNCNameFunction · 0.85

Calls 1

xmlGetUTF8CharFunction · 0.85

Tested by

no test coverage detected