Searched refs:IsMagicValid (Results 1 – 13 of 13) 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()
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()
156 bool DexFileLoader::IsMagicValid(uint32_t magic) { in IsMagicValid() function in art::DexFileLoader157 return IsMagicValid(reinterpret_cast<uint8_t*>(&magic)); in IsMagicValid()160 bool DexFileLoader::IsMagicValid(const uint8_t* magic) { in IsMagicValid() function in art::DexFileLoader161 return StandardDexFile::IsMagicValid(magic) || in IsMagicValid()162 CompactDexFile::IsMagicValid(magic); in IsMagicValid()166 if (StandardDexFile::IsMagicValid(magic)) { in IsVersionAndMagicValid()169 if (CompactDexFile::IsMagicValid(magic)) { in IsVersionAndMagicValid()289 if (IsMagicValid(magic)) { in OpenAll()326 if (size >= sizeof(StandardDexFile::Header) && StandardDexFile::IsMagicValid(base)) { in OpenCommon()336 } else if (size >= sizeof(CompactDexFile::Header) && CompactDexFile::IsMagicValid(base)) { in OpenCommon()
75 static bool IsMagicValid(const uint8_t* magic);76 virtual bool IsMagicValid() const OVERRIDE;
39 EXPECT_EQ(valid_magic, CompactDexFile::IsMagicValid(header)); in TEST()41 EXPECT_EQ(valid_magic, DexFileLoader::IsMagicValid(header)); in TEST()
44 static bool IsMagicValid(uint32_t magic);45 static bool IsMagicValid(const uint8_t* magic);
255 static bool IsMagicValid(const uint8_t* magic);256 virtual bool IsMagicValid() const OVERRIDE;
151 if (!IsMagicValid()) { in CheckMagicAndVersion()
74 bool IsMagicValid() const;78 return IsMagicValid() && IsVerifierDepsVersionValid() && IsDexSectionVersionValid(); in IsValid()
45 bool VdexFile::VerifierDepsHeader::IsMagicValid() const { in IsMagicValid() function in art::VdexFile::VerifierDepsHeader74 DCHECK(IsMagicValid()); in VerifierDepsHeader()
718 const bool valid_magic = DexFileLoader::IsMagicValid(dex_file_pointer); in Setup()1720 if (CompactDexFile::IsMagicValid(dex_header->magic_)) { in OatDexFile()
141 if (IsMagicValid(magic)) { in GetMultiDexChecksums()235 if (IsMagicValid(magic)) { in Open()
747 if (CompactDexFile::IsMagicValid(header_->Magic())) { in WriteHeader()