/art/dex2oat/linker/ |
D | oat_writer.cc | 656 for (const OatDexFile& oat_dex_file : oat_dex_files_) { in GetSourceLocations() local 657 locations.push_back(oat_dex_file.GetLocation()); in GetSourceLocations() 949 for (const OatDexFile& oat_dex_file : writer_->oat_dex_files_) { in InitOatClassesMethodVisitor() local 950 num_classes += oat_dex_file.class_offsets_.size(); in InitOatClassesMethodVisitor() 2036 for (OatDexFile& oat_dex_file : oat_dex_files_) { in InitClassOffsets() 2037 DCHECK_EQ(oat_dex_file.class_offsets_offset_, 0u); in InitClassOffsets() 2038 if (!oat_dex_file.class_offsets_.empty()) { in InitClassOffsets() 2041 oat_dex_file.class_offsets_offset_ = offset; in InitClassOffsets() 2042 offset += oat_dex_file.GetClassOffsetsRawSize(); in InitClassOffsets() 2058 for (OatDexFile& oat_dex_file : oat_dex_files_) { in InitOatClasses() [all …]
|
D | oat_writer.h | 300 OatDexFile* oat_dex_file, 302 bool SeekToDexFile(OutputStream* out, File* file, OatDexFile* oat_dex_file); 303 bool LayoutAndWriteDexFile(OutputStream* out, OatDexFile* oat_dex_file); 306 OatDexFile* oat_dex_file, 310 OatDexFile* oat_dex_file, 313 OatDexFile* oat_dex_file,
|
D | oat_writer_test.cc | 479 const OatDexFile* oat_dex_file = oat_file->GetOatDexFile(dex_file.GetLocation().c_str(), in TEST_F() local 481 ASSERT_TRUE(oat_dex_file != nullptr); in TEST_F() 482 CHECK_EQ(dex_file.GetLocationChecksum(), oat_dex_file->GetDexFileLocationChecksum()); in TEST_F() 493 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() 88 size_t bss_offset = IndexBssMappingLookup::GetBssOffset(oat_dex_file->GetTypeBssMapping(), in StoreTypeInBss() 93 StoreObjectInBss(outer_method, oat_dex_file->GetOatFile(), bss_offset, resolved_type); in StoreTypeInBss() 104 const OatDexFile* oat_dex_file = dex_file->GetOatDexFile(); in StoreStringInBss() local 105 if (oat_dex_file != nullptr) { in StoreStringInBss() 106 size_t bss_offset = IndexBssMappingLookup::GetBssOffset(oat_dex_file->GetStringBssMapping(), in StoreStringInBss() 111 StoreObjectInBss(outer_method, oat_dex_file->GetOatFile(), bss_offset, resolved_string); in StoreStringInBss()
|
D | quick_trampoline_entrypoints.cc | 1135 const OatDexFile* oat_dex_file = klass->GetDexFile().GetOatDexFile(); in DumpB74410240ClassData() local 1136 if (oat_dex_file != nullptr) { in DumpB74410240ClassData() 1137 const OatFile* oat_file = oat_dex_file->GetOatFile(); in DumpB74410240ClassData()
|
/art/runtime/ |
D | oat_file.cc | 473 OatDexFile* oat_dex_file = new OatDexFile(this, dex_file, dex_location, canonical_location); in Setup() local 474 oat_dex_files_storage_.push_back(oat_dex_file); in Setup() 477 std::string_view key(oat_dex_file->GetDexFileLocation()); in Setup() 478 oat_dex_files_.Put(key, oat_dex_file); in Setup() 480 std::string_view canonical_key(oat_dex_file->GetCanonicalDexFileLocation()); in Setup() 481 oat_dex_files_.Put(canonical_key, oat_dex_file); in Setup() 896 OatDexFile* oat_dex_file = new OatDexFile( in Setup() local 908 oat_dex_files_storage_.push_back(oat_dex_file); in Setup() 915 std::string_view canonical_key(oat_dex_file->GetCanonicalDexFileLocation()); in Setup() 916 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 | 275 const OatDexFile* oat_dex_file = oat_file.GetOatDexFile( in LoadDexFiles() local 277 if (oat_dex_file == nullptr) { in LoadDexFiles() 282 std::unique_ptr<const DexFile> dex_file = oat_dex_file->OpenDexFile(&error_msg); in LoadDexFiles() 292 oat_dex_file = oat_file.GetOatDexFile(multidex_dex_location.c_str(), nullptr); in LoadDexFiles() 293 if (oat_dex_file == nullptr) { in LoadDexFiles() 298 dex_file = oat_dex_file->OpenDexFile(&error_msg); in LoadDexFiles() 377 const OatDexFile* oat_dex_file = file.GetOatDexFile(dex.c_str(), nullptr); in DexChecksumUpToDate() local 378 if (oat_dex_file == nullptr) { in DexChecksumUpToDate() 382 uint32_t actual_checksum = oat_dex_file->GetDexFileLocationChecksum(); in DexChecksumUpToDate()
|
D | oat_file_manager.cc | 103 for (const OatDexFile* oat_dex_file : oat_dex_files) { in FindOpenedOatFileFromDexLocation() local 104 if (DexFileLoader::GetBaseLocation(oat_dex_file->GetDexFileLocation()) == dex_base_location) { in FindOpenedOatFileFromDexLocation() 268 for (const OatDexFile* oat_dex_file : oat_file->GetOatDexFiles()) { in AddDexFilesFromOat() local 270 std::unique_ptr<const DexFile> dex_file = oat_dex_file->OpenDexFile(&error); in AddDexFilesFromOat()
|
D | art_method.cc | 557 const OatDexFile* oat_dex_file = dex_file.GetOatDexFile(); in GetQuickenedInfo() local 558 if (oat_dex_file == nullptr) { in GetQuickenedInfo() 561 return oat_dex_file->GetQuickenedInfoOf(dex_file, GetDexMethodIndex()); in GetQuickenedInfo()
|
/art/libdexfile/dex/ |
D | dex_file_loader.h | 129 const OatDexFile* oat_dex_file, 143 const OatDexFile* oat_dex_file, 173 const OatDexFile* oat_dex_file,
|
D | dex_file_loader.cc | 226 const OatDexFile* oat_dex_file, in Open() argument 237 oat_dex_file, in Open() 252 const OatDexFile* oat_dex_file, in OpenWithDataSection() argument 262 oat_dex_file, in OpenWithDataSection() 322 const OatDexFile* oat_dex_file, in OpenCommon() argument 340 oat_dex_file, in OpenCommon() 357 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 | 62 const OatDexFile* oat_dex_file, 146 const OatDexFile* oat_dex_file,
|
D | art_dex_file_loader.cc | 164 const OatDexFile* oat_dex_file, in Open() argument 176 oat_dex_file, in Open() 549 const OatDexFile* oat_dex_file, in OpenCommon() argument 561 oat_dex_file, in OpenCommon()
|
D | compact_dex_file.h | 293 const OatDexFile* oat_dex_file,
|
D | dex_file.h | 725 void SetOatDexFile(OatDexFile* oat_dex_file) const { in SetOatDexFile() argument 726 oat_dex_file_ = oat_dex_file; in SetOatDexFile() 800 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/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/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() 236 const OatDexFile* oat_dex_file = oat_dex_files[i]; in Walk() local 237 CHECK(oat_dex_file != nullptr); in Walk() 238 WalkOatDexFile(oat_dex_file); in Walk() 242 void WalkOatDexFile(const OatDexFile* oat_dex_file) { in WalkOatDexFile() argument 244 const DexFile* const dex_file = OpenDexFile(oat_dex_file, &error_msg); in WalkOatDexFile() [all …]
|
/art/dex2oat/ |
D | dex2oat_test.cc | 548 for (const OatDexFile* oat_dex_file : odex_file->GetOatDexFiles()) { in CheckResult() local 549 std::unique_ptr<const DexFile> dex_file = oat_dex_file->OpenDexFile(&error_msg); in CheckResult() 554 OatFile::OatClass oat_class = oat_dex_file->GetOatClass(class_def_index); in CheckResult() 817 for (const OatDexFile* oat_dex_file : odex_file->GetOatDexFiles()) { in CheckResult() local 818 std::unique_ptr<const DexFile> new_dex_file = oat_dex_file->OpenDexFile(&error_msg); in CheckResult() 980 for (const OatDexFile* oat_dex_file : odex_file->GetOatDexFiles()) { in CheckResult() local 981 std::unique_ptr<const DexFile> dex_file = oat_dex_file->OpenDexFile(&error_msg); in CheckResult() 1005 for (const OatDexFile* oat_dex_file : odex_file->GetOatDexFiles()) { in GetDexFileChecksums() local 1006 checksums->push_back(oat_dex_file->GetDexFileLocationChecksum()); in GetDexFileChecksums()
|
/art/runtime/jit/ |
D | jit.cc | 1833 const OatDexFile* oat_dex_file = dex_file.GetOatDexFile(); in CanAssumeInitialized() local 1835 if (oat_dex_file == nullptr || oat_dex_file->GetOatFile() == nullptr) { in CanAssumeInitialized() 1839 return oat_dex_file->GetOatClass(class_def_index).GetStatus() >= ClassStatus::kInitialized; in CanAssumeInitialized()
|
/art/runtime/dex/ |
D | dex_file_annotations.cc | 1374 const OatDexFile* oat_dex_file = dex_file.GetOatDexFile(); in MethodContainsRSensitiveAccess() local 1375 if (oat_dex_file != nullptr) { in MethodContainsRSensitiveAccess() 1376 quicken_data = oat_dex_file->GetQuickenedInfoOf(dex_file, method_index); in MethodContainsRSensitiveAccess()
|