Home
last modified time | relevance | path

Searched refs:sv (Results 1 – 1 of 1) sorted by relevance

/art/libartbase/base/
Dstring_view_cpp20.h30 inline bool StartsWith(std::string_view sv, std::string_view prefix) { in StartsWith() argument
31 return sv.substr(0u, prefix.size()) == prefix; in StartsWith()
34 inline bool EndsWith(std::string_view sv, std::string_view suffix) { in EndsWith() argument
35 return sv.size() >= suffix.size() && sv.substr(sv.size() - suffix.size()) == suffix; in EndsWith()