Home
last modified time | relevance | path

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

12

/art/dex2oat/linker/
Doat_writer.cc669 for (const OatDexFile& oat_dex_file : oat_dex_files_) { in GetSourceLocations() local
670 locations.push_back(oat_dex_file.GetLocation()); in GetSourceLocations()
960 for (const OatDexFile& oat_dex_file : writer_->oat_dex_files_) { in InitOatClassesMethodVisitor() local
961 num_classes += oat_dex_file.class_offsets_.size(); in InitOatClassesMethodVisitor()
2047 for (OatDexFile& oat_dex_file : oat_dex_files_) { in InitClassOffsets()
2048 DCHECK_EQ(oat_dex_file.class_offsets_offset_, 0u); in InitClassOffsets()
2049 if (!oat_dex_file.class_offsets_.empty()) { in InitClassOffsets()
2052 oat_dex_file.class_offsets_offset_ = offset; in InitClassOffsets()
2053 offset += oat_dex_file.GetClassOffsetsRawSize(); in InitClassOffsets()
2069 for (OatDexFile& oat_dex_file : oat_dex_files_) { in InitOatClasses()
[all …]
Doat_writer.h295 OatDexFile* oat_dex_file,
297 bool LayoutDexFile(OatDexFile* oat_dex_file);
299 OatDexFile* oat_dex_file,
302 OatDexFile* oat_dex_file,
304 bool WriteDexFile(OatDexFile* oat_dex_file,
Doat_writer_test.cc471 const OatDexFile* oat_dex_file = oat_file->GetOatDexFile(dex_file.GetLocation().c_str(), in TEST_F() local
473 ASSERT_TRUE(oat_dex_file != nullptr); in TEST_F()
474 CHECK_EQ(dex_file.GetLocationChecksum(), oat_dex_file->GetDexFileLocationChecksum()); in TEST_F()
485 const OatFile::OatClass oat_class = oat_dex_file->GetOatClass(accessor.GetClassDefIndex()); in TEST_F()
/art/runtime/entrypoints/quick/
Dquick_dexcache_entrypoints.cc86 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()
Dquick_trampoline_entrypoints.cc1134 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/runtime/
Doat_file.cc474 OatDexFile* oat_dex_file = new OatDexFile(this, dex_file, dex_location, canonical_location); in Setup() local
475 oat_dex_files_storage_.push_back(oat_dex_file); in Setup()
478 std::string_view key(oat_dex_file->GetDexFileLocation()); in Setup()
479 oat_dex_files_.Put(key, oat_dex_file); in Setup()
481 std::string_view canonical_key(oat_dex_file->GetCanonicalDexFileLocation()); in Setup()
482 oat_dex_files_.Put(canonical_key, oat_dex_file); in Setup()
897 OatDexFile* oat_dex_file = new OatDexFile( in Setup() local
909 oat_dex_files_storage_.push_back(oat_dex_file); in Setup()
916 std::string_view canonical_key(oat_dex_file->GetCanonicalDexFileLocation()); in Setup()
917 oat_dex_files_.Put(key, oat_dex_file); in Setup()
[all …]
Dmodule_exclusion_test.cc182 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()
Doat_file_assistant.cc268 const OatDexFile* oat_dex_file = oat_file.GetOatDexFile( in LoadDexFiles() local
270 if (oat_dex_file == nullptr) { in LoadDexFiles()
275 std::unique_ptr<const DexFile> dex_file = oat_dex_file->OpenDexFile(&error_msg); in LoadDexFiles()
285 oat_dex_file = oat_file.GetOatDexFile(multidex_dex_location.c_str(), nullptr); in LoadDexFiles()
286 if (oat_dex_file == nullptr) { in LoadDexFiles()
291 dex_file = oat_dex_file->OpenDexFile(&error_msg); in LoadDexFiles()
370 const OatDexFile* oat_dex_file = file.GetOatDexFile(dex.c_str(), nullptr); in DexChecksumUpToDate() local
371 if (oat_dex_file == nullptr) { in DexChecksumUpToDate()
375 uint32_t actual_checksum = oat_dex_file->GetDexFileLocationChecksum(); in DexChecksumUpToDate()
Dart_method.cc539 const OatDexFile* oat_dex_file = dex_file.GetOatDexFile(); in GetQuickenedInfo() local
540 if (oat_dex_file == nullptr) { in GetQuickenedInfo()
543 return oat_dex_file->GetQuickenedInfoOf(dex_file, GetDexMethodIndex()); in GetQuickenedInfo()
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()
/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()
Dstandard_dex_file.h118 const OatDexFile* oat_dex_file, in StandardDexFile() argument
126 oat_dex_file, in StandardDexFile()
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.h725 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,
Ddex_file.cc103 const OatDexFile* oat_dex_file, in DexFile() argument
124 oat_dex_file_(oat_dex_file), in DexFile()
/art/test/common/
Druntime_state.cc69 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/
Doatdump.cc119 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/
Ddex2oat_test.cc548 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/
Djit.cc1849 const OatDexFile* oat_dex_file = dex_file.GetOatDexFile(); in CanAssumeInitialized() local
1851 if (oat_dex_file == nullptr || oat_dex_file->GetOatFile() == nullptr) { in CanAssumeInitialized()
1855 return oat_dex_file->GetOatClass(class_def_index).GetStatus() >= ClassStatus::kInitialized; in CanAssumeInitialized()
/art/runtime/dex/
Ddex_file_annotations.cc1353 const OatDexFile* oat_dex_file = dex_file.GetOatDexFile(); in MethodContainsRSensitiveAccess() local
1354 if (oat_dex_file != nullptr) { in MethodContainsRSensitiveAccess()
1355 quicken_data = oat_dex_file->GetQuickenedInfoOf(dex_file, method_index); in MethodContainsRSensitiveAccess()
/art/runtime/gc/space/
Dimage_space.cc3756 for (const OatDexFile* oat_dex_file : oat_file.GetOatDexFiles()) { in ValidateOatFile() local
3757 const std::string& dex_file_location = oat_dex_file->GetDexFileLocation(); in ValidateOatFile()
3775 if (checksums[0] != oat_dex_file->GetDexFileLocationChecksum()) { in ValidateOatFile()
3780 oat_dex_file->GetDexFileLocationChecksum(), in ValidateOatFile()

12