Home
last modified time | relevance | path

Searched refs:VdexFileHeader (Results 1 – 6 of 6) sorted by relevance

/art/runtime/
Dvdex_file.h103 struct VdexFileHeader { struct
105 explicit VdexFileHeader(bool has_dex_section);
137 Begin() + sizeof(VdexFileHeader) + index * sizeof(VdexSectionHeader)); in GetSectionHeaderAt() argument
145 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()
Dvdex_file.cc47 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::VdexFileHeader
265 VdexFile::VdexFileHeader vdex_header(/* has_dex_section= */ false); in WriteToDisk()
/art/dex2oat/
Ddex2oat_vdex_test.cc84 VdexFile::VdexFileHeader vdex_header = vdex->GetVdexFileHeader(); in GetVerifierDeps()
Ddex2oat.cc1299 if (!vdex_file->PwriteFully(&VdexFile::VdexFileHeader::kVdexInvalidMagic, in OpenFile()
1300 arraysize(VdexFile::VdexFileHeader::kVdexInvalidMagic), in OpenFile()
/art/dex2oat/linker/
Doat_writer.cc692 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()
/art/oatdump/
Doatdump.cc572 VdexFile::VdexFileHeader vdex_header = oat_file_.GetVdexFile()->GetVdexFileHeader(); in Dump()