Home
last modified time | relevance | path

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

/art/runtime/
Dvdex_file.h79 enum VdexSection : uint32_t { enum
92 VdexSection section_kind;
96 VdexSectionHeader(VdexSection kind, uint32_t offset, uint32_t size) in VdexSectionHeader()
139 const VdexSectionHeader& GetSectionHeader(VdexSection kind) const { in GetSectionHeader()
145 static_cast<size_t>(VdexSection::kNumberOfSections) * sizeof(VdexSectionHeader); in GetChecksumsOffset()
160 return GetSectionHeader(VdexSection::kDexFileSection).section_size != 0u; in HasDexSection()
163 return GetSectionHeader(VdexSection::kVerifierDepsSection).section_size; in GetVerifierDepsSize()
166 return GetSectionHeader(VdexSection::kChecksumSection).section_size / sizeof(VdexChecksum); in GetNumberOfDexFiles()
175 Begin() + GetSectionHeader(VdexSection::kChecksumSection).section_offset); in GetDexChecksumsArray()
258 Begin() + GetSectionHeader(VdexSection::kVerifierDepsSection).section_offset, in GetVerifierDepsData()
[all …]
Dvdex_file.cc60 : number_of_sections_(static_cast<uint32_t>(VdexSection::kNumberOfSections)) { in VdexFileHeader()
276 VdexFile::VdexSectionHeader sections[static_cast<uint32_t>(VdexSection::kNumberOfSections)]; in WriteToDisk()
279 sections[VdexSection::kChecksumSection].section_kind = VdexSection::kChecksumSection; in WriteToDisk()
280 sections[VdexSection::kChecksumSection].section_offset = GetChecksumsOffset(); in WriteToDisk()
281 sections[VdexSection::kChecksumSection].section_size = in WriteToDisk()
285 sections[VdexSection::kDexFileSection].section_kind = VdexSection::kDexFileSection; in WriteToDisk()
286 sections[VdexSection::kDexFileSection].section_offset = 0u; in WriteToDisk()
287 sections[VdexSection::kDexFileSection].section_size = 0u; in WriteToDisk()
290 sections[VdexSection::kVerifierDepsSection].section_kind = VdexSection::kVerifierDepsSection; in WriteToDisk()
291 sections[VdexSection::kVerifierDepsSection].section_offset = in WriteToDisk()
[all …]
/art/dex2oat/linker/
Doat_writer.cc531 VdexSection::kNumberOfSections * sizeof(VdexFile::VdexSectionHeader); in WriteAndOpenDexFiles()
3732 new (ptr) VdexFile::VdexSectionHeader(VdexSection::kChecksumSection, in FinishVdexFile()
3739 VdexSection::kDexFileSection, in FinishVdexFile()
3745 new (ptr) VdexFile::VdexSectionHeader(VdexSection::kVerifierDepsSection, in FinishVdexFile()
3751 new (ptr) VdexFile::VdexSectionHeader(VdexSection::kTypeLookupTableSection, in FinishVdexFile()