MCPcopy Create free account
hub / github.com/crownengine/crown / strcasecmp

Function strcasecmp

3rdparty/openal/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

LoadReverbPresetFunction · 0.50
InitConeScaleFunction · 0.50
InitZScaleFunction · 0.50
InitHrtfPanningFunction · 0.50
aluInitRendererFunction · 0.50
alc_initconfigFunction · 0.50
UpdateDeviceParamsFunction · 0.50
LoadConfigFromFileFunction · 0.50
GetConfigValueFunction · 0.50
ConfigValueBoolFunction · 0.50

Calls 1

to_upperFunction · 0.85

Tested by

no test coverage detected