Searched refs:ReplaceFileExtension (Results 1 – 10 of 10) sorted by relevance
/art/libartbase/base/ |
D | file_utils_test.cc | 156 TEST_F(FileUtilsTest, ReplaceFileExtension) { in TEST_F() argument 157 EXPECT_EQ("/directory/file.vdex", ReplaceFileExtension("/directory/file.oat", "vdex")); in TEST_F() 158 EXPECT_EQ("/.directory/file.vdex", ReplaceFileExtension("/.directory/file.oat", "vdex")); in TEST_F() 159 EXPECT_EQ("/directory/file.vdex", ReplaceFileExtension("/directory/file", "vdex")); in TEST_F() 160 EXPECT_EQ("/.directory/file.vdex", ReplaceFileExtension("/.directory/file", "vdex")); in TEST_F() 219 const std::string accompanying_oat_file = ReplaceFileExtension(boot_image_filename, "oat"); in TEST_F() 239 const std::string accompanying_odex_file = ReplaceFileExtension(image_filename, "odex"); in TEST_F() 260 CHECK_EQ(odex_filename, ReplaceFileExtension(art_filename, "odex")); in TEST_F() 263 CHECK_EQ(vdex_filename, ReplaceFileExtension(art_filename, "vdex")); in TEST_F()
|
D | file_utils.cc | 448 return ReplaceFileExtension(result, file_extension); in GetApexDataDalvikCacheFilename() 453 return apex_data_dalvik_cache + "/boot-" + ReplaceFileExtension(basename, file_extension); in GetApexDataDalvikCacheFilename() 487 return ReplaceFileExtension(oat_location, "vdex"); in GetVdexFilename() 507 std::string ReplaceFileExtension(std::string_view filename, std::string_view new_extension) { in ReplaceFileExtension() function
|
D | file_utils.h | 127 std::string ReplaceFileExtension(std::string_view filename, std::string_view new_extension);
|
/art/odrefresh/ |
D | odr_artifacts.h | 46 oat_path_{ReplaceFileExtension(image_path, aot_extension)}, 47 vdex_path_{ReplaceFileExtension(image_path, "vdex")} {}
|
D | odrefresh.cc | 979 const std::string image_name = ReplaceFileExtension(jar_name, "art"); in GetBootImageExtensionImage() 996 const std::string image_name = ReplaceFileExtension(jar_name, "art"); in GetSystemServerImagePath()
|
/art/dex2oat/linker/ |
D | image_test.h | 199 std::string oat_filename = ReplaceFileExtension(image_filename, "oat"); in DoCompile() 202 std::string vdex_filename = ReplaceFileExtension(image_filename, "vdex"); in DoCompile()
|
/art/dexoptanalyzer/ |
D | dexoptanalyzer.cc | 409 const std::string oat_path = ReplaceFileExtension(image_space->GetImageFilename(), "oat"); in ValidateBcp()
|
/art/runtime/ |
D | oat_file_assistant.cc | 731 std::string art_file = ReplaceFileExtension(oat_file->GetLocation(), "art"); in OpenImageSpace()
|
/art/dex2oat/ |
D | dex2oat.cc | 1215 ? ReplaceFileExtension(oat_filename, "vdex") in OpenFile() 1272 std::string vdex_location = ReplaceFileExtension(oat_location_, "vdex"); in OpenFile()
|
/art/runtime/jit/ |
D | jit.cc | 836 return ReplaceFileExtension(profile, "bprof"); in GetBootProfileFile()
|