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

Function xmlStrEqual

ThirdParty/libxml2/vtklibxml2/xmlstring.c:169–182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

167 */
168
169int
170xmlStrEqual(const xmlChar *str1, const xmlChar *str2) {
171 if (str1 == str2) return(1);
172 if (str1 == NULL) return(0);
173 if (str2 == NULL) return(0);
174#ifdef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
175 return(strcmp((const char *)str1, (const char *)str2) == 0);
176#else
177 do {
178 if (*str1++ != *str2) return(0);
179 } while (*str2++);
180 return(1);
181#endif
182}
183
184/**
185 * xmlStrQEqual:

Callers 15

xmlParseXMLCatalogNodeFunction · 0.85
xmlParseXMLCatalogFileFunction · 0.85
xmlAddXMLCatalogFunction · 0.85
xmlDelXMLCatalogFunction · 0.85
xmlCatalogXMLResolveFunction · 0.85
xmlCatalogXMLResolveURIFunction · 0.85
xmlCatalogListXMLResolveFunction · 0.85
xmlParseSGMLCatalogFunction · 0.85
xmlCatalogAddFunction · 0.85

Calls

no outgoing calls

Tested by 1

load_xpath_exprFunction · 0.68