Searched refs:IsMagicValid (Results 1 – 16 of 16) sorted by relevance
49 bool StandardDexFile::IsMagicValid(const uint8_t* magic) { in IsMagicValid() function in art::StandardDexFile63 bool StandardDexFile::IsMagicValid() const { in IsMagicValid() function in art::StandardDexFile64 return IsMagicValid(header_->magic_); in IsMagicValid()
152 bool DexFileLoader::IsMagicValid(uint32_t magic) { in IsMagicValid() function in art::DexFileLoader153 return IsMagicValid(reinterpret_cast<uint8_t*>(&magic)); in IsMagicValid()156 bool DexFileLoader::IsMagicValid(const uint8_t* magic) { in IsMagicValid() function in art::DexFileLoader157 return StandardDexFile::IsMagicValid(magic) || in IsMagicValid()158 CompactDexFile::IsMagicValid(magic); in IsMagicValid()162 if (StandardDexFile::IsMagicValid(magic)) { in IsVersionAndMagicValid()165 if (CompactDexFile::IsMagicValid(magic)) { in IsVersionAndMagicValid()295 if (IsMagicValid(magic)) { in OpenAll()332 if (size >= sizeof(StandardDexFile::Header) && StandardDexFile::IsMagicValid(base)) { in OpenCommon()342 } else if (size >= sizeof(CompactDexFile::Header) && CompactDexFile::IsMagicValid(base)) { in OpenCommon()
36 bool CompactDexFile::IsMagicValid(const uint8_t* magic) { in IsMagicValid() function in art::CompactDexFile45 bool CompactDexFile::IsMagicValid() const { in IsMagicValid() function in art::CompactDexFile46 return IsMagicValid(header_->magic_); in IsMagicValid()
75 static bool IsMagicValid(const uint8_t* magic);76 bool IsMagicValid() const override;
39 EXPECT_EQ(valid_magic, CompactDexFile::IsMagicValid(header)); in TEST()41 EXPECT_EQ(valid_magic, DexFileLoader::IsMagicValid(header)); in TEST()
53 static bool IsMagicValid(uint32_t magic);54 static bool IsMagicValid(const uint8_t* magic);
255 static bool IsMagicValid(const uint8_t* magic);256 bool IsMagicValid() const override;
142 if (IsMagicValid(magic)) { in GetMultiDexChecksums()265 if (IsMagicValid(magic)) { in OpenWithMagic()
152 if (!IsMagicValid()) { in CheckMagicAndVersion()
218 virtual bool IsMagicValid() const = 0;
84 bool IsMagicValid() const;88 return IsMagicValid() && IsVerifierDepsVersionValid() && IsDexSectionVersionValid(); in IsValid()
51 bool VdexFile::VerifierDepsHeader::IsMagicValid() const { in IsMagicValid() function in art::VdexFile::VerifierDepsHeader84 DCHECK(IsMagicValid()); in VerifierDepsHeader()
707 const bool valid_magic = DexFileLoader::IsMagicValid(dex_file_pointer); in Setup()1894 if (CompactDexFile::IsMagicValid(dex_header->magic_)) { in OatDexFile()
159 if (art::CompactDexFile::IsMagicValid(header->magic_)) { in ExtDexFileOpenFromMemory()173 } else if (!art::StandardDexFile::IsMagicValid(header->magic_)) { in ExtDexFileOpenFromMemory()
467 const bool valid_standard_dex_magic = DexFileLoader::IsMagicValid(raw_header); in ValidateDexFileHeader()511 } else if (DexFileLoader::IsMagicValid(magic)) { in AddDexFileSource()588 if (!DexFileLoader::IsMagicValid(current_dex_data)) { in AddVdexDexFilesSource()3238 if (!CompactDexFile::IsMagicValid(header.magic_)) { in WriteDexFiles()3263 if (!CompactDexFile::IsMagicValid(header.magic_)) { in WriteDexFiles()
795 if (CompactDexFile::IsMagicValid(header_->Magic())) { in WriteHeader()