Searched refs:slash_pos (Results 1 – 3 of 3) sorted by relevance
45 size_t slash_pos = full_path.rfind('/'); in GetFilenameBase() local46 CHECK_NE(std::string::npos, slash_pos); in GetFilenameBase()49 CHECK_GT(dot_pos, slash_pos + 1u); in GetFilenameBase()50 return full_path.substr(slash_pos + 1u, dot_pos - (slash_pos + 1u)); in GetFilenameBase()
1801 size_t slash_pos = boot_class_path_.empty() in GetPrimaryImageLocation() local1804 if (slash_pos == std::string::npos) { in GetPrimaryImageLocation()1807 location.insert(0u, boot_class_path_[0].substr(0u, slash_pos + 1u)); in GetPrimaryImageLocation()1920 size_t slash_pos = component.rfind('/'); in MatchNamedComponents() local1925 if (slash_pos != std::string::npos) { in MatchNamedComponents()1926 base_name = component.substr(slash_pos + 1u); in MatchNamedComponents()1934 if (slash_pos != std::string::npos) { in MatchNamedComponents()1936 base_location = component.substr(0u, slash_pos + 1u) + base_name; in MatchNamedComponents()1940 if (slash_pos == std::string::npos) { in MatchNamedComponents()2163 size_t slash_pos = bcp_component.rfind('/'); in CompileExtension() local[all …]
134 size_t slash_pos = dex_file.rfind('/'); in CopyDexFiles() local136 CHECK_NE(std::string::npos, slash_pos); in CopyDexFiles()137 std::string new_location = dir + dex_file.substr(slash_pos + 1u); in CopyDexFiles()