Searched refs:IsMagicValid (Results 1 – 16 of 16) sorted by relevance
56 bool StandardDexFile::IsMagicValid(const uint8_t* magic) { in IsMagicValid() function in art::StandardDexFile70 bool StandardDexFile::IsMagicValid() const { in IsMagicValid() function in art::StandardDexFile71 return IsMagicValid(header_->magic_); in IsMagicValid()
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()
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()
95 static bool IsMagicValid(const uint8_t* magic);96 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()
153 if (!IsMagicValid()) { in CheckMagicAndVersion()
221 virtual bool IsMagicValid() const = 0;
84 bool IsMagicValid() const;88 return IsMagicValid() && IsVerifierDepsVersionValid() && IsDexSectionVersionValid(); in IsValid()
52 bool VdexFile::VerifierDepsHeader::IsMagicValid() const { in IsMagicValid() function in art::VdexFile::VerifierDepsHeader85 DCHECK(IsMagicValid()); in VerifierDepsHeader()
778 const bool valid_magic = DexFileLoader::IsMagicValid(dex_file_pointer); in Setup()1884 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()
469 const bool valid_standard_dex_magic = DexFileLoader::IsMagicValid(raw_header); in ValidateDexFileHeader()528 if (DexFileLoader::IsMagicValid(magic)) { in AddDexFileSource()595 if (!DexFileLoader::IsMagicValid(current_dex_data)) { in AddVdexDexFilesSource()3255 if (!CompactDexFile::IsMagicValid(header.magic_)) { in WriteDexFiles()3280 if (!CompactDexFile::IsMagicValid(header.magic_)) { in WriteDexFiles()
795 if (CompactDexFile::IsMagicValid(header_->Magic())) { in WriteHeader()