MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / compareNoCase

Function compareNoCase

common/StringUtil.cpp:223–230  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

221 }
222
223 bool compareNoCase(const std::string_view str1, const std::string_view str2)
224 {
225 if (str1.length() != str2.length())
226 {
227 return false;
228 }
229 return Strncasecmp(str1.data(), str2.data(), str1.length()) == 0;
230 }
231
232 std::vector<std::string> splitOnNewLine(const std::string& str)
233 {

Callers 9

hasNameConflictMethod · 0.85
parseAndInsertMethod · 0.85
GetFileReaderFunction · 0.85
OpenCHDFunction · 0.85
LocateFileMethod · 0.85
StartAutomaticBindingMethod · 0.85

Calls 3

StrncasecmpFunction · 0.85
lengthMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected