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.cc679 bool WriteHeaderAndClose(const std::string& image_filename, const ImageHeader* image_header) { in WriteHeaderAndClose() argument
682 PLOG(ERROR) << "Failed to write image file header " << image_filename; in WriteHeaderAndClose()
690 PLOG(ERROR) << "Failed to flush and close image file " << image_filename; in WriteHeaderAndClose()
742 const std::string& image_filename = image_filenames[i]; in Write() local
746 if (image_filename.empty()) { in Write()
754 LOG(ERROR) << "image fd " << image_fd << " name " << image_filename; in Write()
757 image_file.reset(OS::CreateEmptyFile(image_filename.c_str())); in Write()
761 LOG(ERROR) << "Failed to open image file " << image_filename; in Write()
766 PLOG(ERROR) << "Failed to make image file world readable: " << image_filename; in Write()
820 PLOG(ERROR) << "Failed to write image file data " << image_filename; in Write()
[all …]
/art/runtime/gc/space/
Dimage_space.cc69 ImageSpace::ImageSpace(const std::string& image_filename, in ImageSpace() argument
74 : MemMapSpace(image_filename, in ImageSpace()
107 static bool GenerateImage(const std::string& image_filename, in GenerateImage() argument
136 image_option_string += image_filename; in GenerateImage()
155 oat_file_option_string += ImageHeader::GetOatLocationFromImageLocation(image_filename); in GenerateImage()
676 static std::unique_ptr<ImageSpace> InitAppImage(const char* image_filename, in InitAppImage() argument
684 std::unique_ptr<ImageSpace> space = Init(image_filename, in InitAppImage()
746 static std::unique_ptr<ImageSpace> Init(const char* image_filename, in Init() argument
753 CHECK(image_filename != nullptr); in Init()
756 VLOG(image) << "ImageSpace::Init entering image_filename=" << image_filename; in Init()
[all …]
Dimage_space.h185 static std::unique_ptr<ImageSpace> Init(const char* image_filename,
/art/oatdump/
Doatdump.cc1881 std::string image_filename = image_space_.GetImageFilename(); in Dump() local
1882 std::string oat_location = ImageHeader::GetOatLocationFromImageLocation(image_filename); in Dump()
1967 std::unique_ptr<File> file(OS::OpenFileForReading(image_filename.c_str())); in Dump()
1970 LOG(WARNING) << "Failed to find image in " << image_filename; in Dump()
/art/dex2oat/
Ddex2oat.cc2705 std::string StripIsaFrom(const char* image_filename, InstructionSet isa) { in StripIsaFrom() argument
2706 std::string res(image_filename); in StripIsaFrom()