Home
last modified time | relevance | path

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

/external/autotest/client/deps/glbench/src/
Dfilepath.cc19 std::string::size_type last_separator = in DirName() local
23 if (last_separator == std::string::npos) { in DirName()
26 } else if (last_separator == letter + 1) { in DirName()
29 } else if (last_separator == letter + 2 && in DirName()
34 } else if (last_separator != 0) { in DirName()
36 new_path.path_.resize(last_separator); in DirName()
/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()
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
[all …]
/external/pdfium/testing/
Dtest_support.cpp36 size_t last_separator = exe_path.rfind(PATH_SEPARATOR); in GetFullPathForSnapshotFile() local
37 if (last_separator != std::string::npos) { in GetFullPathForSnapshotFile()
38 result = exe_path.substr(0, last_separator + 1); in GetFullPathForSnapshotFile()