/art/dex2oat/linker/ |
D | oat_writer.cc | 649 for (const OatDexFile& oat_dex_file : oat_dex_files_) { in GetSourceLocations() local 650 locations.push_back(oat_dex_file.GetLocation()); in GetSourceLocations() 933 for (const OatDexFile& oat_dex_file : writer_->oat_dex_files_) { in InitOatClassesMethodVisitor() local 934 num_classes += oat_dex_file.class_offsets_.size(); in InitOatClassesMethodVisitor() 2029 for (OatDexFile& oat_dex_file : oat_dex_files_) { in InitClassOffsets() 2030 DCHECK_EQ(oat_dex_file.class_offsets_offset_, 0u); in InitClassOffsets() 2031 if (!oat_dex_file.class_offsets_.empty()) { in InitClassOffsets() 2034 oat_dex_file.class_offsets_offset_ = offset; in InitClassOffsets() 2035 offset += oat_dex_file.GetClassOffsetsRawSize(); in InitClassOffsets() 2051 for (OatDexFile& oat_dex_file : oat_dex_files_) { in InitOatClasses() [all …]
|
D | oat_writer.h | 299 OatDexFile* oat_dex_file, 301 bool SeekToDexFile(OutputStream* out, File* file, OatDexFile* oat_dex_file); 302 bool LayoutAndWriteDexFile(OutputStream* out, OatDexFile* oat_dex_file); 305 OatDexFile* oat_dex_file, 309 OatDexFile* oat_dex_file, 312 OatDexFile* oat_dex_file,
|
D | oat_writer_test.cc | 428 const OatDexFile* oat_dex_file = oat_file->GetOatDexFile(dex_file.GetLocation().c_str(), in TEST_F() local 430 ASSERT_TRUE(oat_dex_file != nullptr); in TEST_F() 431 CHECK_EQ(dex_file.GetLocationChecksum(), oat_dex_file->GetDexFileLocationChecksum()); in TEST_F() 442 const OatFile::OatClass oat_class = oat_dex_file->GetOatClass(accessor.GetClassDefIndex()); in TEST_F()
|
/art/runtime/entrypoints/quick/ |
D | quick_dexcache_entrypoints.cc | 83 const OatDexFile* oat_dex_file = dex_file->GetOatDexFile(); in StoreTypeInBss() local 84 if (oat_dex_file != nullptr) { in StoreTypeInBss() 85 size_t bss_offset = IndexBssMappingLookup::GetBssOffset(oat_dex_file->GetTypeBssMapping(), in StoreTypeInBss() 90 StoreObjectInBss(outer_method, oat_dex_file->GetOatFile(), bss_offset, resolved_type); in StoreTypeInBss() 101 const OatDexFile* oat_dex_file = dex_file->GetOatDexFile(); in StoreStringInBss() local 102 if (oat_dex_file != nullptr) { in StoreStringInBss() 103 size_t bss_offset = IndexBssMappingLookup::GetBssOffset(oat_dex_file->GetStringBssMapping(), in StoreStringInBss() 108 StoreObjectInBss(outer_method, oat_dex_file->GetOatFile(), bss_offset, resolved_string); in StoreStringInBss()
|
D | quick_trampoline_entrypoints.cc | 1216 const OatDexFile* oat_dex_file = klass->GetDexFile().GetOatDexFile(); in DumpB74410240ClassData() local 1217 if (oat_dex_file != nullptr) { in DumpB74410240ClassData() 1218 const OatFile* oat_file = oat_dex_file->GetOatFile(); in DumpB74410240ClassData()
|
/art/runtime/ |
D | oat_file.cc | 460 OatDexFile* oat_dex_file = new OatDexFile(this, dex_file, dex_location, canonical_location); in Setup() local 461 oat_dex_files_storage_.push_back(oat_dex_file); in Setup() 464 std::string_view key(oat_dex_file->GetDexFileLocation()); in Setup() 465 oat_dex_files_.Put(key, oat_dex_file); in Setup() 467 std::string_view canonical_key(oat_dex_file->GetCanonicalDexFileLocation()); in Setup() 468 oat_dex_files_.Put(canonical_key, oat_dex_file); in Setup() 825 OatDexFile* oat_dex_file = new OatDexFile( in Setup() local 837 oat_dex_files_storage_.push_back(oat_dex_file); in Setup() 843 std::string_view canonical_key(oat_dex_file->GetCanonicalDexFileLocation()); in Setup() 844 oat_dex_files_.Put(key, oat_dex_file); in Setup() [all …]
|
D | oat_file_assistant.cc | 274 const OatDexFile* oat_dex_file = oat_file.GetOatDexFile( in LoadDexFiles() local 276 if (oat_dex_file == nullptr) { in LoadDexFiles() 281 std::unique_ptr<const DexFile> dex_file = oat_dex_file->OpenDexFile(&error_msg); in LoadDexFiles() 291 oat_dex_file = oat_file.GetOatDexFile(multidex_dex_location.c_str(), nullptr); in LoadDexFiles() 292 if (oat_dex_file == nullptr) { in LoadDexFiles() 297 dex_file = oat_dex_file->OpenDexFile(&error_msg); in LoadDexFiles() 373 const OatDexFile* oat_dex_file = file.GetOatDexFile(dex.c_str(), nullptr); in DexChecksumUpToDate() local 374 if (oat_dex_file == nullptr) { in DexChecksumUpToDate() 378 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 | 548 const OatDexFile* oat_dex_file = dex_file.GetOatDexFile(); in GetQuickenedInfo() local 549 if (oat_dex_file == nullptr) { in GetQuickenedInfo() 552 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 | 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 | 722 void SetOatDexFile(OatDexFile* oat_dex_file) const { in SetOatDexFile() argument 723 oat_dex_file_ = oat_dex_file; in SetOatDexFile() 797 const OatDexFile* oat_dex_file,
|
D | dex_file.cc | 102 const OatDexFile* oat_dex_file, in DexFile() argument 123 oat_dex_file_(oat_dex_file), in DexFile()
|
/art/oatdump/ |
D | oatdump.cc | 123 const DexFile* OpenDexFile(const OatDexFile* oat_dex_file, std::string* error_msg) { in OpenDexFile() argument 124 DCHECK(oat_dex_file != nullptr); in OpenDexFile() 125 auto it = opened_dex_files.find(oat_dex_file); in OpenDexFile() 129 const DexFile* ret = oat_dex_file->OpenDexFile(error_msg).release(); in OpenDexFile() 130 opened_dex_files.emplace(oat_dex_file, std::unique_ptr<const DexFile>(ret)); in OpenDexFile() 239 const OatDexFile* oat_dex_file = oat_dex_files[i]; in Walk() local 240 CHECK(oat_dex_file != nullptr); in Walk() 241 WalkOatDexFile(oat_dex_file); in Walk() 245 void WalkOatDexFile(const OatDexFile* oat_dex_file) { in WalkOatDexFile() argument 247 const DexFile* const dex_file = OpenDexFile(oat_dex_file, &error_msg); in WalkOatDexFile() [all …]
|
/art/test/common/ |
D | runtime_state.cc | 65 const OatDexFile* oat_dex_file = dex_file.GetOatDexFile(); in Java_Main_hasOatFile() local 66 return (oat_dex_file != nullptr) ? JNI_TRUE : JNI_FALSE; in Java_Main_hasOatFile() 98 const OatDexFile* oat_dex_file = dex_file.GetOatDexFile(); in Java_Main_compiledWithOptimizing() local 99 if (oat_dex_file == nullptr) { in Java_Main_compiledWithOptimizing() 103 const OatFile* oat_file = oat_dex_file->GetOatFile(); in Java_Main_compiledWithOptimizing()
|
/art/dex2oat/ |
D | dex2oat_test.cc | 534 for (const OatDexFile* oat_dex_file : odex_file->GetOatDexFiles()) { in CheckResult() local 535 std::unique_ptr<const DexFile> dex_file = oat_dex_file->OpenDexFile(&error_msg); in CheckResult() 540 OatFile::OatClass oat_class = oat_dex_file->GetOatClass(class_def_index); in CheckResult() 806 for (const OatDexFile* oat_dex_file : odex_file->GetOatDexFiles()) { in CheckResult() local 807 std::unique_ptr<const DexFile> new_dex_file = oat_dex_file->OpenDexFile(&error_msg); in CheckResult() 961 for (const OatDexFile* oat_dex_file : odex_file->GetOatDexFiles()) { in CheckResult() local 962 std::unique_ptr<const DexFile> dex_file = oat_dex_file->OpenDexFile(&error_msg); in CheckResult()
|
/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()
|