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

Function xmlStrQEqual

ThirdParty/libxml2/vtklibxml2/xmlstring.c:195–209  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

193 */
194
195int
196xmlStrQEqual(const xmlChar *pref, const xmlChar *name, const xmlChar *str) {
197 if (pref == NULL) return(xmlStrEqual(name, str));
198 if (name == NULL) return(0);
199 if (str == NULL) return(0);
200
201 do {
202 if (*pref++ != *str) return(0);
203 } while ((*str++) && (*pref));
204 if (*str++ != ':') return(0);
205 do {
206 if (*name++ != *str) return(0);
207 } while (*str++);
208 return(1);
209}
210
211/**
212 * xmlStrncmp:

Callers 2

xmlDictFindEntryFunction · 0.85
xmlHashQLookup3Function · 0.85

Calls 1

xmlStrEqualFunction · 0.85

Tested by

no test coverage detected