Home
last modified time | relevance | path

Searched refs:GetOatHeader (Results 1 – 18 of 18) sorted by relevance

/art/runtime/oat/
Doat_file.cc627 if (!GetOatHeader().IsValid()) { in Setup()
628 std::string cause = GetOatHeader().GetValidationErrorMessage(); in Setup()
632 PointerSize pointer_size = GetInstructionSetPointerSize(GetOatHeader().GetInstructionSet()); in Setup()
634 (Size() >= sizeof(OatHeader)) ? GetOatHeader().GetKeyValueStoreSize() : 0u; in Setup()
643 size_t oat_dex_files_offset = GetOatHeader().GetOatDexFilesOffset(); in Setup()
644 if (oat_dex_files_offset < GetOatHeader().GetHeaderSize() || oat_dex_files_offset > Size()) { in Setup()
647 GetOatHeader().GetHeaderSize(), in Setup()
709 uint32_t dex_file_count = GetOatHeader().GetDexFileCount(); in Setup()
1044 size_t bcp_info_offset = GetOatHeader().GetBcpBssInfoOffset(); in Setup()
1048 if (bcp_info_offset < GetOatHeader().GetHeaderSize() || bcp_info_offset > Size()) { in Setup()
[all …]
Doat_file_assistant.cc476 uint32_t number_of_dex_files = file.GetOatHeader().GetDexFileCount(); in DexChecksumUpToDate()
504 if (file.GetOatHeader().IsConcurrentCopying() != gUseReadBarrier) { in GivenOatFileStatus()
526 file.GetOatHeader(), in GivenOatFileStatus()
843 oat_file.GetOatHeader().GetStoreValueByKey(OatHeader::kBootClassPathChecksumsKey); in ValidateBootClassPathChecksums()
845 oat_file.GetOatHeader().GetStoreValueByKey(OatHeader::kBootClassPathKey); in ValidateBootClassPathChecksums()
1186 file->GetOatHeader().GetStoreValueByKey(OatHeader::kBootClassPathChecksumsKey); in ShouldRecompileForFilter()
1190 DCHECK(!file->GetOatHeader().RequiresImage()); in ShouldRecompileForFilter()
Doat_file.h212 EXPORT const OatHeader& GetOatHeader() const;
Doat_file_assistant_test.cc337 ASSERT_NE(nullptr, oat_file->GetOatHeader().GetStoreValueByKey(OatHeader::kClassPathKey)); in TEST_P()
339 oat_file->GetOatHeader().GetStoreValueByKey(OatHeader::kClassPathKey)); in TEST_P()
/art/dex2oat/linker/
Dimage_test.h308 elf_writer->PrepareDynamicSection(oat_writer->GetOatHeader().GetExecutableOffset(), in DoCompile()
341 writer->UpdateOatFileHeader(i, oat_writer->GetOatHeader()); in DoCompile()
Doat_writer.h198 const OatHeader& GetOatHeader() const { in GetOatHeader() function
Doat_writer_test.cc208 elf_writer->PrepareDynamicSection(oat_writer.GetOatHeader().GetExecutableOffset(), in DoWriteElf()
454 const OatHeader& oat_header = oat_file->GetOatHeader(); in TEST_F()
Doat_writer.cc640 code_size_ = offset - GetOatHeader().GetExecutableOffset(); in PrepareLayout()
2600 size_t code_end = GetOatHeader().GetExecutableOffset() + code_size_; in WriteDataImgRelRo()
Dimage_writer.cc3460 const OatHeader& header = oat_file->GetOatHeader(); in GetOatAddress()
/art/oatdump/
Doatdump.cc146 const InstructionSet isa = oat_file_->GetOatHeader().GetInstructionSet(); in Symbolize()
148 isa, oat_file_->GetOatHeader().GetInstructionSetFeaturesBitmap()); in Symbolize()
165 const size_t rodata_size = oat_file_->GetOatHeader().GetExecutableOffset(); in Symbolize()
191 const OatHeader& oat_header = oat_file_->GetOatHeader(); in Symbolize()
300 const OatHeader& oat_header = oat_file_->GetOatHeader(); in WalkOatMethod()
399 instruction_set_(oat_file_.GetOatHeader().GetInstructionSet()), in OatDumper()
431 const OatHeader& oat_header = oat_file_.GetOatHeader(); in Dump()
738 return oat_file_.GetOatHeader().GetInstructionSet(); in GetOatInstructionSet()
874 if (oat_file_.GetOatHeader().GetInstructionSet() == InstructionSet::kThumb2) { in AddOffsets()
2684 if (Is64BitInstructionSet(oat_file->GetOatHeader().GetInstructionSet())) { in SymbolizeOat()
/art/runtime/gc/space/
Dimage_space.cc577 const uint32_t oat_checksum = oat_file->GetOatHeader().GetChecksum(); in InitAppImage()
965 oat_file->GetOatHeader().GetStoreValueByKey(OatHeader::kBootClassPathChecksumsKey); in ValidateBootImageChecksum()
2904 uint32_t oat_checksum = oat_file->GetOatHeader().GetChecksum(); in OpenOatFile()
2915 oat_file->GetOatHeader().GetStoreValueByKey(OatHeader::kBootClassPathKey); in OpenOatFile()
2918 oat_file->GetOatHeader().GetStoreValueByKey(OatHeader::kBootClassPathChecksumsKey); in OpenOatFile()
3439 if (!ValidateApexVersions(oat_file.GetOatHeader(), in ValidateOatFile()
3447 if (oat_file.GetOatHeader().GetKeyValueStoreSize() != 0 && in ValidateOatFile()
3448 oat_file.GetOatHeader().IsConcurrentCopying() != gUseReadBarrier) { in ValidateOatFile()
3451 oat_file.GetOatHeader().IsConcurrentCopying(), in ValidateOatFile()
/art/test/common/
Druntime_state.cc133 const char* cmd_line = oat_file->GetOatHeader().GetStoreValueByKey(OatHeader::kDex2OatCmdLineKey); in Java_Main_compiledWithOptimizing()
/art/dex2oat/
Ddex2oat_test.cc878 ASSERT_FALSE(odex_file->GetOatHeader().RequiresImage()); in TEST_F()
1052 const char* classpath = oat_file.GetOatHeader().GetStoreValueByKey(OatHeader::kClassPathKey); in RunTest()
Ddex2oat.cc2125 elf_writer->PrepareDynamicSection(oat_writer->GetOatHeader().GetExecutableOffset(), in WriteOutputFiles()
2189 image_writer_->UpdateOatFileHeader(i, oat_writer->GetOatHeader()); in WriteOutputFiles()
/art/imgdiag/
Dimgdiag.cc1038 const OatHeader& oat_header = oat_file->GetOatHeader(); in BuildEntryPointNames()
/art/runtime/
Druntime_image.cc957 const OatHeader& header = oat_file->GetOatHeader(); in CopyMethodArrays()
Dclass_linker.cc1374 const OatHeader& default_oat_header = oat_files[0]->GetOatHeader(); in InitFromBootImage()
1385 const OatHeader& ith_oat_header = oat_files[i]->GetOatHeader(); in InitFromBootImage()
1939 if (oat_file->GetOatHeader().GetDexFileCount() != in OpenAndInitImageDexFiles()
4238 size_t exec_offset = oat_file->GetOatHeader().GetExecutableOffset(); in RegisterDexFileLocked()
11037 size_t exec_offset = oat_file->GetOatHeader().GetExecutableOffset(); in CleanupClassLoaders()
/art/runtime/entrypoints/quick/
Dquick_trampoline_entrypoints.cc1060 oat_file->GetOatHeader().GetStoreValueByKey(OatHeader::kDex2OatCmdLineKey); in DumpB74410240ClassData()