Searched refs:image_filename (Results 1 – 8 of 8) sorted by relevance
/art/odrefresh/ |
D | odr_artifacts_test.cc | 34 const std::string image_filename = in TEST() local 37 const auto artifacts = OdrArtifacts::ForBootImageExtension(image_filename); in TEST() 52 const std::string image_filename = in TEST() local 54 const auto artifacts = OdrArtifacts::ForSystemServer(image_filename); in TEST()
|
/art/dex2oat/linker/ |
D | image_test.h | 184 std::string image_filename(GetSystemImageFilename(file.GetFilename().c_str(), kRuntimeISA)); in DoCompile() 185 image_filenames.push_back(image_filename); in DoCompile() 186 size_t pos = image_filename.rfind('/'); in DoCompile() 187 CHECK_NE(pos, std::string::npos) << image_filename; in DoCompile() 189 out_helper.image_dir = image_filename.substr(0, pos); in DoCompile() 193 out_helper.image_files.push_back(ScratchFile(OS::CreateEmptyFile(image_filename.c_str()))); in DoCompile() 198 for (const std::string& image_filename : image_filenames) { in DoCompile() local 199 std::string oat_filename = ReplaceFileExtension(image_filename, "oat"); in DoCompile() 202 std::string vdex_filename = ReplaceFileExtension(image_filename, "vdex"); in DoCompile()
|
D | image_writer.cc | 363 bool WriteHeaderAndClose(const std::string& image_filename, const ImageHeader* image_header) { in WriteHeaderAndClose() argument 366 PLOG(ERROR) << "Failed to write image file header " << image_filename; in WriteHeaderAndClose() 374 PLOG(ERROR) << "Failed to flush and close image file " << image_filename; in WriteHeaderAndClose() 426 const std::string& image_filename = image_filenames[i]; in Write() local 438 image_file.reset(OS::CreateEmptyFile(image_filename.c_str())); in Write() 442 LOG(ERROR) << "Failed to open image file " << image_filename; in Write() 448 PLOG(ERROR) << "Failed to make image file world readable: " << image_filename; in Write() 502 PLOG(ERROR) << "Failed to write image file data " << image_filename; in Write() 519 PLOG(ERROR) << "Failed to write image blocks " << image_filename; in Write() 541 PLOG(ERROR) << "Failed to write image file bitmap " << image_filename; in Write() [all …]
|
/art/runtime/gc/space/ |
D | image_space.cc | 78 ImageSpace::ImageSpace(const std::string& image_filename, in ImageSpace() argument 84 : MemMapSpace(image_filename, in ImageSpace() 493 static std::unique_ptr<ImageSpace> InitAppImage(const char* image_filename, in InitAppImage() argument 501 std::unique_ptr<ImageSpace> space = Init(image_filename, in InitAppImage() 517 image_filename); in InitAppImage() 521 if (!ValidateBootImageChecksum(image_filename, in InitAppImage() 590 static std::unique_ptr<ImageSpace> Init(const char* image_filename, in Init() argument 596 CHECK(image_filename != nullptr); in Init() 602 file.reset(OS::OpenFileForReading(image_filename)); in Init() 604 *error_msg = StringPrintf("Failed to open '%s'", image_filename); in Init() [all …]
|
D | image_space.h | 288 static std::unique_ptr<ImageSpace> Init(const char* image_filename,
|
/art/libartbase/base/ |
D | file_utils_test.cc | 238 const std::string image_filename = GetSystemImageFilename(image.c_str(), isa); in TEST_F() local 239 const std::string accompanying_odex_file = ReplaceFileExtension(image_filename, "odex"); in TEST_F()
|
/art/oatdump/ |
D | oatdump.cc | 1779 std::string image_filename = image_space_.GetImageFilename(); in Dump() local 1780 std::string oat_location = ImageHeader::GetOatLocationFromImageLocation(image_filename); in Dump() 1852 std::unique_ptr<File> file(OS::OpenFileForReading(image_filename.c_str())); in Dump() 1855 LOG(WARNING) << "Failed to find image in " << image_filename; in Dump()
|
/art/dex2oat/ |
D | dex2oat.cc | 2860 std::string StripIsaFrom(const char* image_filename, InstructionSet isa) { in StripIsaFrom() argument 2861 std::string res(image_filename); in StripIsaFrom()
|