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

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

Completed in 137 milliseconds