Home
last modified time | relevance | path

Searched refs:raw_header (Results 1 – 2 of 2) sorted by relevance

/art/compiler/
Doat_writer.cc1774 uint8_t raw_header[sizeof(DexFile::Header)]; in ReadDexFileHeader() local
1775 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() argument
1792 if (!DexFile::IsMagicValid(raw_header)) { in ValidateDexFileHeader()
1796 if (!DexFile::IsVersionValid(raw_header)) { in ValidateDexFileHeader()
1800 const UnalignedDexFileHeader* header = AsUnalignedDexFileHeader(raw_header); in ValidateDexFileHeader()
Doat_writer.h258 bool ValidateDexFileHeader(const uint8_t* raw_header, const char* location);