Home
last modified time | relevance | path

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

/art/libartbase/base/
Dlogging.cc73 const char* last_slash = strrchr(argv[0], '/'); in InitLogging() local
74 gProgramInvocationShortName.reset(new std::string((last_slash != nullptr) ? last_slash + 1 in InitLogging()
/art/compiler/utils/
Dassembler_test_base.h455 size_t last_slash = file.find_last_of('/'); in FileExists() local
456 if (last_slash == std::string::npos) { in FileExists()
458 last_slash = 0; in FileExists()
460 size_t space_index = file.find(' ', last_slash); in FileExists()
/art/dexlayout/
Ddexlayout.cc81 size_t last_slash = descriptor.rfind('/'); in DescriptorClassToName() local
82 if (last_slash == std::string::npos) { in DescriptorClassToName()
83 last_slash = 0; in DescriptorClassToName()
86 last_slash++; in DescriptorClassToName()
89 size_t size = descriptor.size() - 1 - last_slash; in DescriptorClassToName()
90 std::string result(descriptor.substr(last_slash, size)); in DescriptorClassToName()
1380 char* last_slash = strrchr(mangle, '/'); in DumpClass() local
1381 if (last_slash != nullptr) { in DumpClass()
1382 *last_slash = '\0'; in DumpClass()
1828 const size_t last_slash = dex_file_location.rfind('/'); in OutputDexFile() local
[all …]
/art/dex2oat/
Ddex2oat.cc1777 size_t last_slash = dex_file->GetLocation().rfind('/'); in Compile() local
1778 if (last_slash != std::string::npos) { in Compile()
1779 dex_location = dex_location.substr(last_slash + 1); in Compile()
2707 size_t last_slash = res.rfind('/'); in StripIsaFrom() local
2708 if (last_slash == std::string::npos || last_slash == 0) { in StripIsaFrom()
2711 size_t penultimate_slash = res.rfind('/', last_slash - 1); in StripIsaFrom()
2716 if (res.substr(penultimate_slash + 1, last_slash - penultimate_slash - 1) != in StripIsaFrom()
2721 return res.substr(0, penultimate_slash) + res.substr(last_slash); in StripIsaFrom()
/art/runtime/
Doat_file_manager.cc817 auto last_slash = vdex_path_to_add.rfind('/'); in UnlinkLeastRecentlyUsedVdexIfNeeded() local
818 CHECK(last_slash != std::string::npos); in UnlinkLeastRecentlyUsedVdexIfNeeded()
819 std::string vdex_dir = vdex_path_to_add.substr(0, last_slash + 1); in UnlinkLeastRecentlyUsedVdexIfNeeded()
/art/runtime/gc/space/
Dimage_space.cc2328 size_t last_slash = image_location.rfind('/'); in ExpandMultiImageLocations() local
2329 CHECK_NE(last_slash, std::string::npos); in ExpandMultiImageLocations()
2333 if (image_location.find('@', last_slash) != std::string::npos) { in ExpandMultiImageLocations()
2334 last_slash = image_location.rfind('@'); in ExpandMultiImageLocations()
2342 if (last_dot != std::string::npos && last_dot > last_slash) { in ExpandMultiImageLocations()
2347 if (last_slash + 1u != base.size()) { in ExpandMultiImageLocations()