Home
last modified time | relevance | path

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

/external/libchrome/base/files/
Dfile_path.cc132 const StringType::size_type last_separator = in ExtensionSeparatorPosition() local
137 (last_separator != StringType::npos && in ExtensionSeparatorPosition()
138 penultimate_dot < last_separator)) { in ExtensionSeparatorPosition()
319 StringType::size_type last_separator = in DirName() local
322 if (last_separator == StringType::npos) { in DirName()
325 } else if (last_separator == letter + 1) { in DirName()
328 } else if (last_separator == letter + 2 && in DirName()
333 } else if (last_separator != 0) { in DirName()
335 new_path.path_.resize(last_separator); in DirName()
357 StringType::size_type last_separator = in BaseName() local
[all …]
/external/pdfium/testing/
Dtest_support.cpp34 size_t last_separator = exe_path.rfind(PATH_SEPARATOR); in GetFullPathForSnapshotFile() local
35 if (last_separator != std::string::npos) { in GetFullPathForSnapshotFile()
36 result = exe_path.substr(0, last_separator + 1); in GetFullPathForSnapshotFile()