Home
last modified time | relevance | path

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

/art/runtime/gc/space/
Dimage_space_test.cc45 size_t slash_pos = full_path.rfind('/'); in GetFilenameBase() local
46 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()
Dimage_space.cc1801 size_t slash_pos = boot_class_path_.empty() in GetPrimaryImageLocation() local
1804 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() local
1925 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 …]
/art/dex2oat/
Ddex2oat_image_test.cc134 size_t slash_pos = dex_file.rfind('/'); in CopyDexFiles() local
136 CHECK_NE(std::string::npos, slash_pos); in CopyDexFiles()
137 std::string new_location = dir + dex_file.substr(slash_pos + 1u); in CopyDexFiles()