Lines Matching refs:string_view
74 std::string ToLowerASCII(std::string_view str);
78 std::string ToUpperASCII(std::string_view str);
104 int CompareCaseInsensitiveASCII(std::string_view a, std::string_view b);
110 bool EqualsCaseInsensitiveASCII(std::string_view a, std::string_view b);
130 std::string_view remove_chars,
143 std::string_view replace_chars,
164 std::string_view trim_chars,
172 std::string_view TrimString(std::string_view input,
173 std::string_view trim_chars,
197 std::string_view TrimWhitespaceASCII(std::string_view input,
215 bool ContainsOnlyChars(std::string_view input, std::string_view characters);
233 bool IsStringUTF8(std::string_view str);
234 bool IsStringASCII(std::string_view str);
239 bool LowerCaseEqualsASCII(std::string_view str,
240 std::string_view lowecase_ascii);
242 std::string_view lowecase_ascii);
247 bool EqualsASCII(std::u16string_view str, std::string_view ascii);
262 bool StartsWith(std::string_view str,
263 std::string_view search_for,
268 bool EndsWith(std::string_view str,
269 std::string_view search_for,
328 std::string_view find_this,
329 std::string_view replace_with);
343 std::string_view find_this,
344 std::string_view replace_with);
381 std::string_view separator);
384 std::string JoinString(const std::vector<std::string_view>& parts,
385 std::string_view separator);
391 std::string JoinString(std::initializer_list<std::string_view> parts,
392 std::string_view separator);
405 std::string ReplaceStringPlaceholders(std::string_view format_string,