Lines Matching refs:last_separator
130 const StringType::size_type last_separator = in ExtensionSeparatorPosition() local
135 (last_separator != StringType::npos && in ExtensionSeparatorPosition()
136 penultimate_dot < last_separator)) { in ExtensionSeparatorPosition()
318 StringType::size_type last_separator = in DirName() local
321 if (last_separator == StringType::npos) { in DirName()
324 } else if (last_separator == letter + 1) { in DirName()
327 } else if (last_separator == letter + 2 && in DirName()
332 } else if (last_separator != 0) { in DirName()
334 new_path.path_.resize(last_separator); in DirName()
356 StringType::size_type last_separator = in BaseName() local
359 if (last_separator != StringType::npos && in BaseName()
360 last_separator < new_path.path_.length() - 1) { in BaseName()
361 new_path.path_.erase(0, last_separator + 1); in BaseName()