Home
last modified time | relevance | path

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

/art/runtime/
Dvdex_file.h80 enum VdexSection : uint32_t { enum
93 VdexSection section_kind;
97 VdexSectionHeader(VdexSection kind, uint32_t offset, uint32_t size) in VdexSectionHeader()
140 const VdexSectionHeader& GetSectionHeader(VdexSection kind) const { in GetSectionHeader()
146 static_cast<size_t>(VdexSection::kNumberOfSections) * sizeof(VdexSectionHeader); in GetChecksumsOffset()
163 return GetSectionHeader(VdexSection::kDexFileSection).section_size != 0u; in HasDexSection()
166 return GetSectionHeader(VdexSection::kVerifierDepsSection).section_size; in GetVerifierDepsSize()
169 return GetSectionHeader(VdexSection::kChecksumSection).section_size / sizeof(VdexChecksum); in GetNumberOfDexFiles()
178 Begin() + GetSectionHeader(VdexSection::kChecksumSection).section_offset); in GetDexChecksumsArray()
261 Begin() + GetSectionHeader(VdexSection::kVerifierDepsSection).section_offset, in GetVerifierDepsData()
[all …]
Dvdex_file.cc60 : number_of_sections_(static_cast<uint32_t>(VdexSection::kNumberOfSections)) { in VdexFileHeader()
266 VdexFile::VdexSectionHeader sections[static_cast<uint32_t>(VdexSection::kNumberOfSections)]; in WriteToDisk()
269 sections[VdexSection::kChecksumSection].section_kind = VdexSection::kChecksumSection; in WriteToDisk()
270 sections[VdexSection::kChecksumSection].section_offset = GetChecksumsOffset(); in WriteToDisk()
271 sections[VdexSection::kChecksumSection].section_size = in WriteToDisk()
275 sections[VdexSection::kDexFileSection].section_kind = VdexSection::kDexFileSection; in WriteToDisk()
276 sections[VdexSection::kDexFileSection].section_offset = 0u; in WriteToDisk()
277 sections[VdexSection::kDexFileSection].section_size = 0u; in WriteToDisk()
280 sections[VdexSection::kVerifierDepsSection].section_kind = VdexSection::kVerifierDepsSection; in WriteToDisk()
281 sections[VdexSection::kVerifierDepsSection].section_offset = in WriteToDisk()
[all …]
/art/dex2oat/linker/
Doat_writer.cc693 VdexSection::kNumberOfSections * sizeof(VdexFile::VdexSectionHeader); in WriteAndOpenDexFiles()
3769 new (ptr) VdexFile::VdexSectionHeader(VdexSection::kChecksumSection, in FinishVdexFile()
3776 VdexSection::kDexFileSection, in FinishVdexFile()
3782 new (ptr) VdexFile::VdexSectionHeader(VdexSection::kVerifierDepsSection, in FinishVdexFile()
3788 new (ptr) VdexFile::VdexSectionHeader(VdexSection::kTypeLookupTableSection, in FinishVdexFile()