MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/OpenColorIO / Strcasecmp

Function Strcasecmp

src/OpenColorIO/Platform.cpp:155–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153}
154
155int Strcasecmp(const char * str1, const char * str2)
156{
157 if (!str1 || !str2)
158 {
159 throw Exception("String pointer for comparison must not be null.");
160 }
161
162#ifdef _WIN32
163 return ::_stricmp(str1, str2);
164#else
165 return ::strcasecmp(str1, str2);
166#endif
167}
168
169int Strncasecmp(const char * str1, const char * str2, size_t n)
170{

Callers 15

loadFunction · 0.85
ReadMethod · 0.85
FindDisplayFunction · 0.85
FindViewFunction · 0.85
AddViewFunction · 0.85
hasAliasMethod · 0.85
getFileBufferByExtensionFunction · 0.85
hasAliasMethod · 0.85
FileRuleMethod · 0.85
validateNewRuleMethod · 0.85
getIndexForRuleMethod · 0.85
validateNewRuleMethod · 0.85

Calls

no outgoing calls

Tested by 5

OCIO_ADD_TESTFunction · 0.68
OCIO_ADD_TESTFunction · 0.68
ValidateFormatByIndexFunction · 0.68
OCIO_ADD_TESTFunction · 0.68
CreateOpsFunction · 0.68