MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / strcasecmp

Function strcasecmp

Engine/lib/openal-soft/common/alstring.cpp:22–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20namespace al {
21
22int strcasecmp(const char *str0, const char *str1) noexcept
23{
24 do {
25 const int diff{to_upper(*str0) - to_upper(*str1)};
26 if(diff < 0) return -1;
27 if(diff > 0) return 1;
28 } while(*(str0++) && *(str1++));
29 return 0;
30}
31
32int strncasecmp(const char *str0, const char *str1, std::size_t len) noexcept
33{

Callers 15

strcasecmpMethod · 0.85
StrCaseCmpFunction · 0.85
LoadReverbPresetFunction · 0.85
MatchChannelTypeFunction · 0.85
ProcessMetricsFunction · 0.85
MatchSourceFormatFunction · 0.85
MatchElementTypeFunction · 0.85
MatchTargetEarFunction · 0.85
mainFunction · 0.85
InitConeScaleFunction · 0.85
InitZScaleFunction · 0.85
InitHrtfPanningFunction · 0.85

Calls 1

to_upperFunction · 0.85

Tested by 2

StrCaseCmpFunction · 0.68
StrCaseCmpFunction · 0.68