MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / find_substring

Function find_substring

lib/pugixml/src/pugixml.cpp:7951–7959  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7949 }
7950
7951 PUGI__FN const char_t* find_substring(const char_t* s, const char_t* p)
7952 {
7953 #ifdef PUGIXML_WCHAR_MODE
7954 // MSVC6 wcsstr bug workaround (if s is empty it always returns 0)
7955 return (*p == 0) ? s : wcsstr(s, p);
7956 #else
7957 return strstr(s, p);
7958 #endif
7959 }
7960
7961 // Converts symbol to lower case, if it is an ASCII one
7962 PUGI__FN char_t tolower_ascii(char_t ch)

Callers 2

eval_booleanMethod · 0.85
eval_stringMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected