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::kDexVersionLen] = {
46 std::copy_n(kDexMagicVersions[StandardDexFile::kDexVersionLen - 1], in WriteCurrentVersion()
47 kDexVersionLen, in WriteCurrentVersion()
53 std::copy_n(kDexMagicVersions[0u], kDexVersionLen, magic + kDexMagicSize); in WriteVersionBeforeDefaultMethods()
63 if (memcmp(version, kDexMagicVersions[i], kDexVersionLen) == 0) { in IsVersionValid()
Dcompact_dex_file.cc33 std::copy_n(kDexMagicVersion, kDexVersionLen, magic + kDexMagicSize); in WriteCurrentVersion()
42 return memcmp(version, kDexMagicVersion, kDexVersionLen) == 0; in IsVersionValid()
Dstandard_dex_file.h92 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.h77 static constexpr size_t kDexVersionLen = 4; variable
/art/dexlayout/
Ddex_writer.cc805 StandardDexFile::kDexMagicSize + StandardDexFile::kDexVersionLen; in WriteHeader()