Home
last modified time | relevance | path

Searched refs:image_spaces (Results 1 – 10 of 10) sorted by relevance

/art/imgdiag/
Dimgdiag_test.cc50 std::vector<gc::space::ImageSpace*> image_spaces = in SetUp() local
52 ASSERT_TRUE(!image_spaces.empty()); in SetUp()
53 boot_image_location_ = image_spaces[0]->GetImageLocation(); in SetUp()
Dimgdiag.cc1833 const std::vector<gc::space::ImageSpace*>& image_spaces = heap->GetBootImageSpaces(); in DumpImage() local
1834 CHECK(!image_spaces.empty()); in DumpImage()
1842 for (gc::space::ImageSpace* image_space : image_spaces) { in DumpImage()
/art/runtime/gc/space/
Dimage_space.h228 static std::string GetBootClassPathChecksums(ArrayRef<ImageSpace* const> image_spaces,
248 ArrayRef<const std::unique_ptr<ImageSpace>> image_spaces,
Dimage_space.cc3815 ArrayRef<ImageSpace* const> image_spaces, in GetBootClassPathChecksums() argument
3821 for (size_t image_pos = 0u, size = image_spaces.size(); image_pos != size; ) { in GetBootClassPathChecksums()
3822 const ImageSpace* main_space = image_spaces[image_pos]; in GetBootClassPathChecksums()
3830 DCHECK_LE(image_space_count, image_spaces.size() - image_pos); in GetBootClassPathChecksums()
3837 const ImageSpace* space = image_spaces[image_pos + space_index]; in GetBootClassPathChecksums()
4011 ArrayRef<const std::unique_ptr<ImageSpace>> image_spaces, in VerifyBootClassPathChecksums() argument
4016 DCHECK_GE(boot_class_path_locations.size(), image_spaces.size()); in VerifyBootClassPathChecksums()
4028 const size_t num_image_spaces = image_spaces.size(); in VerifyBootClassPathChecksums()
4041 const ImageHeader& current_header = image_spaces[image_pos]->GetImageHeader(); in VerifyBootClassPathChecksums()
4044 DCHECK_LE(image_space_count, image_spaces.size() - image_pos); in VerifyBootClassPathChecksums()
[all …]
/art/runtime/
Dvdex_file.cc368 ArrayRef<gc::space::ImageSpace* const> image_spaces(runtime->GetHeap()->GetBootImageSpaces()); in ComputeBootClassPathChecksumString() local
370 image_spaces.empty() ? 0u : image_spaces[0]->GetImageHeader().GetComponentCount(); in ComputeBootClassPathChecksumString()
372 image_spaces.SubArray(/*pos=*/ 0u, boot_image_components), in ComputeBootClassPathChecksumString()
Dcommon_runtime_test.cc414 const std::vector<gc::space::ImageSpace*>& image_spaces = in StartDex2OatCommandLine() local
416 DCHECK(!image_spaces.empty()); in StartDex2OatCommandLine()
417 argv->push_back("--boot-image=" + image_spaces[0]->GetImageLocation()); in StartDex2OatCommandLine()
Doat_file_manager.cc129 std::vector<gc::space::ImageSpace*> image_spaces = in GetBootOatFiles() local
132 oat_files.reserve(image_spaces.size()); in GetBootOatFiles()
133 for (gc::space::ImageSpace* image_space : image_spaces) { in GetBootOatFiles()
/art/runtime/gc/
Dheap.cc172 static void VerifyBootImagesContiguity(const std::vector<gc::space::ImageSpace*>& image_spaces) { in VerifyBootImagesContiguity() argument
174 for (size_t i = 0u, num_spaces = image_spaces.size(); i != num_spaces; ) { in VerifyBootImagesContiguity()
175 const ImageHeader& image_header = image_spaces[i]->GetImageHeader(); in VerifyBootImagesContiguity()
183 CHECK_EQ(image_spaces[i + j]->GetImageHeader().GetComponentCount(), 0u); in VerifyBootImagesContiguity()
184 CHECK_EQ(image_spaces[i + j]->GetImageHeader().GetImageReservationSize(), 0u); in VerifyBootImagesContiguity()
188 CHECK_EQ(image_spaces[0]->Begin() + boot_image_size, image_spaces[i]->Begin()); in VerifyBootImagesContiguity()
190 const uint8_t* current_heap = image_spaces[i]->Begin(); in VerifyBootImagesContiguity()
191 const uint8_t* current_oat = image_spaces[i]->GetImageHeader().GetOatFileBegin(); in VerifyBootImagesContiguity()
193 const ImageHeader& current_header = image_spaces[i + j]->GetImageHeader(); in VerifyBootImagesContiguity()
194 CHECK_EQ(current_heap, image_spaces[i + j]->Begin()); in VerifyBootImagesContiguity()
[all …]
/art/dex2oat/
Ddex2oat.cc1813 const auto& image_spaces = Runtime::Current()->GetHeap()->GetBootImageSpaces(); in Setup() local
1814 CHECK(std::any_of(image_spaces.begin(), in Setup()
1815 image_spaces.end(), in Setup()
1851 ArrayRef<ImageSpace* const> image_spaces(runtime->GetHeap()->GetBootImageSpaces()); in Setup() local
1854 gc::space::ImageSpace::GetBootClassPathChecksums(image_spaces, bcp_dex_files_dependency)); in Setup()
1861 ArrayRef<ImageSpace* const> image_spaces(runtime->GetHeap()->GetBootImageSpaces()); in Setup() local
1864 gc::space::ImageSpace::GetBootClassPathChecksums(image_spaces, bcp_dex_files)); in Setup()
/art/dex2oat/linker/
Dimage_writer.cc2653 const std::vector<gc::space::ImageSpace*>& image_spaces = in CreateHeader() local
2655 DCHECK_EQ(image_spaces.empty(), compiler_options_.IsBootImage()); in CreateHeader()
2656 for (size_t i = 0u, size = image_spaces.size(); i != size; ) { in CreateHeader()
2657 const ImageHeader& header = image_spaces[i]->GetImageHeader(); in CreateHeader()
3336 const std::vector<gc::space::ImageSpace*>& image_spaces = in GetOatAddress() local
3338 DCHECK(!image_spaces.empty()); in GetOatAddress()
3339 const OatFile* oat_file = image_spaces[0]->GetOatFile(); in GetOatAddress()