Home
last modified time | relevance | path

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

/art/dex2oat/
Ddex2oat.cc297 bool CreateImageFile(const std::string& image_filename, in CreateImageFile() argument
307 if (!image_writer.Write(image_filename, image_base, oat_filename, oat_location)) { in CreateImageFile()
308 LOG(ERROR) << "Failed to create image file " << image_filename; in CreateImageFile()
590 std::string image_filename; in dex2oat() local
658 image_filename = option.substr(strlen("--image=")).data(); in dex2oat()
725 if (oat_fd != -1 && !image_filename.empty()) { in dex2oat()
744 bool image = (!image_filename.empty()); in dex2oat()
1025 bool image_creation_success = dex2oat->CreateImageFile(image_filename, in dex2oat()
1033 VLOG(compiler) << "Image written successfully: " << image_filename; in dex2oat()
/art/compiler/
Dimage_writer.cc67 bool ImageWriter::Write(const std::string& image_filename, in Write() argument
71 CHECK(!image_filename.empty()); in Write()
144 UniquePtr<File> image_file(OS::CreateEmptyFile(image_filename.c_str())); in Write()
147 LOG(ERROR) << "Failed to open image file " << image_filename; in Write()
151 PLOG(ERROR) << "Failed to make image file world readable: " << image_filename; in Write()
158 PLOG(ERROR) << "Failed to write image file " << image_filename; in Write()
167 PLOG(ERROR) << "Failed to write image file " << image_filename; in Write()
Dimage_writer.h48 bool Write(const std::string& image_filename,
/art/oatdump/
Doatdump.cc665 explicit ImageDumper(std::ostream* os, const std::string& image_filename, in ImageDumper() argument
668 : os_(os), image_filename_(image_filename), host_prefix_(host_prefix), in ImageDumper()
1364 const char* image_filename = NULL; in oatdump() local
1376 image_filename = option.substr(strlen("--image=")).data(); in oatdump()
1395 if (image_filename == NULL && oat_filename == NULL) { in oatdump()
1400 if (image_filename != NULL && oat_filename != NULL) { in oatdump()
1440 if (image_filename != NULL) { in oatdump()
1442 image_option += image_filename; in oatdump()
1465 fprintf(stderr, "Invalid image header %s\n", image_filename); in oatdump()
1468 ImageDumper image_dumper(os, image_filename, *host_prefix.get(), *image_space, image_header); in oatdump()