/art/runtime/ |
D | oat.cc | 31 constexpr uint8_t OatHeader::kOatMagic[4]; 32 constexpr uint8_t OatHeader::kOatVersion[4]; 33 constexpr const char OatHeader::kTrueValue[]; 34 constexpr const char OatHeader::kFalseValue[]; 46 return sizeof(OatHeader) + estimate; in ComputeOatHeaderSize() 49 OatHeader* OatHeader::Create(InstructionSet instruction_set, in Create() 60 return new (memory) OatHeader(instruction_set, in Create() 66 OatHeader::OatHeader(InstructionSet instruction_set, in OatHeader() function in art::OatHeader 101 bool OatHeader::IsValid() const { in IsValid() 120 std::string OatHeader::GetValidationErrorMessage() const { in GetValidationErrorMessage() [all …]
|
D | oat.h | 32 class PACKED(4) OatHeader { 52 static OatHeader* Create(InstructionSet instruction_set, 121 OatHeader(InstructionSet instruction_set, 156 DISALLOW_COPY_AND_ASSIGN(OatHeader);
|
D | oat_file.h | 43 class OatHeader; variable 118 const OatHeader& GetOatHeader() const;
|
D | dexopt_test.cc | 119 const OatHeader& oat_header = odex_file->GetOatHeader(); in GenerateOatForTest()
|
D | oat_file.cc | 315 oat += sizeof(OatHeader); in Setup() 327 sizeof(OatHeader), in Setup() 1171 const OatHeader& OatFile::GetOatHeader() const { in GetOatHeader() 1172 return *reinterpret_cast<const OatHeader*>(Begin()); in GetOatHeader()
|
D | oat_file_manager.cc | 587 shared_libraries(oat_file->GetOatHeader().GetStoreValueByKey(OatHeader::kClassPathKey)); in HasCollisions()
|
D | oat_file_assistant.cc | 484 const OatHeader& oat_header = file.GetOatHeader(); in GivenOatFileStatus()
|
D | runtime.cc | 955 const OatHeader& boot_oat_header = oat_file->GetOatHeader(); in OpenDexFilesFromImage() 956 const char* boot_cp = boot_oat_header.GetStoreValueByKey(OatHeader::kBootClassPathKey); in OpenDexFilesFromImage()
|
D | class_linker.cc | 909 const OatHeader& default_oat_header = oat_files[0]->GetOatHeader(); in InitFromBootImage() 912 GetStoreValueByKey(OatHeader::kImageLocationKey); in InitFromBootImage() 921 const OatHeader& ith_oat_header = oat_files[i]->GetOatHeader(); in InitFromBootImage()
|
/art/compiler/debug/ |
D | elf_debug_writer.h | 29 class OatHeader; variable 61 std::vector<MethodDebugInfo> MakeTrampolineInfos(const OatHeader& oat_header);
|
D | elf_debug_writer.cc | 176 std::vector<MethodDebugInfo> MakeTrampolineInfos(const OatHeader& header) { in MakeTrampolineInfos()
|
/art/compiler/ |
D | oat_test.cc | 407 key_value_store.Put(OatHeader::kImageLocationKey, "lue.art"); in TEST_F() 428 const OatHeader& oat_header = oat_file->GetOatHeader(); in TEST_F() 433 ASSERT_EQ("lue.art", std::string(oat_header.GetStoreValueByKey(OatHeader::kImageLocationKey))); in TEST_F() 486 EXPECT_EQ(72U, sizeof(OatHeader)); in TEST_F() 499 std::unique_ptr<OatHeader> oat_header(OatHeader::Create(insn_set, in TEST_F() 545 key_value_store.Put(OatHeader::kImageLocationKey, "test.art"); in TEST_F() 607 key_value_store.Put(OatHeader::kImageLocationKey, "test.art"); in TestDexFileInput() 720 key_value_store.Put(OatHeader::kImageLocationKey, "test.art"); in TestZipFileInput() 833 key_value_store.Put(OatHeader::kImageLocationKey, "test.art"); in TestZipFileInputWithEmptyDex() 852 std::unique_ptr<OatHeader> oat_header(OatHeader::Create(insn_set, in TEST_F() [all …]
|
D | oat_writer.h | 208 const OatHeader& GetOatHeader() const { in GetOatHeader() 395 std::unique_ptr<OatHeader> oat_header_;
|
D | oat_writer.cc | 73 ChecksumUpdatingOutputStream(OutputStream* out, OatHeader* oat_header) in ChecksumUpdatingOutputStream() 91 OatHeader* const oat_header_; 598 oat_header_->GetStoreValueByKey(OatHeader::kImageLocationKey) == nullptr); in PrepareLayout() 1719 oat_header_.reset(OatHeader::Create(instruction_set, in InitOatHeader() 1723 size_oat_header_ += sizeof(OatHeader); in InitOatHeader() 1724 size_oat_header_key_value_store_ += oat_header_->GetHeaderSize() - sizeof(OatHeader); in InitOatHeader()
|
D | image_writer.h | 158 void UpdateOatFileHeader(size_t oat_index, const OatHeader& oat_header);
|
D | image_test.cc | 228 key_value_store.Put(OatHeader::kBootClassPathKey, in Compile()
|
D | image_writer.cc | 2373 const OatHeader& header = oat_file->GetOatHeader(); in GetOatAddress() 2624 void ImageWriter::UpdateOatFileHeader(size_t oat_index, const OatHeader& oat_header) { in UpdateOatFileHeader()
|
/art/dex2oat/ |
D | dex2oat.cc | 1080 key_value_store_->Put(OatHeader::kDex2OatCmdLineKey, oss.str()); in InsertCompileOptions() 1083 key_value_store_->Put(OatHeader::kDex2OatHostKey, oss.str()); in InsertCompileOptions() 1085 OatHeader::kPicKey, in InsertCompileOptions() 1086 compiler_options_->compile_pic_ ? OatHeader::kTrueValue : OatHeader::kFalseValue); in InsertCompileOptions() 1088 OatHeader::kDebuggableKey, in InsertCompileOptions() 1089 compiler_options_->debuggable_ ? OatHeader::kTrueValue : OatHeader::kFalseValue); in InsertCompileOptions() 1091 OatHeader::kNativeDebuggableKey, in InsertCompileOptions() 1092 compiler_options_->GetNativeDebuggable() ? OatHeader::kTrueValue : OatHeader::kFalseValue); in InsertCompileOptions() 1093 key_value_store_->Put(OatHeader::kCompilerFilter, in InsertCompileOptions() 1095 key_value_store_->Put(OatHeader::kConcurrentCopying, in InsertCompileOptions() [all …]
|
/art/patchoat/ |
D | patchoat.cc | 58 static const OatHeader* GetOatHeader(const ElfFile* elf_file) { in GetOatHeader() 64 OatHeader* oat_header = reinterpret_cast<OatHeader*>(elf_file->Begin() + off); in GetOatHeader() 334 const OatHeader* oat_header = GetOatHeader(oat_in); in IsOatPic()
|
D | patchoat.h | 36 class OatHeader; variable
|
/art/test/common/ |
D | runtime_state.cc | 107 const char* cmd_line = oat_file->GetOatHeader().GetStoreValueByKey(OatHeader::kDex2OatCmdLineKey); in Java_Main_compiledWithOptimizing()
|
/art/runtime/gc/space/ |
D | image_space.cc | 1667 const OatHeader& boot_oat_header = boot_oat_file->GetOatHeader(); in LoadBootImage() 1669 boot_oat_header.GetStoreValueByKey(OatHeader::kBootClassPathKey); in LoadBootImage()
|
/art/oatdump/ |
D | oatdump.cc | 257 const OatHeader& oat_header = oat_file_->GetOatHeader(); in WalkOatMethod() 376 const OatHeader& oat_header = oat_file_.GetOatHeader(); in Dump()
|