Lines Matching refs:last_separator
129 const StringType::size_type last_separator = path.find_last_of(
133 (last_separator != StringType::npos &&
134 penultimate_dot < last_separator)) {
310 StringType::size_type last_separator = new_path.path_.find_last_of(
312 if (last_separator == StringType::npos) {
315 } else if (last_separator == letter + 1) {
318 } else if (last_separator == letter + 2 &&
323 } else if (last_separator != 0) {
325 new_path.path_.resize(last_separator);
347 StringType::size_type last_separator = new_path.path_.find_last_of(
349 if (last_separator != StringType::npos &&
350 last_separator < new_path.path_.length() - 1) {
351 new_path.path_.erase(0, last_separator + 1);