/art/runtime/ |
D | oat.cc | 84 static_assert(decltype(magic_)().size() == kOatMagic.size(), in OatHeader() 89 magic_ = kOatMagic; in OatHeader() 99 if (magic_ != kOatMagic) { in IsValid() 115 if (magic_ != kOatMagic) { in GetValidationErrorMessage() 119 magic_[0], magic_[1], magic_[2], magic_[3]); in GetValidationErrorMessage() 150 return reinterpret_cast<const char*>(magic_.data()); in GetMagic()
|
D | image.cc | 75 memcpy(magic_, kImageMagic, sizeof(kImageMagic)); in ImageHeader() 117 if (memcmp(magic_, kImageMagic, sizeof(kImageMagic)) != 0) { in IsValid() 144 return reinterpret_cast<const char*>(magic_); in GetMagic()
|
D | vdex_file.h | 107 const char* GetMagic() const { return reinterpret_cast<const char*>(magic_); } in GetMagic() 129 uint8_t magic_[4]; member
|
D | oat.h | 125 std::array<uint8_t, 4> magic_; variable
|
D | vdex_file.cc | 52 return (memcmp(magic_, kVdexMagic, sizeof(kVdexMagic)) == 0); in IsMagicValid() 61 memcpy(magic_, kVdexMagic, sizeof(kVdexMagic)); in VdexFileHeader()
|
D | image.h | 432 uint8_t magic_[4]; variable
|
/art/libdexfile/dex/ |
D | standard_dex_file.cc | 71 return IsMagicValid(header_->magic_); in IsMagicValid() 75 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 | dex_file.cc | 156 << " " << header_->magic_[0] in CheckMagicAndVersion() 157 << " " << header_->magic_[1] in CheckMagicAndVersion() 158 << " " << header_->magic_[2] in CheckMagicAndVersion() 159 << " " << header_->magic_[3]; in CheckMagicAndVersion() 166 << " " << header_->magic_[4] in CheckMagicAndVersion() 167 << " " << header_->magic_[5] in CheckMagicAndVersion() 168 << " " << header_->magic_[6] in CheckMagicAndVersion() 169 << " " << header_->magic_[7]; in CheckMagicAndVersion() 209 const char* version = reinterpret_cast<const char*>(&magic_[kDexMagicSize]); in GetVersion()
|
D | code_item_accessors_test.cc | 35 CompactDexFile::WriteMagic(header->magic_); in CreateFakeDex() 36 CompactDexFile::WriteCurrentVersion(header->magic_); in CreateFakeDex()
|
D | test_dex_file_builder.h | 91 std::copy_n(StandardDexFile::kDexMagic, 4u, header->magic_); 92 std::copy_n(StandardDexFile::kDexMagicVersions[0], 4u, header->magic_ + 4u); 227 size_t skip = sizeof(header->magic_) + sizeof(header->checksum_);
|
D | dex_file_loader_test.cc | 283 EXPECT_EQ(*kExpectedDexFileMagic, *header.magic_); in ValidateDexFileHeader()
|
D | dex_file_verifier_test.cc | 44 size_t offset = OFFSETOF_MEMBER(DexFile::Header, magic_) + 6; in MakeDexVersion37() 53 const uint32_t non_sum = sizeof(DexFile::Header::magic_) + sizeof(DexFile::Header::checksum_); in FixUpChecksum()
|
D | dex_file.h | 92 uint8_t magic_[8] = {}; member
|
/art/compiler/jit/ |
D | jit_logger.cc | 112 uint32_t magic_; // Characters "JiTD" member 235 header.magic_ = PerfJitHeader::kMagic; in WriteJitDumpHeader()
|
/art/libdexfile/external/ |
D | dex_file_ext.cc | 158 if (art::CompactDexFile::IsMagicValid(header->magic_)) { in ADexFile_create() 170 } else if (!art::StandardDexFile::IsMagicValid(header->magic_)) { in ADexFile_create()
|
/art/dexlayout/ |
D | compact_dex_writer.cc | 270 CompactDexFile::WriteMagic(&header.magic_[0]); in WriteHeader() 271 CompactDexFile::WriteCurrentVersion(&header.magic_[0]); in WriteHeader()
|
D | dex_writer.cc | 796 StandardDexFile::WriteMagic(header.magic_); in WriteHeader() 798 StandardDexFile::WriteCurrentVersion(header.magic_); in WriteHeader() 800 StandardDexFile::WriteVersionBeforeDefaultMethods(header.magic_); in WriteHeader() 806 std::copy_n(header_->Magic(), kMagicAndVersionLen, header.magic_); in WriteHeader()
|
D | dex_ir.h | 416 const uint8_t* Magic() const { return magic_; } in Magic() 515 uint8_t magic_[8]; 545 memcpy(magic_, magic, sizeof(magic_)); in ConstructorHelper()
|
D | dex_ir_builder.cc | 254 Header* header = new Header(disk_header.magic_, in DexIrBuilder()
|
/art/dexdump/ |
D | dexdump.cc | 594 char sanitized[sizeof(pHeader.magic_) * 2 + 1]; in dumpFileHeader() 596 asciify(sanitized, pHeader.magic_, sizeof(pHeader.magic_)); in dumpFileHeader() 1825 fprintf(gOutFile, "', DEX version '%.3s'\n", pDexFile->GetHeader().magic_ + 4); in processDexFile()
|
/art/libprofile/profile/ |
D | profile_compilation_info.cc | 284 static_assert(sizeof(magic_) == sizeof(kProfileMagic)); in FileHeader() 287 memcpy(magic_, kProfileMagic, sizeof(kProfileMagic)); in FileHeader() 294 return memcmp(magic_, kProfileMagic, sizeof(kProfileMagic)) == 0 && in IsValid() 319 uint8_t magic_[4] = {0, 0, 0, 0}; member in art::ProfileCompilationInfo::FileHeader 329 if (memcmp(magic_, kProfileMagic, sizeof(kProfileMagic)) != 0) { in InvalidHeaderMessage()
|
/art/dex2oat/ |
D | dex2oat_test.cc | 1813 StandardDexFile::WriteMagic(header.magic_); in TEST_F() 1814 StandardDexFile::WriteCurrentVersion(header.magic_); in TEST_F() 1841 CompactDexFile::WriteMagic(header.magic_); in TEST_F() 1842 CompactDexFile::WriteCurrentVersion(header.magic_); in TEST_F()
|
/art/runtime/jit/ |
D | debugger_interface.cc | 153 uint8_t magic_[8] = {'A', 'n', 'd', 'r', 'o', 'i', 'd', '2'}; member
|
/art/runtime/jni/ |
D | check_jni.cc | 1654 magic_(kGuardMagic), adler_(adler), original_ptr_(original_buf), original_length_(len) { in GuardedCopy() 1700 if (UNLIKELY(memcmp(&magic_, &kMagicCmp, 4) != 0)) { in CheckHeader() 1702 memcpy(buf, &magic_, 4); in CheckHeader() 1783 const uint32_t magic_; member in art::__anonaa3778310111::GuardedCopy
|