/art/dex2oat/linker/ |
D | oat_writer.cc | 673 for (const OatDexFile& oat_dex_file : oat_dex_files_) { in GetSourceLocations() local 674 locations.push_back(oat_dex_file.GetLocation()); in GetSourceLocations() 969 for (const OatDexFile& oat_dex_file : writer_->oat_dex_files_) { in InitOatClassesMethodVisitor() local 970 num_classes += oat_dex_file.class_offsets_.size(); in InitOatClassesMethodVisitor() 2086 for (OatDexFile& oat_dex_file : oat_dex_files_) { in InitClassOffsets() 2087 DCHECK_EQ(oat_dex_file.class_offsets_offset_, 0u); in InitClassOffsets() 2088 if (!oat_dex_file.class_offsets_.empty()) { in InitClassOffsets() 2091 oat_dex_file.class_offsets_offset_ = offset; in InitClassOffsets() 2092 offset += oat_dex_file.GetClassOffsetsRawSize(); in InitClassOffsets() 2108 for (OatDexFile& oat_dex_file : oat_dex_files_) { in InitOatClasses() [all …]
|
D | oat_writer.h | 283 OatDexFile* oat_dex_file, 285 bool LayoutDexFile(OatDexFile* oat_dex_file); 287 OatDexFile* oat_dex_file, 290 OatDexFile* oat_dex_file, 292 bool WriteDexFile(OatDexFile* oat_dex_file,
|
D | oat_writer_test.cc | 464 const OatDexFile* oat_dex_file = oat_file->GetOatDexFile(dex_file.GetLocation().c_str(), in TEST_F() local 466 ASSERT_TRUE(oat_dex_file != nullptr); in TEST_F() 467 CHECK_EQ(dex_file.GetLocationChecksum(), oat_dex_file->GetDexFileLocationChecksum()); in TEST_F() 478 const OatFile::OatClass oat_class = oat_dex_file->GetOatClass(accessor.GetClassDefIndex()); in TEST_F()
|
/art/runtime/entrypoints/quick/ |
D | quick_dexcache_entrypoints.cc | 86 const OatDexFile* oat_dex_file = dex_file->GetOatDexFile(); in StoreTypeInBss() local 87 if (oat_dex_file != nullptr) { in StoreTypeInBss() 94 StoreObjectInBss(outer_method, oat_dex_file->GetOatFile(), bss_offset, resolved_type); in StoreTypeInBss() 97 store(oat_dex_file->GetTypeBssMapping()); in StoreTypeInBss() 99 store(oat_dex_file->GetPublicTypeBssMapping()); in StoreTypeInBss() 103 store(oat_dex_file->GetPackageTypeBssMapping()); in StoreTypeInBss() 114 const OatDexFile* oat_dex_file = dex_file->GetOatDexFile(); in StoreStringInBss() local 115 if (oat_dex_file != nullptr) { in StoreStringInBss() 116 size_t bss_offset = IndexBssMappingLookup::GetBssOffset(oat_dex_file->GetStringBssMapping(), in StoreStringInBss() 121 StoreObjectInBss(outer_method, oat_dex_file->GetOatFile(), bss_offset, resolved_string); in StoreStringInBss()
|
D | quick_trampoline_entrypoints.cc | 1134 const OatDexFile* oat_dex_file = klass->GetDexFile().GetOatDexFile(); in DumpB74410240ClassData() local 1135 if (oat_dex_file != nullptr) { in DumpB74410240ClassData() 1136 const OatFile* oat_file = oat_dex_file->GetOatFile(); in DumpB74410240ClassData()
|
/art/libdexfile/dex/ |
D | dex_file_loader.h | 133 const OatDexFile* oat_dex_file, 144 const OatDexFile* oat_dex_file, 158 const OatDexFile* oat_dex_file, 188 const OatDexFile* oat_dex_file,
|
D | dex_file_loader.cc | 226 const OatDexFile* oat_dex_file, in Open() argument 238 oat_dex_file, in Open() 251 const OatDexFile* oat_dex_file, in Open() argument 262 oat_dex_file, in Open() 277 const OatDexFile* oat_dex_file, in OpenWithDataSection() argument 287 oat_dex_file, in OpenWithDataSection() 347 const OatDexFile* oat_dex_file, in OpenCommon() argument 365 oat_dex_file, in OpenCommon() 382 oat_dex_file, in OpenCommon()
|
D | standard_dex_file.h | 118 const OatDexFile* oat_dex_file, in StandardDexFile() argument 126 oat_dex_file, in StandardDexFile()
|
D | compact_dex_file.cc | 93 const OatDexFile* oat_dex_file, in CompactDexFile() argument 101 oat_dex_file, in CompactDexFile()
|
D | art_dex_file_loader.h | 67 const OatDexFile* oat_dex_file, 161 const OatDexFile* oat_dex_file,
|
D | art_dex_file_loader.cc | 166 const OatDexFile* oat_dex_file, in Open() argument 178 oat_dex_file, in Open() 567 const OatDexFile* oat_dex_file, in OpenCommon() argument 579 oat_dex_file, in OpenCommon()
|
D | compact_dex_file.h | 311 const OatDexFile* oat_dex_file,
|
D | dex_file.h | 741 void SetOatDexFile(const OatDexFile* oat_dex_file) const { in SetOatDexFile() argument 742 oat_dex_file_ = oat_dex_file; in SetOatDexFile() 822 const OatDexFile* oat_dex_file,
|
D | dex_file.cc | 103 const OatDexFile* oat_dex_file, in DexFile() argument 124 oat_dex_file_(oat_dex_file), in DexFile()
|
/art/runtime/ |
D | oat_file.cc | 546 OatDexFile* oat_dex_file = new OatDexFile( in Setup() local 553 oat_dex_files_storage_.push_back(oat_dex_file); in Setup() 556 std::string_view key(oat_dex_file->GetDexFileLocation()); in Setup() 557 oat_dex_files_.Put(key, oat_dex_file); in Setup() 559 std::string_view canonical_key(oat_dex_file->GetCanonicalDexFileLocation()); in Setup() 560 oat_dex_files_.Put(canonical_key, oat_dex_file); in Setup() 982 OatDexFile* oat_dex_file = new OatDexFile( in Setup() local 996 oat_dex_files_storage_.push_back(oat_dex_file); in Setup() 1003 std::string_view canonical_key(oat_dex_file->GetCanonicalDexFileLocation()); in Setup() 1004 oat_dex_files_.Put(key, oat_dex_file); in Setup() [all …]
|
D | module_exclusion_test.cc | 182 for (const OatDexFile* oat_dex_file : odex_file->GetOatDexFiles()) { in TEST_F() local 183 std::unique_ptr<const DexFile> dex_file = oat_dex_file->OpenDexFile(&error_msg); in TEST_F() 186 ClassStatus status = oat_dex_file->GetOatClass(i).GetStatus(); in TEST_F()
|
D | oat_file_assistant.cc | 285 const OatDexFile* oat_dex_file = oat_file.GetOatDexFile( in LoadDexFiles() local 287 if (oat_dex_file == nullptr) { in LoadDexFiles() 292 std::unique_ptr<const DexFile> dex_file = oat_dex_file->OpenDexFile(&error_msg); in LoadDexFiles() 302 oat_dex_file = oat_file.GetOatDexFile(multidex_dex_location.c_str(), nullptr); in LoadDexFiles() 303 if (oat_dex_file == nullptr) { in LoadDexFiles() 308 dex_file = oat_dex_file->OpenDexFile(&error_msg); in LoadDexFiles() 387 const OatDexFile* oat_dex_file = file.GetOatDexFile(dex.c_str(), nullptr); in DexChecksumUpToDate() local 388 if (oat_dex_file == nullptr) { in DexChecksumUpToDate() 392 uint32_t actual_checksum = oat_dex_file->GetDexFileLocationChecksum(); in DexChecksumUpToDate()
|
D | oat_file_manager.cc | 108 for (const OatDexFile* oat_dex_file : oat_dex_files) { in FindOpenedOatFileFromDexLocation() local 109 if (DexFileLoader::GetBaseLocation(oat_dex_file->GetDexFileLocation()) == dex_base_location) { in FindOpenedOatFileFromDexLocation()
|
D | class_linker.cc | 1681 const OatDexFile* oat_dex_file = oat_file->GetOatDexFile(location, nullptr, error_msg); in OpenOatDexFile() local 1682 if (oat_dex_file == nullptr) { in OpenOatDexFile() 1686 dex_file = oat_dex_file->OpenDexFile(&inner_error_msg); in OpenOatDexFile() 1695 if (dex_file->GetLocationChecksum() != oat_dex_file->GetDexFileLocationChecksum()) { in OpenOatDexFile() 1699 oat_dex_file->GetDexFileLocationChecksum()); in OpenOatDexFile() 4810 const OatDexFile* oat_dex_file = dex_file.GetOatDexFile(); in VerifyClassUsingOatFile() local 4812 if (oat_dex_file == nullptr || oat_dex_file->GetOatFile() == nullptr) { in VerifyClassUsingOatFile() 4817 oat_file_class_status = oat_dex_file->GetOatClass(class_def_index).GetStatus(); in VerifyClassUsingOatFile() 4828 const OatFile* oat_file = oat_dex_file->GetOatFile(); in VerifyClassUsingOatFile()
|
/art/oatdump/ |
D | oatdump.cc | 119 const DexFile* OpenDexFile(const OatDexFile* oat_dex_file, std::string* error_msg) { in OpenDexFile() argument 120 DCHECK(oat_dex_file != nullptr); in OpenDexFile() 121 auto it = opened_dex_files.find(oat_dex_file); in OpenDexFile() 125 const DexFile* ret = oat_dex_file->OpenDexFile(error_msg).release(); in OpenDexFile() 126 opened_dex_files.emplace(oat_dex_file, std::unique_ptr<const DexFile>(ret)); in OpenDexFile() 237 const OatDexFile* oat_dex_file = oat_dex_files[i]; in Walk() local 238 CHECK(oat_dex_file != nullptr); in Walk() 239 WalkOatDexFile(oat_dex_file); in Walk() 243 void WalkOatDexFile(const OatDexFile* oat_dex_file) { in WalkOatDexFile() argument 245 const DexFile* const dex_file = OpenDexFile(oat_dex_file, &error_msg); in WalkOatDexFile() [all …]
|
/art/test/common/ |
D | runtime_state.cc | 69 const OatDexFile* oat_dex_file = dex_file.GetOatDexFile(); in Java_Main_hasOatFile() local 70 return (oat_dex_file != nullptr) ? JNI_TRUE : JNI_FALSE; in Java_Main_hasOatFile() 80 const OatDexFile* oat_dex_file = dex_file.GetOatDexFile(); in Java_Main_getCompilerFilter() local 81 if (oat_dex_file == nullptr) { in Java_Main_getCompilerFilter() 86 CompilerFilter::NameOfFilter(oat_dex_file->GetOatFile()->GetCompilerFilter()); in Java_Main_getCompilerFilter() 120 const OatDexFile* oat_dex_file = dex_file.GetOatDexFile(); in Java_Main_compiledWithOptimizing() local 121 if (oat_dex_file == nullptr) { in Java_Main_compiledWithOptimizing() 125 const OatFile* oat_file = oat_dex_file->GetOatFile(); in Java_Main_compiledWithOptimizing()
|
/art/runtime/jit/ |
D | jit.cc | 1783 const OatDexFile* oat_dex_file = dex_file.GetOatDexFile(); in CanAssumeInitialized() local 1785 if (oat_dex_file == nullptr || oat_dex_file->GetOatFile() == nullptr) { in CanAssumeInitialized() 1789 return oat_dex_file->GetOatClass(class_def_index).GetStatus() >= ClassStatus::kInitialized; in CanAssumeInitialized()
|
/art/dex2oat/ |
D | dex2oat_test.cc | 517 for (const OatDexFile* oat_dex_file : odex_file->GetOatDexFiles()) { in CheckResult() local 518 std::unique_ptr<const DexFile> dex_file = oat_dex_file->OpenDexFile(&error_msg); in CheckResult() 523 OatFile::OatClass oat_class = oat_dex_file->GetOatClass(class_def_index); in CheckResult() 797 for (const OatDexFile* oat_dex_file : odex_file->GetOatDexFiles()) { in CheckResult() local 798 std::unique_ptr<const DexFile> new_dex_file = oat_dex_file->OpenDexFile(&error_msg); in CheckResult()
|
/art/runtime/native/ |
D | dalvik_system_DexFile.cc | 827 for (const OatDexFile* oat_dex_file : oat_dex_files) { in DexFile_getDexFileOutputPaths() local 828 if (DexFileLoader::GetBaseLocation(oat_dex_file->GetDexFileLocation()) == in DexFile_getDexFileOutputPaths()
|
/art/runtime/gc/space/ |
D | image_space.cc | 3272 for (const OatDexFile* oat_dex_file : oat_file.GetOatDexFiles()) { in ValidateOatFile() local 3273 const std::string& dex_file_location = oat_dex_file->GetDexFileLocation(); in ValidateOatFile() 3293 if (checksums[0] != oat_dex_file->GetDexFileLocationChecksum()) { in ValidateOatFile() 3298 oat_dex_file->GetDexFileLocationChecksum(), in ValidateOatFile()
|