Searched refs:VdexSectionHeader (Results 1 – 3 of 3) sorted by relevance
92 struct VdexSectionHeader { struct97 VdexSectionHeader(VdexSection kind, uint32_t offset, uint32_t size) in VdexSectionHeader() function100 VdexSectionHeader() {} in VdexSectionHeader() argument134 const VdexSectionHeader& GetSectionHeaderAt(uint32_t index) const { in GetSectionHeaderAt()136 return *reinterpret_cast<const VdexSectionHeader*>( in GetSectionHeaderAt()137 Begin() + sizeof(VdexFileHeader) + index * sizeof(VdexSectionHeader)); in GetSectionHeaderAt()140 const VdexSectionHeader& GetSectionHeader(VdexSection kind) const { in GetSectionHeader()146 static_cast<size_t>(VdexSection::kNumberOfSections) * sizeof(VdexSectionHeader); in GetChecksumsOffset()152 header.GetNumberOfSections() * sizeof(VdexSectionHeader); in GetComputedFileSize()
266 VdexFile::VdexSectionHeader sections[static_cast<uint32_t>(VdexSection::kNumberOfSections)]; in WriteToDisk()
693 VdexSection::kNumberOfSections * sizeof(VdexFile::VdexSectionHeader); in WriteAndOpenDexFiles()3769 new (ptr) VdexFile::VdexSectionHeader(VdexSection::kChecksumSection, in FinishVdexFile()3772 ptr += sizeof(VdexFile::VdexSectionHeader); in FinishVdexFile()3775 new (ptr) VdexFile::VdexSectionHeader( in FinishVdexFile()3779 ptr += sizeof(VdexFile::VdexSectionHeader); in FinishVdexFile()3782 new (ptr) VdexFile::VdexSectionHeader(VdexSection::kVerifierDepsSection, in FinishVdexFile()3785 ptr += sizeof(VdexFile::VdexSectionHeader); in FinishVdexFile()3788 new (ptr) VdexFile::VdexSectionHeader(VdexSection::kTypeLookupTableSection, in FinishVdexFile()