Home
last modified time | relevance | path

Searched refs:image_filename (Results 1 – 7 of 7) sorted by relevance

/art/runtime/gc/space/
Dimage_space.cc46 ImageSpace::ImageSpace(const std::string& image_filename, const char* image_location, in ImageSpace() argument
49 : MemMapSpace(image_filename, mem_map, mem_map->Begin(), end, end, in ImageSpace()
175 static bool GenerateImage(const std::string& image_filename, InstructionSet image_isa, in GenerateImage() argument
196 image_option_string += image_filename; in GenerateImage()
204 oat_file_option_string += ImageHeader::GetOatLocationFromImageLocation(image_filename); in GenerateImage()
495 const std::string* image_filename; in Create() local
508 image_filename = &cache_filename; in Create()
530 image_filename = &cache_filename; in Create()
546 image_filename = &cache_filename; in Create()
552 image_filename = &cache_filename; in Create()
[all …]
Dimage_space.h131 static ImageSpace* Init(const char* image_filename, const char* image_location,
/art/compiler/
Dimage_test.cc52 std::string image_filename(GetSystemImageFilename(image_location.GetFilename().c_str(), in TEST_F() local
54 size_t pos = image_filename.rfind('/'); in TEST_F()
55 CHECK_NE(pos, std::string::npos) << image_filename; in TEST_F()
56 std::string image_dir(image_filename, 0, pos); in TEST_F()
59 ScratchFile image_file(OS::CreateEmptyFile(image_filename.c_str())); in TEST_F()
61 std::string oat_filename(image_filename, 0, image_filename.size() - 3); in TEST_F()
Dimage_writer.cc131 bool ImageWriter::Write(const std::string& image_filename, in Write() argument
134 CHECK(!image_filename.empty()); in Write()
189 std::unique_ptr<File> image_file(OS::CreateEmptyFile(image_filename.c_str())); in Write()
192 LOG(ERROR) << "Failed to open image file " << image_filename; in Write()
196 PLOG(ERROR) << "Failed to make image file world readable: " << image_filename; in Write()
204 PLOG(ERROR) << "Failed to write image file " << image_filename; in Write()
214 PLOG(ERROR) << "Failed to write image file " << image_filename; in Write()
221 PLOG(ERROR) << "Failed to flush and close image file " << image_filename; in Write()
Dimage_writer.h89 bool Write(const std::string& image_filename, const std::string& oat_filename,
/art/patchoat/
Dpatchoat.cc106 std::string image_filename; in Patch() local
107 if (!LocationToFilename(image_location, isa, &image_filename)) { in Patch()
111 std::unique_ptr<File> input_image(OS::OpenFileForReading(image_filename.c_str())); in Patch()
113 LOG(ERROR) << "unable to open input image file at " << image_filename in Patch()
203 std::string image_filename; in Patch() local
204 if (!LocationToFilename(image_location, isa, &image_filename)) { in Patch()
208 std::unique_ptr<File> input_image(OS::OpenFileForReading(image_filename.c_str())); in Patch()
210 LOG(ERROR) << "unable to open input image file at " << image_filename in Patch()
/art/oatdump/
Doatdump.cc1455 std::string image_filename = image_space_.GetImageFilename(); in Dump() local
1456 std::string oat_location = ImageHeader::GetOatLocationFromImageLocation(image_filename); in Dump()
1549 std::unique_ptr<File> file(OS::OpenFileForReading(image_filename.c_str())); in Dump()
1551 LOG(WARNING) << "Failed to find image in " << image_filename; in Dump()