MCPcopy Create free account
hub / github.com/CodingGay/BlackDex / StartsWithIgnoreCase

Function StartsWithIgnoreCase

Bcore/src/main/cpp/android-base/strings.cpp:98–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96}
97
98bool StartsWithIgnoreCase(const std::string& s, const char* prefix) {
99 return strncasecmp(s.c_str(), prefix, strlen(prefix)) == 0;
100}
101
102bool StartsWithIgnoreCase(const std::string& s, const std::string& prefix) {
103 return strncasecmp(s.c_str(), prefix.c_str(), prefix.size()) == 0;

Callers

nothing calls this directly

Calls 2

c_strMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected