Searched refs:last_separator (Results 1 – 3 of 3) sorted by relevance
30 size_t last_separator = exe_path.rfind(PATH_SEPARATOR); in GetFullPathForSnapshotFile() local31 if (last_separator != std::string::npos) { in GetFullPathForSnapshotFile()32 result = exe_path.substr(0, last_separator + 1); in GetFullPathForSnapshotFile()
130 const StringType::size_type last_separator = in ExtensionSeparatorPosition() local135 (last_separator != StringType::npos && in ExtensionSeparatorPosition()136 penultimate_dot < last_separator)) { in ExtensionSeparatorPosition()318 StringType::size_type last_separator = in DirName() local321 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 …]
334 const char* last_separator = strrchr(argv[0], PATH_SEPARATOR); in main() local335 std::string binary_name = last_separator ? last_separator + 1 : argv[0]; in main()