Home
last modified time | relevance | path

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

/art/runtime/gc/space/
Dimage_space.cc47 ImageSpace::ImageSpace(const std::string& image_filename, in ImageSpace() argument
52 : MemMapSpace(image_filename, in ImageSpace()
81 static bool GenerateImage(const std::string& image_filename, InstructionSet image_isa, in GenerateImage() argument
102 image_option_string += image_filename; in GenerateImage()
110 oat_file_option_string += ImageHeader::GetOatLocationFromImageLocation(image_filename); in GenerateImage()
418 const std::string* image_filename; in CreateBootImage() local
431 image_filename = &cache_filename; in CreateBootImage()
464 image_filename = &cache_filename; in CreateBootImage()
480 image_filename = &cache_filename; in CreateBootImage()
486 image_filename = &cache_filename; in CreateBootImage()
[all …]
Dimage_space.h161 static ImageSpace* Init(const char* image_filename,
/art/compiler/
Dimage_test.cc67 std::string image_filename(GetSystemImageFilename(image_location.GetFilename().c_str(), in TestWriteRead() local
69 size_t pos = image_filename.rfind('/'); in TestWriteRead()
70 CHECK_NE(pos, std::string::npos) << image_filename; in TestWriteRead()
71 std::string image_dir(image_filename, 0, pos); in TestWriteRead()
74 ScratchFile image_file(OS::CreateEmptyFile(image_filename.c_str())); in TestWriteRead()
76 std::string oat_filename(image_filename, 0, image_filename.size() - 3); in TestWriteRead()
Dimage_writer.cc192 const char* image_filename = image_filenames[i]; in Write() local
196 if (strlen(image_filename) == 0u) { in Write()
204 LOG(ERROR) << "image fd " << image_fd << " name " << image_filename; in Write()
207 image_file.reset(OS::CreateEmptyFile(image_filename)); in Write()
211 LOG(ERROR) << "Failed to open image file " << image_filename; in Write()
216 PLOG(ERROR) << "Failed to make image file world readable: " << image_filename; in Write()
286 PLOG(ERROR) << "Failed to write image file data " << image_filename; in Write()
303 PLOG(ERROR) << "Failed to write image file " << image_filename; in Write()
310 PLOG(ERROR) << "Failed to flush image file " << image_filename << " with result " << err; in Write()
322 PLOG(ERROR) << "Failed to write image file header " << image_filename; in Write()
[all …]
/art/dex2oat/
Ddex2oat.cc1929 std::string image_filename = image_filenames_[i]; in GetMultiImageBootClassPath() local
1935 size_t image_last_slash = image_filename.rfind('/'); in GetMultiImageBootClassPath()
1936 size_t image_last_at = image_filename.rfind('@'); in GetMultiImageBootClassPath()
1945 dex_loc = image_filename.substr(image_last_sep + 1); in GetMultiImageBootClassPath()
1948 image_filename.substr(image_last_sep + 1); in GetMultiImageBootClassPath()
2397 std::string StripIsaFrom(const char* image_filename, InstructionSet isa) { in StripIsaFrom() argument
2398 std::string res(image_filename); in StripIsaFrom()
/art/oatdump/
Doatdump.cc1366 std::string image_filename = image_space_.GetImageFilename(); in Dump() local
1367 std::string oat_location = ImageHeader::GetOatLocationFromImageLocation(image_filename); in Dump()
1446 std::unique_ptr<File> file(OS::OpenFileForReading(image_filename.c_str())); in Dump()
1449 LOG(WARNING) << "Failed to find image in " << image_filename; in Dump()