Lines Matching refs:image_header
177 ImageHeader image_header;
178 bool success = file->ReadFully(&image_header, sizeof(image_header));
179 if (!success || !image_header.IsValid()) {
185 UniquePtr<MemMap> map(MemMap::MapFileAtAddress(image_header.GetImageBegin(),
186 image_header.GetImageSize(),
196 CHECK_EQ(image_header.GetImageBegin(), map->Begin());
197 DCHECK_EQ(0, memcmp(&image_header, map->Begin(), sizeof(ImageHeader)));
199 UniquePtr<MemMap> image_map(MemMap::MapFileAtAddress(nullptr, image_header.GetImageBitmapSize(),
201 file->Fd(), image_header.GetBitmapOffset(),
214 mirror::Object* resolution_method = image_header.GetImageRoot(ImageHeader::kResolutionMethod);
217 mirror::Object* callee_save_method = image_header.GetImageRoot(ImageHeader::kCalleeSaveMethod);
219 callee_save_method = image_header.GetImageRoot(ImageHeader::kRefsOnlySaveMethod);
221 callee_save_method = image_header.GetImageRoot(ImageHeader::kRefsAndArgsSaveMethod);
249 const ImageHeader& image_header = GetImageHeader();
253 down_cast<mirror::String*>(image_header.GetImageRoot(ImageHeader::kOatLocation));
257 OatFile* oat_file = OatFile::Open(oat_filename, oat_filename, image_header.GetOatDataBegin(),
264 uint32_t image_oat_checksum = image_header.GetOatChecksum();