Home
last modified time | relevance | path

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

/third_party/gn/src/base/files/
Dfile_path.cc128 const StringType::size_type last_separator = path.find_last_of( in ExtensionSeparatorPosition() local
132 (last_separator != StringType::npos && in ExtensionSeparatorPosition()
133 penultimate_dot < last_separator)) { in ExtensionSeparatorPosition()
309 StringType::size_type last_separator = new_path.path_.find_last_of( in DirName() local
311 if (last_separator == StringType::npos) { in DirName()
314 } else if (last_separator == letter + 1) { in DirName()
317 } else if (last_separator == letter + 2 && in DirName()
322 } else if (last_separator != 0) { in DirName()
324 new_path.path_.resize(last_separator); in DirName()
346 StringType::size_type last_separator = new_path.path_.find_last_of( in BaseName() local
[all …]
/third_party/cef/tests/shared/browser/
Dresource_util_mac.mm42 std::string::size_type last_separator = dir.find_last_of("/");
43 dir.resize(last_separator);
/third_party/gn/src/gn/
Dbundle_data.cc181 size_t last_separator = root_dir_value.rfind('/'); in GetBundleRootDirOutput() local
182 if (last_separator != std::string::npos) in GetBundleRootDirOutput()
183 root_dir_value = root_dir_value.substr(0, last_separator); in GetBundleRootDirOutput()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/cache/
Dcache_admin_arg.cc573 uint64_t last_separator = canonical_path.find_last_of('/'); in StartServer() local
574 CHECK_FAIL_RETURN_UNEXPECTED(last_separator != std::string::npos, "No / found"); in StartServer()
576 canonical_path.resize(last_separator + 1); in StartServer()