Home
last modified time | relevance | path

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

/external/libchrome/base/files/
Dfile_path.cc130 const StringType::size_type last_separator = in ExtensionSeparatorPosition() local
135 (last_separator != StringType::npos && in ExtensionSeparatorPosition()
136 penultimate_dot < last_separator)) { in ExtensionSeparatorPosition()
317 StringType::size_type last_separator = in DirName() local
320 if (last_separator == StringType::npos) { in DirName()
323 } else if (last_separator == letter + 1) { in DirName()
326 } else if (last_separator == letter + 2 && in DirName()
331 } else if (last_separator != 0) { in DirName()
333 new_path.path_.resize(last_separator); in DirName()
355 StringType::size_type last_separator = in BaseName() local
[all …]
/external/pdfium/testing/
Dtest_support.cpp32 size_t last_separator = exe_path.rfind(PATH_SEPARATOR); in GetFullPathForSnapshotFile() local
33 if (last_separator != std::string::npos) { in GetFullPathForSnapshotFile()
34 result = exe_path.substr(0, last_separator + 1); in GetFullPathForSnapshotFile()