Home
last modified time | relevance | path

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

/third_party/gn/src/base/strings/
Dstring_util.cc226 const size_t last_good_char = (positions & TRIM_TRAILING) in TrimStringT() local
234 (last_good_char == Str::npos)) { in TrimStringT()
241 *output = input.substr(first_good_char, last_good_char - first_good_char + 1); in TrimStringT()
246 ((last_good_char == last_char) ? TRIM_NONE : TRIM_TRAILING)); in TrimStringT()