Searched refs:VerifierDepsHeader (Results 1 – 5 of 5) sorted by relevance
69 struct VerifierDepsHeader { struct71 VerifierDepsHeader(uint32_t number_of_dex_files_,103 reinterpret_cast<const uint8_t*>(this) + sizeof(VerifierDepsHeader)); in GetDexChecksumsArray() argument163 size_t size = sizeof(VerifierDepsHeader); in GetComputedFileSize()164 const VerifierDepsHeader& header = GetVerifierDepsHeader(); in GetComputedFileSize()245 const VerifierDepsHeader& GetVerifierDepsHeader() const { in GetVerifierDepsHeader()246 return *reinterpret_cast<const VerifierDepsHeader*>(Begin()); in GetVerifierDepsHeader()250 return sizeof(VerifierDepsHeader) + GetVerifierDepsHeader().GetSizeOfChecksumsSection(); in GetDexSectionHeaderOffset()295 return mmap_.Size() >= sizeof(VerifierDepsHeader) && GetVerifierDepsHeader().IsValid(); in IsValid()307 return reinterpret_cast<const uint32_t*>(Begin() + sizeof(VerifierDepsHeader))[dex_file_index]; in GetLocationChecksum()
45 constexpr uint8_t VdexFile::VerifierDepsHeader::kVdexInvalidMagic[4];46 constexpr uint8_t VdexFile::VerifierDepsHeader::kVdexMagic[4];47 constexpr uint8_t VdexFile::VerifierDepsHeader::kVerifierDepsVersion[4];48 constexpr uint8_t VdexFile::VerifierDepsHeader::kDexSectionVersion[4];49 constexpr uint8_t VdexFile::VerifierDepsHeader::kDexSectionVersionEmpty[4];51 bool VdexFile::VerifierDepsHeader::IsMagicValid() const { in IsMagicValid()55 bool VdexFile::VerifierDepsHeader::IsVerifierDepsVersionValid() const { in IsVerifierDepsVersionValid()59 bool VdexFile::VerifierDepsHeader::IsDexSectionVersionValid() const { in IsDexSectionVersionValid()64 bool VdexFile::VerifierDepsHeader::HasDexSection() const { in HasDexSection()68 VdexFile::VerifierDepsHeader::VerifierDepsHeader(uint32_t number_of_dex_files, in VerifierDepsHeader() function in art::VdexFile::VerifierDepsHeader[all …]
681 vdex_size_ = sizeof(VdexFile::VerifierDepsHeader) + in WriteAndOpenDexFiles()3928 off_t checksums_offset = sizeof(VdexFile::VerifierDepsHeader); in WriteChecksumsAndVdexHeader()3978 VdexFile::VerifierDepsHeader deps_header( in WriteChecksumsAndVdexHeader()3980 if (!vdex_out->WriteFully(&deps_header, sizeof(VdexFile::VerifierDepsHeader))) { in WriteChecksumsAndVdexHeader()3984 size_vdex_header_ += sizeof(VdexFile::VerifierDepsHeader); in WriteChecksumsAndVdexHeader()
1370 if (!vdex_out->WriteFully(&VdexFile::VerifierDepsHeader::kVdexInvalidMagic, in OpenFile()1371 arraysize(VdexFile::VerifierDepsHeader::kVdexInvalidMagic))) { in OpenFile()
556 VdexFile::VerifierDepsHeader vdex_header = oat_file_.GetVdexFile()->GetVerifierDepsHeader(); in Dump()