Home
last modified time | relevance | path

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

/external/libweave/third_party/chromium/base/strings/
Dstring_util.cc143 const size_t first_good_char = (positions & TRIM_LEADING) ? in TrimStringT() local
152 (first_good_char == Str::npos) || (last_good_char == Str::npos)) { in TrimStringT()
160 input.substr(first_good_char, last_good_char - first_good_char + 1); in TrimStringT()
164 ((first_good_char == 0) ? TRIM_NONE : TRIM_LEADING) | in TrimStringT()
/external/libchrome/base/strings/
Dstring_util.cc291 const size_t first_good_char = (positions & TRIM_LEADING) ? in TrimStringT() local
300 (first_good_char == Str::npos) || (last_good_char == Str::npos)) { in TrimStringT()
308 input.substr(first_good_char, last_good_char - first_good_char + 1); in TrimStringT()
312 ((first_good_char == 0) ? TRIM_NONE : TRIM_LEADING) | in TrimStringT()