Home
last modified time | relevance | path

Searched refs:image_location (Results 1 – 8 of 8) sorted by relevance

/art/runtime/gc/space/
Dimage_space.h51 static ImageHeader* ReadImageHeaderOrDie(const char* image_location,
57 static ImageHeader* ReadImageHeader(const char* image_location,
114 static bool FindImageFilename(const char* image_location,
131 static ImageSpace* Init(const char* image_filename, const char* image_location,
147 ImageSpace(const std::string& name, const char* image_location,
Dimage_space.cc46 ImageSpace::ImageSpace(const std::string& image_filename, const char* image_location, in ImageSpace() argument
51 image_location_(image_location) { in ImageSpace()
234 bool ImageSpace::FindImageFilename(const char* image_location, in FindImageFilename() argument
246 std::string system_image_filename(GetSystemImageFilename(image_location, image_isa)); in FindImageFilename()
265 if (!GetDalvikCacheFilename(image_location, dalvik_cache.c_str(), cache_filename, &error_msg)) { in FindImageFilename()
287 static bool RelocateImage(const char* image_location, const char* dest_filename, in RelocateImage() argument
298 input_image_location_arg += image_location; in RelocateImage()
304 input_oat_location_arg += ImageHeader::GetOatLocationFromImageLocation(image_location); in RelocateImage()
342 ImageHeader* ImageSpace::ReadImageHeaderOrDie(const char* image_location, in ReadImageHeaderOrDie() argument
345 ImageHeader* image_header = ReadImageHeader(image_location, image_isa, &error_msg); in ReadImageHeaderOrDie()
[all …]
/art/compiler/
Dimage_test.cc50 ScratchFile image_location(location, ".art"); in TEST_F() local
52 std::string image_filename(GetSystemImageFilename(image_location.GetFilename().c_str(), in TEST_F()
150 image.append(image_location.GetFilename()); in TEST_F()
/art/patchoat/
Dpatchoat.cc95 bool PatchOat::Patch(const std::string& image_location, off_t delta, in Patch() argument
101 CHECK(!image_location.empty()) << "image file must have a filename."; in Patch()
107 if (!LocationToFilename(image_location, isa, &image_filename)) { in Patch()
108 LOG(ERROR) << "Unable to find image at location " << image_location; in Patch()
114 << " for location " << image_location; in Patch()
138 std::string img = "-Ximage:" + image_location; in Patch()
178 bool PatchOat::Patch(File* input_oat, const std::string& image_location, off_t delta, in Patch() argument
190 CHECK(!image_location.empty()) << "image file must have a filename."; in Patch()
204 if (!LocationToFilename(image_location, isa, &image_filename)) { in Patch()
205 LOG(ERROR) << "Unable to find image at location " << image_location; in Patch()
[all …]
/art/imgdiag/
Dimgdiag.cc52 const char* image_location, in ImgDiagDumper() argument
56 image_location_(image_location), in ImgDiagDumper()
845 static int DumpImage(Runtime* runtime, const char* image_location, in DumpImage() argument
853 fprintf(stderr, "Invalid image header %s\n", image_location); in DumpImage()
857 ImgDiagDumper img_diag_dumper(os, image_header, image_location, image_diff_pid); in DumpImage()
/art/runtime/
Doat_file_assistant.cc695 std::string image_location = ImageLocation(); in CopyProfileFile() local
696 if (image_location.empty()) { in CopyProfileFile()
733 argv.push_back("--boot-image=" + image_location); in CopyProfileFile()
Druntime.cc697 static bool OpenDexFilesFromImage(const std::string& image_location, in OpenDexFilesFromImage() argument
707 bool found_image = gc::space::ImageSpace::FindImageFilename(image_location.c_str(), in OpenDexFilesFromImage()
723 std::string oat_location = ImageHeader::GetOatLocationFromImageLocation(image_location.c_str()); in OpenDexFilesFromImage()
758 const std::string& image_location, in OpenDexFiles() argument
762 if (!image_location.empty() && OpenDexFilesFromImage(image_location, dex_files, &failure_count)) { in OpenDexFiles()
/art/oatdump/
Doatdump.cc2188 static int DumpImage(Runtime* runtime, const char* image_location, OatDumperOptions* options, in DumpImage() argument
2200 fprintf(stderr, "Invalid image header %s\n", image_location); in DumpImage()