Home
last modified time | relevance | path

Searched refs:last_slash (Results 1 – 5 of 5) sorted by relevance

/art/libartbase/base/
Dlogging.cc74 const char* last_slash = strrchr(argv[0], '/'); in InitLogging() local
75 gProgramInvocationShortName.reset(new std::string((last_slash != nullptr) ? last_slash + 1 in InitLogging()
/art/dexlayout/
Ddexlayout.cc82 size_t last_slash = descriptor.rfind('/'); in DescriptorClassToName() local
83 if (last_slash == std::string::npos) { in DescriptorClassToName()
84 last_slash = 0; in DescriptorClassToName()
87 last_slash++; in DescriptorClassToName()
90 size_t size = descriptor.size() - 1 - last_slash; in DescriptorClassToName()
91 std::string result(descriptor.substr(last_slash, size)); in DescriptorClassToName()
1384 char* last_slash = strrchr(mangle, '/'); in DumpClass() local
1385 if (last_slash != nullptr) { in DumpClass()
1386 *last_slash = '\0'; in DumpClass()
1832 const size_t last_slash = dex_file_location.rfind('/'); in OutputDexFile() local
[all …]
/art/runtime/
Doat_file_manager.cc561 auto last_slash = vdex_path_to_add.rfind('/'); in UnlinkLeastRecentlyUsedVdexIfNeeded() local
562 CHECK(last_slash != std::string::npos); in UnlinkLeastRecentlyUsedVdexIfNeeded()
563 std::string vdex_dir = vdex_path_to_add.substr(0, last_slash + 1); in UnlinkLeastRecentlyUsedVdexIfNeeded()
/art/dex2oat/
Ddex2oat.cc1874 size_t last_slash = dex_file->GetLocation().rfind('/'); in Compile() local
1875 if (last_slash != std::string::npos) { in Compile()
1876 dex_location = dex_location.substr(last_slash + 1); in Compile()
2862 size_t last_slash = res.rfind('/'); in StripIsaFrom() local
2863 if (last_slash == std::string::npos || last_slash == 0) { in StripIsaFrom()
2866 size_t penultimate_slash = res.rfind('/', last_slash - 1); in StripIsaFrom()
2871 if (res.substr(penultimate_slash + 1, last_slash - penultimate_slash - 1) != in StripIsaFrom()
2876 return res.substr(0, penultimate_slash) + res.substr(last_slash); in StripIsaFrom()
/art/runtime/gc/space/
Dimage_space.cc3619 size_t last_slash = image_location.rfind('/'); in ExpandMultiImageLocations() local
3620 CHECK_NE(last_slash, std::string::npos); in ExpandMultiImageLocations()
3624 if (image_location.find('@', last_slash) != std::string::npos) { in ExpandMultiImageLocations()
3625 last_slash = image_location.rfind('@'); in ExpandMultiImageLocations()
3633 if (last_dot != std::string::npos && last_dot > last_slash) { in ExpandMultiImageLocations()
3638 if (last_slash + 1u != base.size()) { in ExpandMultiImageLocations()