| 8 | #include <cassert> |
| 9 | |
| 10 | bool |
| 11 | StringArrayContainsCase(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 | |
| 23 | void |
| 24 | ToUpperASCII(char *dest, const char *src, size_t size) noexcept |
no outgoing calls
no test coverage detected