Home
last modified time | relevance | path

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

/art/runtime/
Doat.cc32 constexpr const char OatHeader::kTrueValue[];
33 constexpr const char OatHeader::kFalseValue[];
45 return sizeof(OatHeader) + estimate; in ComputeOatHeaderSize()
48 OatHeader* OatHeader::Create(InstructionSet instruction_set, in Create()
59 return new (memory) OatHeader(instruction_set, in Create()
65 OatHeader::OatHeader(InstructionSet instruction_set, in OatHeader() function in art::OatHeader
96 bool OatHeader::IsValid() const { in IsValid()
112 std::string OatHeader::GetValidationErrorMessage() const { in GetValidationErrorMessage()
136 void OatHeader::CheckOatVersion(std::array<uint8_t, 4> version) { in CheckOatVersion()
145 const char* OatHeader::GetMagic() const { in GetMagic()
[all …]
Doat.h32 class PACKED(4) OatHeader {
52 static OatHeader* Create(InstructionSet instruction_set,
106 OatHeader(InstructionSet instruction_set,
134 DISALLOW_COPY_AND_ASSIGN(OatHeader);
Ddexopt_test.cc130 const OatHeader& oat_header = odex_file->GetOatHeader(); in GenerateOatForTest()
133 const char* checksums = oat_header.GetStoreValueByKey(OatHeader::kBootClassPathChecksumsKey); in GenerateOatForTest()
Doat_file.h49 class OatHeader; variable
153 const OatHeader& GetOatHeader() const;
Doat_file.cc485 (Size() >= sizeof(OatHeader)) ? GetOatHeader().GetKeyValueStoreSize() : 0u; in Setup()
486 if (Size() < sizeof(OatHeader) + key_value_store_size) { in Setup()
491 sizeof(OatHeader), in Setup()
1431 oat_header_.reset(OatHeader::Create(kRuntimeISA, in Initialize()
1490 std::unique_ptr<OatHeader> oat_header_;
1739 const OatHeader& OatFile::GetOatHeader() const { in GetOatHeader()
1740 return *reinterpret_cast<const OatHeader*>(Begin()); in GetOatHeader()
2173 return GetOatHeader().GetStoreValueByKey(OatHeader::kClassPathKey); in GetClassLoaderContext()
2177 return GetOatHeader().GetStoreValueByKey(OatHeader::kCompilationReasonKey); in GetCompilationReason()
Doat_file_assistant.cc605 oat_file.GetOatHeader().GetStoreValueByKey(OatHeader::kBootClassPathKey); in ValidateBootClassPathChecksums()
636 oat_file.GetOatHeader().GetStoreValueByKey(OatHeader::kBootClassPathChecksumsKey); in ValidateBootClassPathChecksums()
Doat_file_assistant_test.cc163 oat_file->GetOatHeader().GetStoreValueByKey(OatHeader::kClassPathKey)); in TEST_F()
/art/compiler/
Dcompiler.cc34 constexpr std::array<uint8_t, 4> compiler_oat_version = OatHeader::kOatVersion; in Create()
35 OatHeader::CheckOatVersion(compiler_oat_version); in Create()
/art/compiler/debug/
Delf_debug_writer.h31 class OatHeader; variable
/art/dex2oat/linker/
Doat_writer_test.cc399 key_value_store.Put(OatHeader::kBootClassPathChecksumsKey, "testkey"); in TEST_F()
419 const OatHeader& oat_header = oat_file->GetOatHeader(); in TEST_F()
422 ASSERT_TRUE(oat_header.GetStoreValueByKey(OatHeader::kBootClassPathChecksumsKey) != nullptr); in TEST_F()
423 ASSERT_STREQ("testkey", oat_header.GetStoreValueByKey(OatHeader::kBootClassPathChecksumsKey)); in TEST_F()
469 EXPECT_EQ(56U, sizeof(OatHeader)); in TEST_F()
482 std::unique_ptr<OatHeader> oat_header(OatHeader::Create(insn_set, in TEST_F()
Doat_writer.h211 const OatHeader& GetOatHeader() const { in GetOatHeader()
470 std::unique_ptr<OatHeader> oat_header_;
Dimage_test.h229 key_value_store.Put(OatHeader::kBootClassPathKey, in DoCompile()
Dimage_writer.h171 void UpdateOatFileHeader(size_t oat_index, const OatHeader& oat_header);
Doat_writer.cc2016 constexpr std::array<uint8_t, 4> dex2oat_oat_version = OatHeader::kOatVersion; in InitOatHeader()
2017 OatHeader::CheckOatVersion(dex2oat_oat_version); in InitOatHeader()
2018 oat_header_.reset(OatHeader::Create(GetCompilerOptions().GetInstructionSet(), in InitOatHeader()
2022 size_oat_header_ += sizeof(OatHeader); in InitOatHeader()
2023 size_oat_header_key_value_store_ += oat_header_->GetHeaderSize() - sizeof(OatHeader); in InitOatHeader()
Dimage_writer.cc3337 const OatHeader& header = oat_file->GetOatHeader(); in GetOatAddress()
3592 void ImageWriter::UpdateOatFileHeader(size_t oat_index, const OatHeader& oat_header) { in UpdateOatFileHeader()
/art/dex2oat/
Ddex2oat.cc1027 key_value_store_->Put(OatHeader::kDex2OatCmdLineKey, oss.str()); in InsertCompileOptions()
1030 OatHeader::kDebuggableKey, in InsertCompileOptions()
1031 compiler_options_->debuggable_ ? OatHeader::kTrueValue : OatHeader::kFalseValue); in InsertCompileOptions()
1033 OatHeader::kNativeDebuggableKey, in InsertCompileOptions()
1034 compiler_options_->GetNativeDebuggable() ? OatHeader::kTrueValue : OatHeader::kFalseValue); in InsertCompileOptions()
1035 key_value_store_->Put(OatHeader::kCompilerFilter, in InsertCompileOptions()
1037 key_value_store_->Put(OatHeader::kConcurrentCopying, in InsertCompileOptions()
1038 kUseReadBarrier ? OatHeader::kTrueValue : OatHeader::kFalseValue); in InsertCompileOptions()
1498 key_value_store_->Put(OatHeader::kCompilationReasonKey, compilation_reason_); in Setup()
1504 key_value_store_->Put(OatHeader::kBootClassPathKey, android::base::Join(dex_locations_, ':')); in Setup()
[all …]
Ddex2oat_test.cc1078 const char* classpath = oat_file.GetOatHeader().GetStoreValueByKey(OatHeader::kClassPathKey); in RunTest()
/art/test/common/
Druntime_state.cc106 const char* cmd_line = oat_file->GetOatHeader().GetStoreValueByKey(OatHeader::kDex2OatCmdLineKey); in Java_Main_compiledWithOptimizing()
/art/oatdump/
Doatdump.cc189 const OatHeader& oat_header = oat_file_->GetOatHeader(); in Symbolize()
297 const OatHeader& oat_header = oat_file_->GetOatHeader(); in WalkOatMethod()
418 const OatHeader& oat_header = oat_file_.GetOatHeader(); in Dump()
/art/imgdiag/
Dimgdiag.cc851 const OatHeader& oat_header = oat_file->GetOatHeader(); in BuildEntryPointNames()
/art/runtime/entrypoints/quick/
Dquick_trampoline_entrypoints.cc1220 oat_file->GetOatHeader().GetStoreValueByKey(OatHeader::kDex2OatCmdLineKey); in DumpB74410240ClassData()