Home
last modified time | relevance | path

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

/art/libdexfile/dex/
Dcompact_dex_file_test.cc31 const bool valid_magic = (i & 1) == 0; in TEST() local
33 if (valid_magic) { in TEST()
39 EXPECT_EQ(valid_magic, CompactDexFile::IsMagicValid(header)); in TEST()
41 EXPECT_EQ(valid_magic, DexFileLoader::IsMagicValid(header)); in TEST()
42 EXPECT_EQ(valid_magic && valid_version, DexFileLoader::IsVersionAndMagicValid(header)); in TEST()
/art/runtime/
Doat_file.cc860 const bool valid_magic = DexFileLoader::IsMagicValid(dex_file_pointer); in Setup() local
861 if (UNLIKELY(!valid_magic)) { in Setup()