Home
last modified time | relevance | path

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

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