Home
last modified time | relevance | path

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

/art/dex2oat/linker/
Dimage_test.h184 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()
Dimage_writer.cc381 bool WriteHeaderAndClose(const std::string& image_filename, const ImageHeader* image_header) { in WriteHeaderAndClose() argument
384 PLOG(ERROR) << "Failed to write image file header " << image_filename; in WriteHeaderAndClose()
392 PLOG(ERROR) << "Failed to flush and close image file " << image_filename; in WriteHeaderAndClose()
444 const std::string& image_filename = image_filenames[i]; in Write() local
456 image_file.reset(OS::CreateEmptyFile(image_filename.c_str())); in Write()
460 LOG(ERROR) << "Failed to open image file " << image_filename; in Write()
466 PLOG(ERROR) << "Failed to make image file world readable: " << image_filename; in Write()
520 PLOG(ERROR) << "Failed to write image file data " << image_filename; in Write()
537 PLOG(ERROR) << "Failed to write image blocks " << image_filename; in Write()
559 PLOG(ERROR) << "Failed to write image file bitmap " << image_filename; in Write()
[all …]
/art/runtime/gc/space/
Dimage_space.cc79 ImageSpace::ImageSpace(const std::string& image_filename, in ImageSpace() argument
85 : MemMapSpace(image_filename, in ImageSpace()
119 static bool GenerateImage(const std::string& image_filename, in GenerateImage() argument
148 image_option_string += image_filename; in GenerateImage()
167 oat_file_option_string += ImageHeader::GetOatLocationFromImageLocation(image_filename); in GenerateImage()
729 static std::unique_ptr<ImageSpace> InitAppImage(const char* image_filename, in InitAppImage() argument
737 std::unique_ptr<ImageSpace> space = Init(image_filename, in InitAppImage()
753 image_filename); in InitAppImage()
757 if (!ValidateBootImageChecksum(image_filename, in InitAppImage()
826 static std::unique_ptr<ImageSpace> Init(const char* image_filename, in Init() argument
[all …]
Dimage_space.h290 static std::unique_ptr<ImageSpace> Init(const char* image_filename,
/art/oatdump/
Doatdump.cc1884 std::string image_filename = image_space_.GetImageFilename(); in Dump() local
1885 std::string oat_location = ImageHeader::GetOatLocationFromImageLocation(image_filename); in Dump()
1968 std::unique_ptr<File> file(OS::OpenFileForReading(image_filename.c_str())); in Dump()
1971 LOG(WARNING) << "Failed to find image in " << image_filename; in Dump()
/art/dex2oat/
Ddex2oat.cc2973 std::string StripIsaFrom(const char* image_filename, InstructionSet isa) { in StripIsaFrom() argument
2974 std::string res(image_filename); in StripIsaFrom()