Searched refs:last_good_char (Results 1 – 2 of 2) sorted by relevance
145 const size_t last_good_char = (positions & TRIM_TRAILING) ? in TrimStringT() local152 (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()
293 const size_t last_good_char = (positions & TRIM_TRAILING) ? in TrimStringT() local300 (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()