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

Function xmlStrcasecmp

ThirdParty/libxml2/vtklibxml2/xmlstring.c:284–296  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

282 */
283
284int
285xmlStrcasecmp(const xmlChar *str1, const xmlChar *str2) {
286 register int tmp;
287
288 if (str1 == str2) return(0);
289 if (str1 == NULL) return(-1);
290 if (str2 == NULL) return(1);
291 do {
292 tmp = casemap[*str1++] - casemap[*str2];
293 if (tmp != 0) return(tmp);
294 } while (*str2++ != 0);
295 return 0;
296}
297
298/**
299 * xmlStrncasecmp:

Callers 14

areBlanksFunction · 0.85
htmlCheckMetaFunction · 0.85
xmlNodeGetBaseSafeFunction · 0.85
xmlAddEntityFunction · 0.85
xmlSetDeclaredEncodingFunction · 0.85
xmlFindExtraHandlerFunction · 0.85
xmlFindHandlerFunction · 0.85
htmlGetMetaEncodingFunction · 0.85
htmlSetMetaEncodingFunction · 0.85
htmlIsBooleanAttrFunction · 0.85
htmlAttrDumpOutputFunction · 0.85
htmlNodeDumpFormatOutputFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected