Searched refs:kDexMagic (Results 1 – 5 of 5) sorted by relevance
/art/libdexfile/dex/ |
D | standard_dex_file.cc | 26 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()
|
D | compact_dex_file.cc | 25 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()
|
D | standard_dex_file.h | 90 static const uint8_t kDexMagic[kDexMagicSize]; variable
|
D | compact_dex_file.h | 29 static constexpr uint8_t kDexMagic[kDexMagicSize] = { 'c', 'd', 'e', 'x' };
|
D | test_dex_file_builder.h | 93 std::copy_n(StandardDexFile::kDexMagic, 4u, header->magic_); in Build()
|