Home
last modified time | relevance | path

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

/external/libweave/third_party/chromium/base/strings/
Dstring_util.cc145 const size_t last_good_char = (positions & TRIM_TRAILING) ? 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()
165 ((last_good_char == last_char) ? TRIM_NONE : TRIM_TRAILING)); in TrimStringT()
/external/libchrome/base/strings/
Dstring_util.cc293 const size_t last_good_char = (positions & TRIM_TRAILING) ? 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()
313 ((last_good_char == last_char) ? TRIM_NONE : TRIM_TRAILING)); in TrimStringT()