MCPcopy Create free account
hub / github.com/MusicPlayerDaemon/MPD / StringArrayContainsCase

Function StringArrayContainsCase

src/util/StringUtil.cxx:10–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8#include <cassert>
9
10bool
11StringArrayContainsCase(const char *const*haystack,
12 std::string_view needle) noexcept
13{
14 assert(haystack != nullptr);
15
16 for (; *haystack != nullptr; ++haystack)
17 if (StringIsEqualIgnoreCase(*haystack, needle))
18 return true;
19
20 return false;
21}
22
23void
24ToUpperASCII(char *dest, const char *src, size_t size) noexcept

Callers 7

SupportsSchemeMethod · 0.85
SupportsSuffixMethod · 0.85
SupportsMimeTypeMethod · 0.85
SupportsSuffixMethod · 0.85
SupportsMimeTypeMethod · 0.85
ParseBoolFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected