Home
last modified time | relevance | path

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

/art/libartbase/base/
Dfile_utils_test.cc125 TEST_F(FileUtilsTest, ReplaceFileExtension) { in TEST_F() argument
126 EXPECT_EQ("/directory/file.vdex", ReplaceFileExtension("/directory/file.oat", "vdex")); in TEST_F()
127 EXPECT_EQ("/.directory/file.vdex", ReplaceFileExtension("/.directory/file.oat", "vdex")); in TEST_F()
128 EXPECT_EQ("/directory/file.vdex", ReplaceFileExtension("/directory/file", "vdex")); in TEST_F()
129 EXPECT_EQ("/.directory/file.vdex", ReplaceFileExtension("/.directory/file", "vdex")); in TEST_F()
Dfile_utils.h81 std::string ReplaceFileExtension(const std::string& filename, const std::string& new_extension);
Dfile_utils.cc283 return ReplaceFileExtension(oat_location, "vdex"); in GetVdexFilename()
303 std::string ReplaceFileExtension(const std::string& filename, const std::string& new_extension) { in ReplaceFileExtension() function
/art/dex2oat/linker/
Dimage_test.h199 std::string oat_filename = ReplaceFileExtension(image_filename, "oat"); in DoCompile()
202 std::string vdex_filename = ReplaceFileExtension(image_filename, "vdex"); in DoCompile()
/art/runtime/
Doat_file_assistant.cc721 std::string art_file = ReplaceFileExtension(oat_file->GetLocation(), "art"); in OpenImageSpace()
/art/dex2oat/
Ddex2oat.cc1284 ? ReplaceFileExtension(oat_filename, "vdex") in OpenFile()
1341 std::string vdex_location = ReplaceFileExtension(oat_location_, "vdex"); in OpenFile()