Home
last modified time | relevance | path

Searched refs:kDexVersionLen (Results 1 – 6 of 6) sorted by relevance

/art/libdexfile/dex/
Dstandard_dex_file.cc28 [StandardDexFile::kNumDexVersions][StandardDexFile::kDexVersionLen] = {
48 std::copy_n(kDexMagicVersions[StandardDexFile::kDexVersionLen - 1], in WriteCurrentVersion()
49 kDexVersionLen, in WriteCurrentVersion()
55 std::copy_n(kDexMagicVersions[0u], kDexVersionLen, magic + kDexMagicSize); in WriteVersionBeforeDefaultMethods()
65 if (memcmp(version, kDexMagicVersions[i], kDexVersionLen) == 0) { in IsVersionValid()
Dcompact_dex_file.cc32 std::copy_n(kDexMagicVersion, kDexVersionLen, magic + kDexMagicSize); in WriteCurrentVersion()
41 return memcmp(version, kDexMagicVersion, kDexVersionLen) == 0; in IsVersionValid()
Dstandard_dex_file.h95 static const uint8_t kDexMagicVersions[kNumDexVersions][kDexVersionLen];
Dcompact_dex_file_test.cc28 static const size_t len = CompactDexFile::kDexVersionLen + CompactDexFile::kDexMagicSize; in TEST()
Ddex_file.h117 static constexpr size_t kDexVersionLen = 4; variable
/art/dex2oat/
Ddex2oat_test.cc1546 std::copy_n(kDexMagicVersion, kDexVersionLen, magic + kDexMagicSize); in WriteCurrentVersion()