Home
last modified time | relevance | path

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

/art/runtime/gc/space/
Dimage_space.cc43 ImageSpace::ImageSpace(const std::string& image_filename, const char* image_location, in ImageSpace() argument
47 image_location_(image_location) { in ImageSpace()
198 bool ImageSpace::FindImageFilename(const char* image_location, in FindImageFilename() argument
210 std::string system_image_filename(GetSystemImageFilename(image_location, image_isa)); in FindImageFilename()
229 if (!GetDalvikCacheFilename(image_location, dalvik_cache.c_str(), cache_filename, &error_msg)) { in FindImageFilename()
251 static bool RelocateImage(const char* image_location, const char* dest_filename, in RelocateImage() argument
262 input_image_location_arg += image_location; in RelocateImage()
268 input_oat_location_arg += ImageHeader::GetOatLocationFromImageLocation(image_location); in RelocateImage()
306 ImageHeader* ImageSpace::ReadImageHeaderOrDie(const char* image_location, in ReadImageHeaderOrDie() argument
309 ImageHeader* image_header = ReadImageHeader(image_location, image_isa, &error_msg); in ReadImageHeaderOrDie()
[all …]
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,
/art/patchoat/
Dpatchoat.cc111 bool PatchOat::Patch(const std::string& image_location, off_t delta, in Patch() argument
117 CHECK(!image_location.empty()) << "image file must have a filename."; in Patch()
123 if (!LocationToFilename(image_location, isa, &image_filename)) { in Patch()
124 LOG(ERROR) << "Unable to find image at location " << image_location; in Patch()
130 << " for location " << image_location; in Patch()
154 std::string img = "-Ximage:" + image_location; in Patch()
194 bool PatchOat::Patch(File* input_oat, const std::string& image_location, off_t delta, in Patch() argument
206 CHECK(!image_location.empty()) << "image file must have a filename."; in Patch()
220 if (!LocationToFilename(image_location, isa, &image_filename)) { in Patch()
221 LOG(ERROR) << "Unable to find image at location " << image_location; in Patch()
[all …]
/art/compiler/
Dimage_test.cc49 ScratchFile image_location(location, ".art"); in TEST_F() local
51 std::string image_filename(GetSystemImageFilename(image_location.GetFilename().c_str(), in TEST_F()
148 image.append(image_location.GetFilename()); in TEST_F()
/art/runtime/
Druntime.cc587 const std::string& image_location, in OpenDexFilesFromImage() argument
596 bool found_image = gc::space::ImageSpace::FindImageFilename(image_location.c_str(), in OpenDexFilesFromImage()
612 std::string oat_location = ImageHeader::GetOatLocationFromImageLocation(image_location.c_str()); in OpenDexFilesFromImage()
646 const std::string& image_location, in OpenDexFiles() argument
649 if (!image_location.empty() && OpenDexFilesFromImage(dex_filenames, image_location, dex_files, in OpenDexFiles()
Dclass_linker.h612 const std::string& image_location, InstructionSet isa,
Dclass_linker.cc1361 const std::string& image_location = space->GetImageLocation(); in OpenOatFileFromDexLocation() local
1363 ret = PatchAndRetrieveOat(odex_filename, cache_filename, image_location, isa, &error_msg); in OpenOatFileFromDexLocation()
1366 ret = PatchAndRetrieveOat(cache_filename, cache_filename, image_location, isa, &error_msg); in OpenOatFileFromDexLocation()
1431 const std::string& image_location, in PatchAndRetrieveOat() argument
1459 patched_image_arg += image_location; in PatchAndRetrieveOat()
/art/oatdump/
Doatdump.cc1704 const char* image_location = nullptr; in oatdump() local
1720 image_location = option.substr(strlen("--image=")).data(); in oatdump()
1758 if (image_location == nullptr && oat_filename == nullptr) { in oatdump()
1763 if (image_location != nullptr && oat_filename != nullptr) { in oatdump()
1804 if (image_location != nullptr) { in oatdump()
1806 image_option += image_location; in oatdump()
1827 fprintf(stderr, "Invalid image header %s\n", image_location); in oatdump()