Searched refs:last_slash (Results 1 – 6 of 6) 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()
474 size_t last_slash = filename.rfind('/'); in Stem() local475 if (last_slash != std::string::npos) { in Stem()476 filename = filename.substr(last_slash + 1); in Stem()
3718 size_t last_slash = image_location.rfind('/'); in ExpandMultiImageLocations() local3719 CHECK_NE(last_slash, std::string::npos); in ExpandMultiImageLocations()3723 if (image_location.find('@', last_slash) != std::string::npos) { in ExpandMultiImageLocations()3724 last_slash = image_location.rfind('@'); in ExpandMultiImageLocations()3732 if (last_dot != std::string::npos && last_dot > last_slash) { in ExpandMultiImageLocations()3737 if (last_slash + 1u != base.size()) { in ExpandMultiImageLocations()
84 size_t last_slash = descriptor.rfind('/'); in DescriptorClassToName() local85 if (last_slash == std::string::npos) { in DescriptorClassToName()86 last_slash = 0; in DescriptorClassToName()89 last_slash++; in DescriptorClassToName()92 size_t size = descriptor.size() - 1 - last_slash; in DescriptorClassToName()93 std::string result(descriptor.substr(last_slash, size)); in DescriptorClassToName()1456 char* last_slash = strrchr(mangle, '/'); in DumpClass() local1457 if (last_slash != nullptr) { in DumpClass()1458 *last_slash = '\0'; in DumpClass()2134 const size_t last_slash = dex_file_location.rfind('/'); in OutputDexFile() local[all …]
621 auto last_slash = vdex_path_to_add.rfind('/'); in UnlinkLeastRecentlyUsedVdexIfNeeded() local622 CHECK(last_slash != std::string::npos); in UnlinkLeastRecentlyUsedVdexIfNeeded()623 std::string vdex_dir = vdex_path_to_add.substr(0, last_slash + 1); in UnlinkLeastRecentlyUsedVdexIfNeeded()
1903 size_t last_slash = dex_file->GetLocation().rfind('/'); in Compile() local1904 if (last_slash != std::string::npos) { in Compile()1905 dex_location = dex_location.substr(last_slash + 1); in Compile()2907 size_t last_slash = res.rfind('/'); in StripIsaFrom() local2908 if (last_slash == std::string::npos || last_slash == 0) { in StripIsaFrom()2911 size_t penultimate_slash = res.rfind('/', last_slash - 1); in StripIsaFrom()2916 if (res.substr(penultimate_slash + 1, last_slash - penultimate_slash - 1) != in StripIsaFrom()2921 return res.substr(0, penultimate_slash) + res.substr(last_slash); in StripIsaFrom()