/art/libdexfile/dex/ |
D | standard_dex_file.cc | 64 return IsMagicValid(header_->magic_); in IsMagicValid() 68 return IsVersionValid(header_->magic_); in IsVersionValid()
|
D | compact_dex_file.cc | 46 return IsMagicValid(header_->magic_); in IsMagicValid() 50 return IsVersionValid(header_->magic_); in IsVersionValid()
|
D | code_item_accessors_test.cc | 35 CompactDexFile::WriteMagic(header->magic_); in CreateFakeDex() 36 CompactDexFile::WriteCurrentVersion(header->magic_); in CreateFakeDex()
|
D | dex_file.cc | 154 << " " << header_->magic_[0] in CheckMagicAndVersion() 155 << " " << header_->magic_[1] in CheckMagicAndVersion() 156 << " " << header_->magic_[2] in CheckMagicAndVersion() 157 << " " << header_->magic_[3]; in CheckMagicAndVersion() 164 << " " << header_->magic_[4] in CheckMagicAndVersion() 165 << " " << header_->magic_[5] in CheckMagicAndVersion() 166 << " " << header_->magic_[6] in CheckMagicAndVersion() 167 << " " << header_->magic_[7]; in CheckMagicAndVersion() 202 const char* version = reinterpret_cast<const char*>(&magic_[kDexMagicSize]); in GetVersion()
|
D | test_dex_file_builder.h | 92 std::copy_n(StandardDexFile::kDexMagic, 4u, header->magic_); in Build() 93 std::copy_n(StandardDexFile::kDexMagicVersions[0], 4u, header->magic_ + 4u); in Build() 224 size_t skip = sizeof(header->magic_) + sizeof(header->checksum_); in Build()
|
D | dex_file_loader_test.cc | 279 EXPECT_EQ(*kExpectedDexFileMagic, *header.magic_); in ValidateDexFileHeader()
|
D | dex_file_verifier_test.cc | 41 size_t offset = OFFSETOF_MEMBER(DexFile::Header, magic_) + 6; in MakeDexVersion37() 50 const uint32_t non_sum = sizeof(DexFile::Header::magic_) + sizeof(DexFile::Header::checksum_); in FixUpChecksum()
|
D | dex_file.h | 85 uint8_t magic_[8] = {}; member
|
/art/runtime/ |
D | oat.cc | 89 static_assert(sizeof(magic_) == sizeof(kOatMagic), in OatHeader() 94 memcpy(magic_, kOatMagic, sizeof(kOatMagic)); in OatHeader() 104 if (memcmp(magic_, kOatMagic, sizeof(kOatMagic)) != 0) { in IsValid() 123 if (memcmp(magic_, kOatMagic, sizeof(kOatMagic)) != 0) { in GetValidationErrorMessage() 127 magic_[0], magic_[1], magic_[2], magic_[3]); in GetValidationErrorMessage() 149 return reinterpret_cast<const char*>(magic_); in GetMagic()
|
D | image.cc | 75 memcpy(magic_, kImageMagic, sizeof(kImageMagic)); in ImageHeader() 103 if (memcmp(magic_, kImageMagic, sizeof(kImageMagic)) != 0) { in IsValid() 130 return reinterpret_cast<const char*>(magic_); in GetMagic()
|
D | vdex_file.h | 67 const char* GetMagic() const { return reinterpret_cast<const char*>(magic_); } in GetMagic() 107 uint8_t magic_[4]; member
|
D | vdex_file.cc | 46 return (memcmp(magic_, kVdexMagic, sizeof(kVdexMagic)) == 0); in IsMagicValid() 67 memcpy(magic_, kVdexMagic, sizeof(kVdexMagic)); in VerifierDepsHeader()
|
D | oat.h | 135 uint8_t magic_[4]; variable
|
D | image.h | 388 uint8_t magic_[4]; variable
|
D | check_jni.cc | 1599 magic_(kGuardMagic), adler_(adler), original_ptr_(original_buf), original_length_(len) { in GuardedCopy() 1645 if (UNLIKELY(memcmp(&magic_, &kMagicCmp, 4) != 0)) { in CheckHeader() 1647 memcpy(buf, &magic_, 4); in CheckHeader() 1728 const uint32_t magic_; member in art::__anona1964fb70111::GuardedCopy
|
D | oat_file.cc | 1720 if (CompactDexFile::IsMagicValid(dex_header->magic_)) { in OatDexFile()
|
/art/compiler/jit/ |
D | jit_logger.cc | 113 uint32_t magic_; // Characters "JiTD" member 236 header.magic_ = PerfJitHeader::kMagic; in WriteJitDumpHeader()
|
/art/runtime/jit/ |
D | debugger_interface.cc | 106 uint8_t magic_[8] = {'A', 'n', 'd', 'r', 'o', 'i', 'd', '1'}; member
|
/art/dexlayout/ |
D | dex_ir_builder.cc | 36 Header* header = new Header(disk_header.magic_, in DexIrBuilder()
|
D | compact_dex_writer.cc | 274 CompactDexFile::WriteMagic(&header.magic_[0]); in WriteHeader() 275 CompactDexFile::WriteCurrentVersion(&header.magic_[0]); in WriteHeader()
|
D | dex_ir.h | 549 memcpy(magic_, magic, sizeof(magic_)); in Header() 556 const uint8_t* Magic() const { return magic_; } in Magic() 587 uint8_t magic_[8];
|
D | dex_writer.cc | 748 StandardDexFile::WriteMagic(header.magic_); in WriteHeader() 750 StandardDexFile::WriteCurrentVersion(header.magic_); in WriteHeader() 755 std::copy_n(header_->Magic(), kMagicAndVersionLen, header.magic_); in WriteHeader()
|
D | dexlayout.cc | 1888 file_name, dex_file->GetHeader().magic_ + 4); in ProcessDexFile()
|
/art/dexdump/ |
D | dexdump.cc | 557 char sanitized[sizeof(pHeader.magic_) * 2 + 1]; in dumpFileHeader() 559 asciify(sanitized, pHeader.magic_, sizeof(pHeader.magic_)); in dumpFileHeader() 1835 fprintf(gOutFile, "', DEX version '%.3s'\n", pDexFile->GetHeader().magic_ + 4); in processDexFile()
|
/art/dex2oat/ |
D | dex2oat_test.cc | 2035 StandardDexFile::WriteMagic(header.magic_); in TEST_F() 2036 StandardDexFile::WriteCurrentVersion(header.magic_); in TEST_F() 2063 CompactDexFile::WriteMagic(header.magic_); in TEST_F() 2064 CompactDexFile::WriteCurrentVersion(header.magic_); in TEST_F()
|