Searched refs:raw_header (Results 1 – 1 of 1) sorted by relevance
468 static bool ValidateDexFileHeader(const uint8_t* raw_header, const char* location) { in ValidateDexFileHeader() argument469 const bool valid_standard_dex_magic = DexFileLoader::IsMagicValid(raw_header); in ValidateDexFileHeader()474 if (!DexFileLoader::IsVersionAndMagicValid(raw_header)) { in ValidateDexFileHeader()478 const UnalignedDexFileHeader* header = AsUnalignedDexFileHeader(raw_header); in ValidateDexFileHeader()488 uint8_t* raw_header, in GetDexFileHeader() argument491 if (!file->ReadFully(raw_header, sizeof(DexFile::Header))) { in GetDexFileHeader()496 if (!ValidateDexFileHeader(raw_header, location)) { in GetDexFileHeader()500 return AsUnalignedDexFileHeader(raw_header); in GetDexFileHeader()529 uint8_t raw_header[sizeof(DexFile::Header)]; in AddDexFileSource() local530 const UnalignedDexFileHeader* header = GetDexFileHeader(&dex_file_fd, raw_header, location); in AddDexFileSource()