Home
last modified time | relevance | path

Searched refs:VdexSectionHeader (Results 1 – 3 of 3) sorted by relevance

/art/runtime/
Dvdex_file.h92 struct VdexSectionHeader { struct
97 VdexSectionHeader(VdexSection kind, uint32_t offset, uint32_t size) in VdexSectionHeader() function
100 VdexSectionHeader() {} in VdexSectionHeader() argument
134 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()
Dvdex_file.cc266 VdexFile::VdexSectionHeader sections[static_cast<uint32_t>(VdexSection::kNumberOfSections)]; in WriteToDisk()
/art/dex2oat/linker/
Doat_writer.cc693 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()