Searched refs:raw_header (Results 1 – 1 of 1) sorted by relevance
481 static bool ValidateDexFileHeader(const uint8_t* raw_header, const char* location) { in ValidateDexFileHeader() argument482 const bool valid_standard_dex_magic = DexFileLoader::IsMagicValid(raw_header); in ValidateDexFileHeader()487 if (!DexFileLoader::IsVersionAndMagicValid(raw_header)) { in ValidateDexFileHeader()491 const UnalignedDexFileHeader* header = AsUnalignedDexFileHeader(raw_header); in ValidateDexFileHeader()501 uint8_t* raw_header, in GetDexFileHeader() argument504 if (!file->ReadFully(raw_header, sizeof(DexFile::Header))) { in GetDexFileHeader()509 if (!ValidateDexFileHeader(raw_header, location)) { in GetDexFileHeader()513 return AsUnalignedDexFileHeader(raw_header); in GetDexFileHeader()542 uint8_t raw_header[sizeof(DexFile::Header)]; in AddDexFileSource() local543 const UnalignedDexFileHeader* header = GetDexFileHeader(&dex_file_fd, raw_header, location); in AddDexFileSource()