Searched refs:last_slash (Results 1 – 5 of 5) sorted by relevance
74 const char* last_slash = strrchr(argv[0], '/'); in InitLogging() local75 gProgramInvocationShortName.reset(new std::string((last_slash != nullptr) ? last_slash + 1 in InitLogging()
455 size_t last_slash = file.find_last_of('/'); in FileExists() local456 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()
82 size_t last_slash = descriptor.rfind('/'); in DescriptorClassToName() local83 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()1381 char* last_slash = strrchr(mangle, '/'); in DumpClass() local1382 if (last_slash != nullptr) { in DumpClass()1383 *last_slash = '\0'; in DumpClass()1829 const size_t last_slash = dex_file_location.rfind('/'); in OutputDexFile() local[all …]
2053 size_t last_slash = dex_file->GetLocation().rfind('/'); in Compile() local2054 if (last_slash != std::string::npos) { in Compile()2055 dex_location = dex_location.substr(last_slash + 1); in Compile()2971 size_t last_slash = res.rfind('/'); in StripIsaFrom() local2972 if (last_slash == std::string::npos || last_slash == 0) { in StripIsaFrom()2975 size_t penultimate_slash = res.rfind('/', last_slash - 1); in StripIsaFrom()2980 if (res.substr(penultimate_slash + 1, last_slash - penultimate_slash - 1) != in StripIsaFrom()2985 return res.substr(0, penultimate_slash) + res.substr(last_slash); in StripIsaFrom()
857 auto last_slash = vdex_path_to_add.rfind('/'); in UnlinkLeastRecentlyUsedVdexIfNeeded() local858 CHECK(last_slash != std::string::npos); in UnlinkLeastRecentlyUsedVdexIfNeeded()859 std::string vdex_dir = vdex_path_to_add.substr(0, last_slash + 1); in UnlinkLeastRecentlyUsedVdexIfNeeded()