Searched refs:trim_chars (Results 1 – 2 of 2) sorted by relevance
/third_party/gn/src/base/strings/ |
D | string_util.cc | 214 std::basic_string_view<typename Str::value_type> trim_chars, in TrimStringT() argument 224 ? input_piece.find_first_not_of(trim_chars) in TrimStringT() 227 ? input_piece.find_last_not_of(trim_chars) in TrimStringT() 250 std::u16string_view trim_chars, in TrimString() argument 252 return TrimStringT(input, trim_chars, TRIM_ALL, output) != TRIM_NONE; in TrimString() 256 std::string_view trim_chars, in TrimString() argument 258 return TrimStringT(input, trim_chars, TRIM_ALL, output) != TRIM_NONE; in TrimString() 264 std::basic_string_view<char_type> trim_chars, in TrimStringPieceT() argument 267 (positions & TRIM_LEADING) ? input.find_first_not_of(trim_chars) : 0; in TrimStringPieceT() 272 ? input.find_last_not_of(trim_chars) + 1 in TrimStringPieceT() [all …]
|
D | string_util.h | 161 std::u16string_view trim_chars, 164 std::string_view trim_chars, 170 std::u16string_view trim_chars, 173 std::string_view trim_chars,
|