Searched refs:VdexFileHeader (Results 1 – 6 of 6) sorted by relevance
103 struct VdexFileHeader { struct105 explicit VdexFileHeader(bool has_dex_section);137 Begin() + sizeof(VdexFileHeader) + index * sizeof(VdexSectionHeader)); in GetSectionHeaderAt() argument145 return sizeof(VdexFileHeader) + in GetChecksumsOffset()150 const VdexFileHeader& header = GetVdexFileHeader(); in GetComputedFileSize()151 uint32_t size = sizeof(VdexFileHeader) + in GetComputedFileSize()255 const VdexFileHeader& GetVdexFileHeader() const { in GetVdexFileHeader()256 return *reinterpret_cast<const VdexFileHeader*>(Begin()); in GetVdexFileHeader()266 return mmap_.Size() >= sizeof(VdexFileHeader) && GetVdexFileHeader().IsValid(); in IsValid()
47 constexpr uint8_t VdexFile::VdexFileHeader::kVdexInvalidMagic[4];48 constexpr uint8_t VdexFile::VdexFileHeader::kVdexMagic[4];49 constexpr uint8_t VdexFile::VdexFileHeader::kVdexVersion[4];51 bool VdexFile::VdexFileHeader::IsMagicValid() const { in IsMagicValid()55 bool VdexFile::VdexFileHeader::IsVdexVersionValid() const { in IsVdexVersionValid()59 VdexFile::VdexFileHeader::VdexFileHeader(bool has_dex_section ATTRIBUTE_UNUSED) in VdexFileHeader() function in art::VdexFile::VdexFileHeader265 VdexFile::VdexFileHeader vdex_header(/* has_dex_section= */ false); in WriteToDisk()
84 VdexFile::VdexFileHeader vdex_header = vdex->GetVdexFileHeader(); in GetVerifierDeps()
1299 if (!vdex_file->PwriteFully(&VdexFile::VdexFileHeader::kVdexInvalidMagic, in OpenFile()1300 arraysize(VdexFile::VdexFileHeader::kVdexInvalidMagic), in OpenFile()
692 size_vdex_header_ = sizeof(VdexFile::VdexFileHeader) + in WriteAndOpenDexFiles()3766 uint8_t* ptr = vdex_begin + sizeof(VdexFile::VdexFileHeader); in FinishVdexFile()3815 new (vdex_begin) VdexFile::VdexFileHeader(has_dex_section); in FinishVdexFile()
572 VdexFile::VdexFileHeader vdex_header = oat_file_.GetVdexFile()->GetVdexFileHeader(); in Dump()