Searched refs:image_filename (Results 1 – 9 of 9) sorted by relevance
/art/odrefresh/ |
D | odr_artifacts_test.cc | 37 const std::string image_filename = in TEST() local 40 const auto artifacts = OdrArtifacts::ForBootImage(image_filename); in TEST() 56 const std::string image_filename = in TEST() local 58 const auto artifacts = OdrArtifacts::ForSystemServer(image_filename); in TEST()
|
/art/dex2oat/linker/ |
D | image_test.h | 180 std::string image_filename(GetSystemImageFilename(file.GetFilename().c_str(), kRuntimeISA)); in DoCompile() 181 image_filenames.push_back(image_filename); in DoCompile() 182 size_t pos = image_filename.rfind('/'); in DoCompile() 183 CHECK_NE(pos, std::string::npos) << image_filename; in DoCompile() 185 out_helper.image_dir = image_filename.substr(0, pos); in DoCompile() 189 out_helper.image_files.push_back(ScratchFile(OS::CreateEmptyFile(image_filename.c_str()))); in DoCompile() 194 for (const std::string& image_filename : image_filenames) { in DoCompile() local 195 std::string oat_filename = ReplaceFileExtension(image_filename, "oat"); in DoCompile() 198 std::string vdex_filename = ReplaceFileExtension(image_filename, "vdex"); in DoCompile()
|
D | image_writer.cc | 374 const std::string& image_filename = image_filenames[i]; in Write() local 386 image_file.reset(OS::CreateEmptyFile(image_filename.c_str())); in Write() 390 LOG(ERROR) << "Failed to open image file " << image_filename; in Write() 396 PLOG(ERROR) << "Failed to make image file world readable: " << image_filename; in Write() 420 if (!image_file.WriteHeaderAndClose(image_filename, image_header, &error_msg)) { in Write()
|
/art/runtime/gc/space/ |
D | image_space.cc | 91 ImageSpace::ImageSpace(const std::string& image_filename, in ImageSpace() argument 97 : MemMapSpace(image_filename, in ImageSpace() 562 static std::unique_ptr<ImageSpace> InitAppImage(const char* image_filename, in InitAppImage() argument 570 std::unique_ptr<ImageSpace> space = Init(image_filename, in InitAppImage() 587 image_filename); in InitAppImage() 591 if (!ValidateBootImageChecksum(image_filename, in InitAppImage() 660 static std::unique_ptr<ImageSpace> Init(const char* image_filename, in Init() argument 666 CHECK(image_filename != nullptr); in Init() 672 file.reset(OS::OpenFileForReading(image_filename)); in Init() 674 *error_msg = StringPrintf("Failed to open '%s'", image_filename); in Init() [all …]
|
D | image_space.h | 489 static std::unique_ptr<ImageSpace> Init(const char* image_filename,
|
/art/runtime/ |
D | image.h | 556 bool WriteHeaderAndClose(const std::string& image_filename, in WriteHeaderAndClose() argument 562 + image_filename + ": " + std::string(strerror(errno)); in WriteHeaderAndClose() 571 + image_filename + ": " + std::string(strerror(errno)); in WriteHeaderAndClose()
|
/art/libartbase/base/ |
D | file_utils_test.cc | 266 const std::string image_filename = GetSystemImageFilename(image.c_str(), isa); in TEST_F() local 267 const std::string accompanying_odex_file = ReplaceFileExtension(image_filename, "odex"); in TEST_F()
|
/art/oatdump/ |
D | oatdump.cc | 1841 std::string image_filename = image_space_.GetImageFilename(); in Dump() local 1842 std::string oat_location = ImageHeader::GetOatLocationFromImageLocation(image_filename); in Dump() 1914 std::unique_ptr<File> file(OS::OpenFileForReading(image_filename.c_str())); in Dump() 1917 LOG(WARNING) << "Failed to find image in " << image_filename; in Dump()
|
/art/dex2oat/ |
D | dex2oat.cc | 2905 std::string StripIsaFrom(const char* image_filename, InstructionSet isa) { in StripIsaFrom() argument 2906 std::string res(image_filename); in StripIsaFrom()
|