Home
last modified time | relevance | path

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

/art/dex2oat/linker/
Doat_writer.cc649 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 …]
Doat_writer.h299 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,
Doat_writer_test.cc428 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/
Dquick_dexcache_entrypoints.cc83 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()
Dquick_trampoline_entrypoints.cc1216 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/
Doat_file.cc460 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 …]
Doat_file_assistant.cc274 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()
Doat_file_manager.cc103 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()
Dart_method.cc548 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/
Ddex_file_loader.h129 const OatDexFile* oat_dex_file,
143 const OatDexFile* oat_dex_file,
173 const OatDexFile* oat_dex_file,
Ddex_file_loader.cc226 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()
Dcompact_dex_file.cc93 const OatDexFile* oat_dex_file, in CompactDexFile() argument
101 oat_dex_file, in CompactDexFile()
Dart_dex_file_loader.h62 const OatDexFile* oat_dex_file,
146 const OatDexFile* oat_dex_file,
Dart_dex_file_loader.cc164 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()
Dcompact_dex_file.h293 const OatDexFile* oat_dex_file,
Ddex_file.h722 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,
Ddex_file.cc102 const OatDexFile* oat_dex_file, in DexFile() argument
123 oat_dex_file_(oat_dex_file), in DexFile()
/art/oatdump/
Doatdump.cc123 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/
Druntime_state.cc65 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/
Ddex2oat_test.cc534 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/
Ddex_file_annotations.cc1374 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()