/art/test/596-app-images/ |
D | app_images.cc | 42 const auto& image_header = image_space->GetImageHeader(); in Java_Main_checkAppImageLoaded() local 43 if (image_header.IsAppImage()) { in Java_Main_checkAppImageLoaded() 57 const auto& image_header = image_space->GetImageHeader(); in Java_Main_checkAppImageContains() local 58 if (image_header.IsAppImage()) { in Java_Main_checkAppImageContains()
|
/art/test/1001-app-image-regions/ |
D | app_image_regions.cc | 42 const auto& image_header = image_space->GetImageHeader(); in Java_Main_checkAppImageSectionSize() local 43 if (image_header.IsAppImage() && image_space->HasAddress(klass_ptr.Ptr())) { in Java_Main_checkAppImageSectionSize() 44 return image_header.GetObjectsSection().Size(); in Java_Main_checkAppImageSectionSize()
|
/art/imgdiag/ |
D | imgdiag.cc | 198 const ImageHeader& image_header) in RemoteContentsPointerToLocal() argument 207 const uint8_t* local_ptr = reinterpret_cast<const uint8_t*>(&image_header) + boot_offset; in RemoteContentsPointerToLocal() 237 const ImageHeader& image_header) : in RegionCommon() 242 image_header_(image_header), in RegionCommon() 384 const ImageHeader& image_header, in RegionSpecializedBase() argument 386 : RegionCommon<mirror::Object>(os, remote_contents, zygote_contents, boot_map, image_header), in RegionSpecializedBase() 712 const ImageHeader& image_header, in RegionSpecializedBase() argument 714 : RegionCommon<ArtMethod>(os, remote_contents, zygote_contents, boot_map, image_header), in RegionSpecializedBase() 946 const ImageHeader& image_header, in RegionData() argument 952 image_header, in RegionData() [all …]
|
/art/dex2oat/linker/ |
D | image_test.h | 142 ImageHeader image_header; in GetImageObjectSectionSizes() local 143 CHECK_EQ(file->ReadFully(&image_header, sizeof(image_header)), true); in GetImageObjectSectionSizes() 144 CHECK(image_header.IsValid()); in GetImageObjectSectionSizes() 145 ret.push_back(image_header.GetObjectsSection().Size()); in GetImageObjectSectionSizes() 411 ImageHeader image_header; in TestWriteRead() local 412 ASSERT_EQ(file->ReadFully(&image_header, sizeof(image_header)), true); in TestWriteRead() 413 ASSERT_TRUE(image_header.IsValid()); in TestWriteRead() 414 const auto& bitmap_section = image_header.GetImageBitmapSection(); in TestWriteRead() 415 ASSERT_GE(bitmap_section.Offset(), sizeof(image_header)); in TestWriteRead()
|
D | image_writer.cc | 203 const ImageHeader& image_header = boot_image_space->GetImageHeader(); in IsInBootOatFile() local 204 if (image_header.GetOatFileBegin() <= ptr && ptr < image_header.GetOatFileEnd()) { in IsInBootOatFile() 679 bool WriteHeaderAndClose(const std::string& image_filename, const ImageHeader* image_header) { in WriteHeaderAndClose() argument 681 if (!image_file_->PwriteFully(image_header, sizeof(ImageHeader), 0)) { in WriteHeaderAndClose() 771 ImageHeader* const image_header = reinterpret_cast<ImageHeader*>(image_info.image_.Begin()); in Write() local 789 add_blocks(sizeof(ImageHeader), image_header->GetImageSize() - sizeof(ImageHeader)); in Write() 794 reinterpret_cast<const uint8_t*>(image_header), in Write() 841 image_header->blocks_offset_ = out_offset; in Write() 842 image_header->blocks_count_ = blocks.size(); in Write() 847 image_header->data_size_ = out_offset - sizeof(ImageHeader); in Write() [all …]
|
/art/runtime/gc/collector/ |
D | immune_spaces_test.cc | 211 const ImageHeader& image_header = image_space->GetImageHeader(); in TEST_F() local 212 DummySpace space(image_header.GetOatFileEnd(), image_header.GetOatFileEnd() + kOtherSpaceSize); in TEST_F() 214 EXPECT_EQ(image_header.GetImageSize(), kImageSize); in TEST_F() 215 EXPECT_EQ(static_cast<size_t>(image_header.GetOatFileEnd() - image_header.GetOatFileBegin()), in TEST_F()
|
/art/dex2oat/ |
D | dex2oat_test.cc | 699 ImageHeader image_header; in GetImageObjectSectionSize() local 700 const bool success = file->ReadFully(&image_header, sizeof(image_header)); in GetImageObjectSectionSize() 702 CHECK(image_header.IsValid()); in GetImageObjectSectionSize() 704 return image_header.GetObjectsSection().Size(); in GetImageObjectSectionSize() 827 ImageHeader image_header; in CheckResult() local 828 bool success = file->ReadFully(&image_header, sizeof(image_header)); in CheckResult() 830 ASSERT_TRUE(image_header.IsValid()); in CheckResult() 831 EXPECT_GT(image_header.GetObjectsSection().Size(), 0u); in CheckResult()
|
/art/runtime/native/ |
D | dalvik_system_VMRuntime.cc | 672 std::unique_ptr<ImageHeader> image_header(gc::space::ImageSpace::ReadImageHeader( in VMRuntime_isBootClassPathOnDisk() local 674 return image_header.get() != nullptr; in VMRuntime_isBootClassPathOnDisk()
|
/art/oatdump/ |
D | oatdump.cc | 1790 const ImageHeader& image_header, in ImageDumper() argument 1796 image_header_(image_header), in ImageDumper() 2737 const ImageHeader& image_header = image_space->GetImageHeader(); in DumpImage() local 2738 if (!image_header.IsValid()) { in DumpImage() 2742 ImageDumper image_dumper(os, *image_space, image_header, options); in DumpImage()
|