Home
last modified time | relevance | path

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

/art/runtime/base/
Dlogging.cc124 const char* last_slash = strrchr(argv[0], '/'); in InitLogging() local
125 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.cc93 size_t last_slash = descriptor.rfind('/'); in DescriptorClassToDot() local
94 if (last_slash == std::string::npos) { in DescriptorClassToDot()
95 last_slash = 0; in DescriptorClassToDot()
98 last_slash++; in DescriptorClassToDot()
101 size_t size = descriptor.size() - 1 - last_slash; in DescriptorClassToDot()
102 std::string result(descriptor.substr(last_slash, size)); in DescriptorClassToDot()
1315 char* last_slash = strrchr(mangle, '/'); in DumpClass() local
1316 if (last_slash != nullptr) { in DumpClass()
1317 *last_slash = '\0'; in DumpClass()
1893 size_t last_slash = dex_file_location.rfind('/'); in OutputDexFile() local
[all …]
/art/dex2oat/
Ddex2oat.cc1834 size_t last_slash = dex_file->GetLocation().rfind('/'); in Compile() local
1835 if (last_slash != std::string::npos) { in Compile()
1836 dex_location = dex_location.substr(last_slash + 1); in Compile()
2823 size_t last_slash = res.rfind('/'); in StripIsaFrom() local
2824 if (last_slash == std::string::npos || last_slash == 0) { in StripIsaFrom()
2827 size_t penultimate_slash = res.rfind('/', last_slash - 1); in StripIsaFrom()
2832 if (res.substr(penultimate_slash + 1, last_slash - penultimate_slash - 1) != in StripIsaFrom()
2837 return res.substr(0, penultimate_slash) + res.substr(last_slash); in StripIsaFrom()