Home
last modified time | relevance | path

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

/art/libdexfile/dex/
Dstandard_dex_file.cc26 const uint8_t StandardDexFile::kDexMagic[] = { 'd', 'e', 'x', '\n' }; member in art::StandardDexFile
42 std::copy_n(kDexMagic, kDexMagicSize, magic); in WriteMagic()
57 return (memcmp(magic, kDexMagic, sizeof(kDexMagic)) == 0); in IsMagicValid()
61 const uint8_t* version = &magic[sizeof(kDexMagic)]; in IsVersionValid()
Dcompact_dex_file.cc25 constexpr uint8_t CompactDexFile::kDexMagic[kDexMagicSize]; member in art::CompactDexFile
29 std::copy_n(kDexMagic, kDexMagicSize, magic); in WriteMagic()
37 return (memcmp(magic, kDexMagic, sizeof(kDexMagic)) == 0); in IsMagicValid()
41 const uint8_t* version = &magic[sizeof(kDexMagic)]; in IsVersionValid()
Dstandard_dex_file.h90 static const uint8_t kDexMagic[kDexMagicSize]; variable
Dcompact_dex_file.h29 static constexpr uint8_t kDexMagic[kDexMagicSize] = { 'c', 'd', 'e', 'x' };
Dtest_dex_file_builder.h93 std::copy_n(StandardDexFile::kDexMagic, 4u, header->magic_); in Build()