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

Function xmlCharStrdup

ThirdParty/libxml2/vtklibxml2/xmlstring.c:123–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121 */
122
123xmlChar *
124xmlCharStrdup(const char *cur) {
125 const char *p = cur;
126
127 if (cur == NULL) return(NULL);
128 while (*p != '\0') p++; /* non input consuming */
129 return(xmlCharStrndup(cur, p - cur));
130}
131
132/**
133 * xmlStrcmp:

Callers 7

LIBXML_ATTR_FORMATFunction · 0.85
xmlParseTextDeclFunction · 0.85
xmlParseDocumentFunction · 0.85
xmlParseExtParsedEntFunction · 0.85
parser.cFile · 0.85
xmlPosixStrdupFunction · 0.85
xmlRelaxNGGetErrorStringFunction · 0.85

Calls 1

xmlCharStrndupFunction · 0.85

Tested by

no test coverage detected