Searched refs:image_filename (Results 1 – 9 of 9) sorted by relevance
/art/odrefresh/ |
D | odr_artifacts_test.cc | 36 const std::string image_filename = in TEST() local 39 const auto artifacts = OdrArtifacts::ForBootImage(image_filename); in TEST() 55 const std::string image_filename = in TEST() local 57 const auto artifacts = OdrArtifacts::ForSystemServer(image_filename); in TEST()
|
/art/dex2oat/linker/ |
D | image_test.h | 191 std::string image_filename(GetSystemImageFilename(file.GetFilename().c_str(), kRuntimeISA)); in DoCompile() 192 image_filenames.push_back(image_filename); in DoCompile() 193 size_t pos = image_filename.rfind('/'); in DoCompile() 194 CHECK_NE(pos, std::string::npos) << image_filename; in DoCompile() 196 out_helper.image_dir = image_filename.substr(0, pos); in DoCompile() 200 out_helper.image_files.push_back(ScratchFile(OS::CreateEmptyFile(image_filename.c_str()))); in DoCompile() 205 for (const std::string& image_filename : image_filenames) { in DoCompile() local 206 std::string oat_filename = ReplaceFileExtension(image_filename, "oat"); in DoCompile() 209 std::string vdex_filename = ReplaceFileExtension(image_filename, "vdex"); in DoCompile()
|
D | image_writer.cc | 598 const std::string& image_filename = image_filenames[i]; in Write() local 610 image_file.reset(OS::CreateEmptyFile(image_filename.c_str())); in Write() 614 LOG(ERROR) << "Failed to open image file " << image_filename; in Write() 620 PLOG(ERROR) << "Failed to make image file world readable: " << image_filename; in Write() 644 if (!image_file.WriteHeaderAndClose(image_filename, image_header, &error_msg)) { in Write()
|
/art/runtime/gc/space/ |
D | image_space.cc | 88 ImageSpace::ImageSpace(const std::string& image_filename, in ImageSpace() argument 94 : MemMapSpace(image_filename, in ImageSpace() 559 static std::unique_ptr<ImageSpace> InitAppImage(const char* image_filename, in InitAppImage() argument 567 std::unique_ptr<ImageSpace> space = Init(image_filename, in InitAppImage() 584 image_filename); in InitAppImage() 588 if (!ValidateBootImageChecksum(image_filename, in InitAppImage() 658 static std::unique_ptr<ImageSpace> Init(const char* image_filename, in Init() argument 664 CHECK(image_filename != nullptr); in Init() 670 file.reset(OS::OpenFileForReading(image_filename)); in Init() 672 *error_msg = StringPrintf("Failed to open '%s'", image_filename); in Init() [all …]
|
D | image_space.h | 481 static std::unique_ptr<ImageSpace> Init(const char* image_filename,
|
/art/runtime/oat/ |
D | image.h | 561 bool WriteHeaderAndClose(const std::string& image_filename, in WriteHeaderAndClose() argument 567 + image_filename + ": " + std::string(strerror(errno)); in WriteHeaderAndClose() 576 + 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 | 1872 std::string image_filename = image_space_.GetImageFilename(); in Dump() local 1873 std::string oat_location = ImageHeader::GetOatLocationFromImageLocation(image_filename); in Dump() 1945 std::unique_ptr<File> file(OS::OpenFileForReading(image_filename.c_str())); in Dump() 1948 LOG(WARNING) << "Failed to find image in " << image_filename; in Dump()
|
/art/dex2oat/ |
D | dex2oat.cc | 2872 std::string StripIsaFrom(const char* image_filename, InstructionSet isa) { in StripIsaFrom() argument 2873 std::string res(image_filename); in StripIsaFrom()
|