Searched refs:sv (Results 1 – 1 of 1) sorted by relevance
30 inline bool StartsWith(std::string_view sv, std::string_view prefix) { in StartsWith() argument31 return sv.substr(0u, prefix.size()) == prefix; in StartsWith()34 inline bool EndsWith(std::string_view sv, std::string_view suffix) { in EndsWith() argument35 return sv.size() >= suffix.size() && sv.substr(sv.size() - suffix.size()) == suffix; in EndsWith()