/art/runtime/ |
D | oat.cc | 83 static_assert(sizeof(magic_) == sizeof(kOatMagic), in OatHeader() 88 magic_ = kOatMagic; in OatHeader() 98 if (magic_ != kOatMagic) { in IsValid() 114 if (magic_ != kOatMagic) { in GetValidationErrorMessage() 118 magic_[0], magic_[1], magic_[2], magic_[3]); in GetValidationErrorMessage() 149 return reinterpret_cast<const char*>(magic_.data()); in GetMagic()
|
D | image.cc | 74 memcpy(magic_, kImageMagic, sizeof(kImageMagic)); in ImageHeader() 116 if (memcmp(magic_, kImageMagic, sizeof(kImageMagic)) != 0) { in IsValid() 143 return reinterpret_cast<const char*>(magic_); in GetMagic()
|
D | vdex_file.h | 77 const char* GetMagic() const { return reinterpret_cast<const char*>(magic_); } in GetMagic() 129 uint8_t magic_[4]; member
|
D | oat.h | 119 std::array<uint8_t, 4> magic_; variable
|
D | vdex_file.cc | 53 return (memcmp(magic_, kVdexMagic, sizeof(kVdexMagic)) == 0); in IsMagicValid() 78 memcpy(magic_, kVdexMagic, sizeof(kVdexMagic)); in VerifierDepsHeader()
|
D | image.h | 435 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 | 93 std::copy_n(StandardDexFile::kDexMagic, 4u, header->magic_); in Build() 94 std::copy_n(StandardDexFile::kDexMagicVersions[0], 4u, header->magic_ + 4u); in Build() 225 size_t skip = sizeof(header->magic_) + sizeof(header->checksum_); in Build()
|
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 | 91 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/libartbase/base/ |
D | common_art_test.h | 116 CompactDexFile::WriteMagic(header->magic_); in CreateFakeDex() 117 CompactDexFile::WriteCurrentVersion(header->magic_); in CreateFakeDex()
|
/art/libdexfile/external/ |
D | dex_file_ext.cc | 159 if (art::CompactDexFile::IsMagicValid(header->magic_)) { in ExtDexFileOpenFromMemory() 173 } else if (!art::StandardDexFile::IsMagicValid(header->magic_)) { in ExtDexFileOpenFromMemory()
|
/art/dexlayout/ |
D | compact_dex_writer.cc | 272 CompactDexFile::WriteMagic(&header.magic_[0]); in WriteHeader() 273 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 | 555 char sanitized[sizeof(pHeader.magic_) * 2 + 1]; in dumpFileHeader() 557 asciify(sanitized, pHeader.magic_, sizeof(pHeader.magic_)); in dumpFileHeader() 1810 fprintf(gOutFile, "', DEX version '%.3s'\n", pDexFile->GetHeader().magic_ + 4); in processDexFile()
|
/art/runtime/jit/ |
D | debugger_interface.cc | 145 uint8_t magic_[8] = {'A', 'n', 'd', 'r', 'o', 'i', 'd', '2'}; member
|
/art/dex2oat/ |
D | dex2oat_test.cc | 2095 StandardDexFile::WriteMagic(header.magic_); in TEST_F() 2096 StandardDexFile::WriteCurrentVersion(header.magic_); in TEST_F() 2123 CompactDexFile::WriteMagic(header.magic_); in TEST_F() 2124 CompactDexFile::WriteCurrentVersion(header.magic_); in TEST_F()
|
/art/dex2oat/linker/ |
D | oat_writer.cc | 3255 if (!CompactDexFile::IsMagicValid(header.magic_)) { in WriteDexFiles() 3280 if (!CompactDexFile::IsMagicValid(header.magic_)) { in WriteDexFiles()
|