Home
last modified time | relevance | path

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

/art/dex2oat/linker/
Doat_writer.cc468 static bool ValidateDexFileHeader(const uint8_t* raw_header, const char* location) { in ValidateDexFileHeader() argument
469 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() argument
491 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() local
530 const UnalignedDexFileHeader* header = GetDexFileHeader(&dex_file_fd, raw_header, location); in AddDexFileSource()