Lines Matching refs:ImageSpace
67 Atomic<uint32_t> ImageSpace::bitmap_index_(0);
69 ImageSpace::ImageSpace(const std::string& image_filename, in ImageSpace() function in art::gc::space::ImageSpace
234 bool ImageSpace::FindImageFilename(const char* image_location, in FindImageFilename()
276 std::unique_ptr<ImageHeader> ImageSpace::ReadImageHeader(const char* image_location, in ReadImageHeader()
345 void ImageSpace::VerifyImageAllocations() { in VerifyImageAllocations()
418 class ImageSpace::PatchObjectVisitor final {
657 class ImageSpace::ClassTableVisitor final {
674 class ImageSpace::Loader {
676 static std::unique_ptr<ImageSpace> InitAppImage(const char* image_filename, in InitAppImage()
684 std::unique_ptr<ImageSpace> space = Init(image_filename, in InitAppImage()
746 static std::unique_ptr<ImageSpace> Init(const char* image_filename, in Init()
861 const uint32_t bitmap_index = ImageSpace::bitmap_index_.fetch_add(1); in Init()
885 std::unique_ptr<ImageSpace> space(new ImageSpace(image_filename, in Init()
894 static bool CheckImageComponentCount(const ImageSpace& space, in CheckImageComponentCount()
908 static bool CheckImageReservationSize(const ImageSpace& space, in CheckImageReservationSize()
1360 class ImageSpace::BootImageLoader {
1417 /*out*/std::vector<std::unique_ptr<space::ImageSpace>>* boot_image_spaces, in LoadFromSystem()
1444 /*out*/std::vector<std::unique_ptr<space::ImageSpace>>* boot_image_spaces, in LoadFromDalvikCache()
1474 /*out*/std::vector<std::unique_ptr<space::ImageSpace>>* boot_image_spaces, in LoadFromFile()
1509 std::vector<std::unique_ptr<ImageSpace>> spaces; in LoadFromFile()
1513 const ImageSpace* space = spaces.back().get(); in LoadFromFile()
1567 static void DoRelocateSpaces(const std::vector<std::unique_ptr<ImageSpace>>& spaces, in DoRelocateSpaces()
1579 for (const std::unique_ptr<ImageSpace>& space : spaces) { in DoRelocateSpaces()
1669 const ImageSpace* space = spaces.front().get(); in DoRelocateSpaces()
1688 const ImageSpace* space = spaces[s].get(); in DoRelocateSpaces()
1721 void MaybeRelocateSpaces(const std::vector<std::unique_ptr<ImageSpace>>& spaces, in MaybeRelocateSpaces()
1725 ImageSpace* first_space = spaces.front().get(); in MaybeRelocateSpaces()
1742 std::unique_ptr<ImageSpace> Load(const std::string& image_location, in Load()
1780 bool OpenOatFile(ImageSpace* space, in OpenOatFile()
1853 if (!ImageSpace::ValidateOatFile(*oat_file, error_msg)) { in OpenOatFile()
1965 bool ImageSpace::LoadBootImage( in LoadBootImage()
1975 /*out*/std::vector<std::unique_ptr<space::ImageSpace>>* boot_image_spaces, in LoadBootImage()
2119 ImageSpace::~ImageSpace() { in ~ImageSpace()
2123 std::unique_ptr<ImageSpace> ImageSpace::CreateFromAppImage(const char* image, in CreateFromAppImage()
2134 const OatFile* ImageSpace::GetOatFile() const { in GetOatFile()
2138 std::unique_ptr<const OatFile> ImageSpace::ReleaseOatFile() { in ReleaseOatFile()
2143 void ImageSpace::Dump(std::ostream& os) const { in Dump()
2151 bool ImageSpace::ValidateOatFile(const OatFile& oat_file, std::string* error_msg) { in ValidateOatFile()
2211 std::string ImageSpace::GetBootClassPathChecksums(ArrayRef<const std::string> boot_class_path, in GetBootClassPathChecksums()
2277 std::string ImageSpace::GetBootClassPathChecksums( in GetBootClassPathChecksums()
2278 const std::vector<ImageSpace*>& image_spaces, in GetBootClassPathChecksums()
2289 for (const ImageSpace* space : image_spaces) { in GetBootClassPathChecksums()
2316 std::vector<std::string> ImageSpace::ExpandMultiImageLocations( in ExpandMultiImageLocations()
2322 std::vector<std::string> ImageSpace::ExpandMultiImageLocations( in ExpandMultiImageLocations()
2373 void ImageSpace::DumpSections(std::ostream& os) const { in DumpSections()
2384 void ImageSpace::DisablePreResolvedStrings() { in DisablePreResolvedStrings()
2394 void ImageSpace::ReleaseMetadata() { in ReleaseMetadata()