Lines Matching refs:image_header
381 bool WriteHeaderAndClose(const std::string& image_filename, const ImageHeader* image_header) { in WriteHeaderAndClose() argument
383 if (!image_file_->PwriteFully(image_header, sizeof(ImageHeader), 0)) { in WriteHeaderAndClose()
471 ImageHeader* const image_header = reinterpret_cast<ImageHeader*>(image_info.image_.Begin()); in Write() local
489 add_blocks(sizeof(ImageHeader), image_header->GetImageSize() - sizeof(ImageHeader)); in Write()
494 reinterpret_cast<const uint8_t*>(image_header), in Write()
541 image_header->blocks_offset_ = out_offset; in Write()
542 image_header->blocks_count_ = blocks.size(); in Write()
547 image_header->data_size_ = out_offset - sizeof(ImageHeader); in Write()
551 ImageSection& bitmap_section = image_header->GetImageSection(ImageHeader::kSectionImageBitmap); in Write()
573 image_header->SetImageChecksum(image_checksum); in Write()
596 if (!image_file.WriteHeaderAndClose(image_filename, image_header)) { in Write()
2862 auto* image_header = reinterpret_cast<ImageHeader*>(image_info.image_.Begin()); in CopyAndFixupNativeData() local
2867 reinterpret_cast<void**>(&image_header->image_methods_[i]), method, PointerSize::k32); in CopyAndFixupNativeData()
2873 const ImageSection& intern_table_section = image_header->GetInternedStringsSection(); in CopyAndFixupNativeData()
2898 const ImageSection& class_table_section = image_header->GetClassTableSection(); in CopyAndFixupNativeData()