Home
last modified time | relevance | path

Searched refs:OatHeader (Results 1 – 23 of 23) sorted by relevance

/art/runtime/
Doat.cc31 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 …]
Doat.h32 class PACKED(4) OatHeader {
52 static OatHeader* Create(InstructionSet instruction_set,
121 OatHeader(InstructionSet instruction_set,
156 DISALLOW_COPY_AND_ASSIGN(OatHeader);
Doat_file.h43 class OatHeader; variable
118 const OatHeader& GetOatHeader() const;
Ddexopt_test.cc119 const OatHeader& oat_header = odex_file->GetOatHeader(); in GenerateOatForTest()
Doat_file.cc315 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()
Doat_file_manager.cc587 shared_libraries(oat_file->GetOatHeader().GetStoreValueByKey(OatHeader::kClassPathKey)); in HasCollisions()
Doat_file_assistant.cc484 const OatHeader& oat_header = file.GetOatHeader(); in GivenOatFileStatus()
Druntime.cc955 const OatHeader& boot_oat_header = oat_file->GetOatHeader(); in OpenDexFilesFromImage()
956 const char* boot_cp = boot_oat_header.GetStoreValueByKey(OatHeader::kBootClassPathKey); in OpenDexFilesFromImage()
Dclass_linker.cc909 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/
Delf_debug_writer.h29 class OatHeader; variable
61 std::vector<MethodDebugInfo> MakeTrampolineInfos(const OatHeader& oat_header);
Delf_debug_writer.cc176 std::vector<MethodDebugInfo> MakeTrampolineInfos(const OatHeader& header) { in MakeTrampolineInfos()
/art/compiler/
Doat_test.cc407 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 …]
Doat_writer.h208 const OatHeader& GetOatHeader() const { in GetOatHeader()
395 std::unique_ptr<OatHeader> oat_header_;
Doat_writer.cc73 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()
Dimage_writer.h158 void UpdateOatFileHeader(size_t oat_index, const OatHeader& oat_header);
Dimage_test.cc228 key_value_store.Put(OatHeader::kBootClassPathKey, in Compile()
Dimage_writer.cc2373 const OatHeader& header = oat_file->GetOatHeader(); in GetOatAddress()
2624 void ImageWriter::UpdateOatFileHeader(size_t oat_index, const OatHeader& oat_header) { in UpdateOatFileHeader()
/art/dex2oat/
Ddex2oat.cc1080 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/
Dpatchoat.cc58 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()
Dpatchoat.h36 class OatHeader; variable
/art/test/common/
Druntime_state.cc107 const char* cmd_line = oat_file->GetOatHeader().GetStoreValueByKey(OatHeader::kDex2OatCmdLineKey); in Java_Main_compiledWithOptimizing()
/art/runtime/gc/space/
Dimage_space.cc1667 const OatHeader& boot_oat_header = boot_oat_file->GetOatHeader(); in LoadBootImage()
1669 boot_oat_header.GetStoreValueByKey(OatHeader::kBootClassPathKey); in LoadBootImage()
/art/oatdump/
Doatdump.cc257 const OatHeader& oat_header = oat_file_->GetOatHeader(); in WalkOatMethod()
376 const OatHeader& oat_header = oat_file_.GetOatHeader(); in Dump()