Home
last modified time | relevance | path

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

/external/libweave/third_party/chromium/base/strings/
Dstring_util.cc134 BasicStringPiece<Str> trim_chars, in TrimStringT() argument
144 input_piece.find_first_not_of(trim_chars) : 0; in TrimStringT()
146 input_piece.find_last_not_of(trim_chars) : last_char; in TrimStringT()
169 StringPiece trim_chars, in TrimString() argument
171 return TrimStringT(input, trim_chars, TRIM_ALL, output) != TRIM_NONE; in TrimString()
176 BasicStringPiece<Str> trim_chars, in TrimStringPieceT() argument
179 input.find_first_not_of(trim_chars) : 0; in TrimStringPieceT()
181 input.find_last_not_of(trim_chars) + 1 : input.size(); in TrimStringPieceT()
186 const StringPiece& trim_chars, in TrimString() argument
188 return TrimStringPieceT(input, trim_chars, positions); in TrimString()
Dstring_util.h139 StringPiece trim_chars,
145 const StringPiece& trim_chars,
/external/libchrome/base/strings/
Dstring_util.cc282 BasicStringPiece<Str> trim_chars, in TrimStringT() argument
292 input_piece.find_first_not_of(trim_chars) : 0; in TrimStringT()
294 input_piece.find_last_not_of(trim_chars) : last_char; in TrimStringT()
317 StringPiece16 trim_chars, in TrimString() argument
319 return TrimStringT(input, trim_chars, TRIM_ALL, output) != TRIM_NONE; in TrimString()
323 StringPiece trim_chars, in TrimString() argument
325 return TrimStringT(input, trim_chars, TRIM_ALL, output) != TRIM_NONE; in TrimString()
330 BasicStringPiece<Str> trim_chars, in TrimStringPieceT() argument
333 input.find_first_not_of(trim_chars) : 0; in TrimStringPieceT()
335 input.find_last_not_of(trim_chars) + 1 : input.size(); in TrimStringPieceT()
[all …]
Dstring_util.h213 StringPiece16 trim_chars,
216 StringPiece trim_chars,
222 const StringPiece16& trim_chars,
225 const StringPiece& trim_chars,