Searched refs:raw_header (Results 1 – 2 of 2) sorted by relevance
1774 uint8_t raw_header[sizeof(DexFile::Header)]; in ReadDexFileHeader() local1775 if (!file->ReadFully(&raw_header, sizeof(DexFile::Header))) { in ReadDexFileHeader()1780 if (!ValidateDexFileHeader(raw_header, oat_dex_file->GetLocation())) { in ReadDexFileHeader()1784 const UnalignedDexFileHeader* header = AsUnalignedDexFileHeader(raw_header); in ReadDexFileHeader()1791 bool OatWriter::ValidateDexFileHeader(const uint8_t* raw_header, const char* location) { in ValidateDexFileHeader() argument1792 if (!DexFile::IsMagicValid(raw_header)) { in ValidateDexFileHeader()1796 if (!DexFile::IsVersionValid(raw_header)) { in ValidateDexFileHeader()1800 const UnalignedDexFileHeader* header = AsUnalignedDexFileHeader(raw_header); in ValidateDexFileHeader()
258 bool ValidateDexFileHeader(const uint8_t* raw_header, const char* location);