Home
last modified time | relevance | path

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

12

/art/runtime/entrypoints/quick/
Dquick_dexcache_entrypoints.cc98 const OatDexFile* oat_dex_file = dex_file->GetOatDexFile(); in StoreTypeInBss() local
102 if (oat_dex_file != nullptr && oat_dex_file->GetOatFile() == outer_oat_file) { in StoreTypeInBss()
103 type_mapping = oat_dex_file->GetTypeBssMapping(); in StoreTypeInBss()
104 public_type_mapping = oat_dex_file->GetPublicTypeBssMapping(); in StoreTypeInBss()
105 package_type_mapping = oat_dex_file->GetPackageTypeBssMapping(); in StoreTypeInBss()
149 const OatDexFile* oat_dex_file = dex_file->GetOatDexFile(); in StoreStringInBss() local
151 if (oat_dex_file != nullptr && oat_dex_file->GetOatFile() == outer_oat_file) { in StoreStringInBss()
153 mapping = oat_dex_file->GetStringBssMapping(); in StoreStringInBss()
187 const OatDexFile* oat_dex_file = dex_file->GetOatDexFile(); in StoreMethodTypeInBss() local
189 if (oat_dex_file != nullptr && oat_dex_file->GetOatFile() == outer_oat_file) { in StoreMethodTypeInBss()
[all …]
/art/dex2oat/linker/
Doat_writer.cc510 for (const OatDexFile& oat_dex_file : oat_dex_files_) { in GetSourceLocations() local
511 locations.push_back(oat_dex_file.GetLocation()); in GetSourceLocations()
818 for (const OatDexFile& oat_dex_file : writer_->oat_dex_files_) { in InitOatClassesMethodVisitor() local
819 num_classes += oat_dex_file.class_offsets_.size(); in InitOatClassesMethodVisitor()
1967 for (OatDexFile& oat_dex_file : oat_dex_files_) { in InitClassOffsets()
1968 DCHECK_EQ(oat_dex_file.class_offsets_offset_, 0u); in InitClassOffsets()
1969 if (!oat_dex_file.class_offsets_.empty()) { in InitClassOffsets()
1972 oat_dex_file.class_offsets_offset_ = offset; in InitClassOffsets()
1973 offset += oat_dex_file.GetClassOffsetsRawSize(); in InitClassOffsets()
1989 for (OatDexFile& oat_dex_file : oat_dex_files_) { in InitOatClasses()
[all …]
Doat_writer_test.cc462 const OatDexFile* oat_dex_file = oat_file->GetOatDexFile(dex_file.GetLocation().c_str()); in TEST_F() local
463 ASSERT_TRUE(oat_dex_file != nullptr); in TEST_F()
464 CHECK_EQ(dex_file.GetLocationChecksum(), oat_dex_file->GetDexFileLocationChecksum()); in TEST_F()
475 const OatFile::OatClass oat_class = oat_dex_file->GetOatClass(accessor.GetClassDefIndex()); in TEST_F()
Doat_writer.h287 bool LayoutDexFile(OatDexFile* oat_dex_file);
/art/oatdump/
Doatdump.cc124 const DexFile* OpenDexFile(const OatDexFile* oat_dex_file, std::string* error_msg) { in OpenDexFile() argument
125 DCHECK(oat_dex_file != nullptr); in OpenDexFile()
126 auto it = opened_dex_files.find(oat_dex_file); in OpenDexFile()
130 const DexFile* ret = oat_dex_file->OpenDexFile(error_msg).release(); in OpenDexFile()
131 opened_dex_files.emplace(oat_dex_file, std::unique_ptr<const DexFile>(ret)); in OpenDexFile()
243 const OatDexFile* oat_dex_file = oat_dex_files[i]; in Walk() local
244 CHECK(oat_dex_file != nullptr); in Walk()
245 WalkOatDexFile(oat_dex_file); in Walk()
249 void WalkOatDexFile(const OatDexFile* oat_dex_file) { in WalkOatDexFile() argument
251 const DexFile* const dex_file = OpenDexFile(oat_dex_file, &error_msg); in WalkOatDexFile()
[all …]
/art/libdexfile/dex/
Dart_dex_file_loader.cc45 const OatDexFile* oat_dex_file, in Open() argument
56 oat_dex_file, in Open()
Ddex_file_loader.h194 const OatDexFile* oat_dex_file,
202 const OatDexFile* oat_dex_file, in Open() argument
207 /*header_offset=*/0, location_checksum, oat_dex_file, verify, verify_checksum, error_msg); in Open()
281 const OatDexFile* oat_dex_file,
292 const OatDexFile* oat_dex_file,
306 const OatDexFile* oat_dex_file,
Dcompact_dex_file.cc87 const OatDexFile* oat_dex_file, in CompactDexFile() argument
92 oat_dex_file, in CompactDexFile()
Dstandard_dex_file.h121 const OatDexFile* oat_dex_file, in StandardDexFile() argument
127 oat_dex_file, in StandardDexFile()
Ddex_file_loader.cc261 const OatDexFile* oat_dex_file, in OpenOne() argument
279 oat_dex_file, in OpenOne()
442 const OatDexFile* oat_dex_file, in OpenCommon() argument
461 dex_file.reset(new StandardDexFile(base, location, checksum, oat_dex_file, container)); in OpenCommon()
464 dex_file.reset(new CompactDexFile(base, location, checksum, oat_dex_file, container)); in OpenCommon()
595 const OatDexFile* oat_dex_file, in Open() argument
606 oat_dex_file, in Open()
620 const OatDexFile* oat_dex_file, in OpenCommon() argument
644 oat_dex_file, in OpenCommon()
Dart_dex_file_loader.h47 const OatDexFile* oat_dex_file,
Dcompact_dex_file.h311 const OatDexFile* oat_dex_file,
Ddex_file.h842 void SetOatDexFile(const OatDexFile* oat_dex_file) const { in SetOatDexFile() argument
843 oat_dex_file_ = oat_dex_file; in SetOatDexFile()
923 const OatDexFile* oat_dex_file,
Ddex_file.cc155 const OatDexFile* oat_dex_file, in DexFile() argument
174 oat_dex_file_(oat_dex_file), in DexFile()
/art/runtime/oat/
Doat_file.cc597 OatDexFile* oat_dex_file = new OatDexFile(this, in Setup() local
606 oat_dex_files_storage_.push_back(oat_dex_file); in Setup()
609 std::string_view key(oat_dex_file->GetDexFileLocation()); in Setup()
610 oat_dex_files_.Put(key, oat_dex_file); in Setup()
612 std::string_view canonical_key(oat_dex_file->GetCanonicalDexFileLocation()); in Setup()
613 oat_dex_files_.Put(canonical_key, oat_dex_file); in Setup()
1017 OatDexFile* oat_dex_file = in Setup() local
1030 oat_dex_files_storage_.push_back(oat_dex_file); in Setup()
1037 std::string_view canonical_key(oat_dex_file->GetCanonicalDexFileLocation()); in Setup()
1038 oat_dex_files_.Put(key, oat_dex_file); in Setup()
[all …]
Doat_file_assistant.cc414 const OatDexFile* oat_dex_file = oat_file.GetOatDexFile(dex_location.c_str(), &error_msg); in LoadDexFiles() local
415 if (oat_dex_file == nullptr) { in LoadDexFiles()
420 std::unique_ptr<const DexFile> dex_file = oat_dex_file->OpenDexFile(&error_msg); in LoadDexFiles()
430 oat_dex_file = oat_file.GetOatDexFile(multidex_dex_location.c_str()); in LoadDexFiles()
431 if (oat_dex_file == nullptr) { in LoadDexFiles()
436 dex_file = oat_dex_file->OpenDexFile(&error_msg); in LoadDexFiles()
479 const OatDexFile* oat_dex_file = file.GetOatDexFile(dex.c_str()); in DexChecksumUpToDate() local
480 if (oat_dex_file == nullptr) { in DexChecksumUpToDate()
484 oat_dex_files.push_back(oat_dex_file); in DexChecksumUpToDate()
Doat_file_manager.cc120 for (const OatDexFile* oat_dex_file : oat_dex_files) { in FindOpenedOatFileFromDexLocation() local
121 if (DexFileLoader::GetBaseLocation(oat_dex_file->GetDexFileLocation()) == dex_base_location) { in FindOpenedOatFileFromDexLocation()
/art/runtime/mirror/
Ddex_cache.cc194 const OatDexFile* oat_dex_file = GetDexFile()->GetOatDexFile(); in ShouldAllocateFullArrayAtStartup() local
195 if (oat_dex_file != nullptr && in ShouldAllocateFullArrayAtStartup()
196 CompilerFilter::IsAotCompilationEnabled(oat_dex_file->GetOatFile()->GetCompilerFilter())) { in ShouldAllocateFullArrayAtStartup()
/art/test/common/
Druntime_state.cc74 const OatDexFile* oat_dex_file = dex_file.GetOatDexFile(); in Java_Main_hasOatFile() local
75 return (oat_dex_file != nullptr) ? JNI_TRUE : JNI_FALSE; in Java_Main_hasOatFile()
85 const OatDexFile* oat_dex_file = dex_file.GetOatDexFile(); in Java_Main_getCompilerFilter() local
86 if (oat_dex_file == nullptr) { in Java_Main_getCompilerFilter()
91 CompilerFilter::NameOfFilter(oat_dex_file->GetOatFile()->GetCompilerFilter()); in Java_Main_getCompilerFilter()
125 const OatDexFile* oat_dex_file = dex_file.GetOatDexFile(); in Java_Main_compiledWithOptimizing() local
126 if (oat_dex_file == nullptr) { in Java_Main_compiledWithOptimizing()
130 const OatFile* oat_file = oat_dex_file->GetOatFile(); in Java_Main_compiledWithOptimizing()
/art/runtime/entrypoints/
Dentrypoint_utils.cc326 const OatDexFile* oat_dex_file = dex_file->GetOatDexFile(); in MaybeUpdateBssMethodEntry() local
328 if (oat_dex_file != nullptr && oat_dex_file->GetOatFile() == outer_oat_file) { in MaybeUpdateBssMethodEntry()
330 mapping = oat_dex_file->GetMethodBssMapping(); in MaybeUpdateBssMethodEntry()
/art/runtime/
Druntime_image.cc1093 const OatDexFile* oat_dex_file = dex_caches[0]->GetDexFile()->GetOatDexFile(); in WriteObjects() local
1094 VdexFile* vdex_file = oat_dex_file->GetOatFile()->GetVdexFile(); in WriteObjects()
1096 dex_location_ = oat_dex_file->GetDexFileLocation(); in WriteObjects()
1125 for (const OatDexFile* current_oat_dex_file : oat_dex_file->GetOatFile()->GetOatDexFiles()) { in WriteObjects()
1141 oat_dex_file->GetOatFile()->GetClassLoaderContext()); in WriteObjects()
1388 const OatDexFile* oat_dex_file = cls->GetDexFile().GetOatDexFile(); in IsInitialized() local
1389 DCHECK(oat_dex_file != nullptr) << "We should always have an .oat file for a boot image"; in IsInitialized()
1391 ClassStatus oat_file_class_status = oat_dex_file->GetOatClass(class_def_index).GetStatus(); in IsInitialized()
1725 const OatDexFile* oat_dex_file = dex_caches[0]->GetDexFile()->GetOatDexFile(); in FindDexCaches() local
1726 if (oat_dex_file == nullptr) { in FindDexCaches()
[all …]
Dclass_linker.cc1874 const OatDexFile* oat_dex_file = oat_file->GetOatDexFile(location, error_msg); in OpenOatDexFile() local
1875 if (oat_dex_file == nullptr) { in OpenOatDexFile()
1879 dex_file = oat_dex_file->OpenDexFile(&inner_error_msg); in OpenOatDexFile()
1888 if (dex_file->GetLocationChecksum() != oat_dex_file->GetDexFileLocationChecksum()) { in OpenOatDexFile()
1889 CHECK(dex_file->GetSha1() != oat_dex_file->GetSha1()); in OpenOatDexFile()
1893 oat_dex_file->GetDexFileLocationChecksum()); in OpenOatDexFile()
1896 CHECK(dex_file->GetSha1() == oat_dex_file->GetSha1()); in OpenOatDexFile()
4461 ObjPtr<mirror::DexCache> ClassLinker::FindDexCache(Thread* self, const OatDexFile& oat_dex_file) { in FindDexCache() argument
4463 const DexCacheData* dex_cache_data = FindDexCacheDataLocked(oat_dex_file); in FindDexCache()
4495 << oat_dex_file.GetDexFileLocation() in FindDexCache()
[all …]
/art/runtime/jit/
Djit.cc1661 const OatDexFile* oat_dex_file = dex_file.GetOatDexFile(); in CanAssumeInitialized() local
1663 if (oat_dex_file == nullptr || oat_dex_file->GetOatFile() == nullptr) { in CanAssumeInitialized()
1667 return oat_dex_file->GetOatClass(class_def_index).GetStatus() >= ClassStatus::kInitialized; in CanAssumeInitialized()
/art/dex2oat/
Ddex2oat_test.cc508 for (const OatDexFile* oat_dex_file : odex_file->GetOatDexFiles()) { in CheckResult() local
509 std::unique_ptr<const DexFile> dex_file = oat_dex_file->OpenDexFile(&error_msg); in CheckResult()
514 OatFile::OatClass oat_class = oat_dex_file->GetOatClass(class_def_index); in CheckResult()
800 for (const OatDexFile* oat_dex_file : odex_file->GetOatDexFiles()) { in CheckResult() local
801 std::unique_ptr<const DexFile> new_dex_file = oat_dex_file->OpenDexFile(&error_msg); in CheckResult()
/art/runtime/native/
Ddalvik_system_DexFile.cc915 for (const OatDexFile* oat_dex_file : oat_dex_files) { in DexFile_getDexFileOutputPaths() local
916 if (DexFileLoader::GetBaseLocation(oat_dex_file->GetDexFileLocation()) == in DexFile_getDexFileOutputPaths()

12