Home
last modified time | relevance | path

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

/art/dex2oat/linker/
Doat_writer.cc673 for (const OatDexFile& oat_dex_file : oat_dex_files_) { in GetSourceLocations() local
674 locations.push_back(oat_dex_file.GetLocation()); in GetSourceLocations()
969 for (const OatDexFile& oat_dex_file : writer_->oat_dex_files_) { in InitOatClassesMethodVisitor() local
970 num_classes += oat_dex_file.class_offsets_.size(); in InitOatClassesMethodVisitor()
2086 for (OatDexFile& oat_dex_file : oat_dex_files_) { in InitClassOffsets()
2087 DCHECK_EQ(oat_dex_file.class_offsets_offset_, 0u); in InitClassOffsets()
2088 if (!oat_dex_file.class_offsets_.empty()) { in InitClassOffsets()
2091 oat_dex_file.class_offsets_offset_ = offset; in InitClassOffsets()
2092 offset += oat_dex_file.GetClassOffsetsRawSize(); in InitClassOffsets()
2108 for (OatDexFile& oat_dex_file : oat_dex_files_) { in InitOatClasses()
[all …]
Doat_writer.h283 OatDexFile* oat_dex_file,
285 bool LayoutDexFile(OatDexFile* oat_dex_file);
287 OatDexFile* oat_dex_file,
290 OatDexFile* oat_dex_file,
292 bool WriteDexFile(OatDexFile* oat_dex_file,
Doat_writer_test.cc464 const OatDexFile* oat_dex_file = oat_file->GetOatDexFile(dex_file.GetLocation().c_str(), in TEST_F() local
466 ASSERT_TRUE(oat_dex_file != nullptr); in TEST_F()
467 CHECK_EQ(dex_file.GetLocationChecksum(), oat_dex_file->GetDexFileLocationChecksum()); in TEST_F()
478 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()
94 StoreObjectInBss(outer_method, oat_dex_file->GetOatFile(), bss_offset, resolved_type); in StoreTypeInBss()
97 store(oat_dex_file->GetTypeBssMapping()); in StoreTypeInBss()
99 store(oat_dex_file->GetPublicTypeBssMapping()); in StoreTypeInBss()
103 store(oat_dex_file->GetPackageTypeBssMapping()); in StoreTypeInBss()
114 const OatDexFile* oat_dex_file = dex_file->GetOatDexFile(); in StoreStringInBss() local
115 if (oat_dex_file != nullptr) { in StoreStringInBss()
116 size_t bss_offset = IndexBssMappingLookup::GetBssOffset(oat_dex_file->GetStringBssMapping(), in StoreStringInBss()
121 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/libdexfile/dex/
Ddex_file_loader.h133 const OatDexFile* oat_dex_file,
144 const OatDexFile* oat_dex_file,
158 const OatDexFile* oat_dex_file,
188 const OatDexFile* oat_dex_file,
Ddex_file_loader.cc226 const OatDexFile* oat_dex_file, in Open() argument
238 oat_dex_file, in Open()
251 const OatDexFile* oat_dex_file, in Open() argument
262 oat_dex_file, in Open()
277 const OatDexFile* oat_dex_file, in OpenWithDataSection() argument
287 oat_dex_file, in OpenWithDataSection()
347 const OatDexFile* oat_dex_file, in OpenCommon() argument
365 oat_dex_file, in OpenCommon()
382 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.h67 const OatDexFile* oat_dex_file,
161 const OatDexFile* oat_dex_file,
Dart_dex_file_loader.cc166 const OatDexFile* oat_dex_file, in Open() argument
178 oat_dex_file, in Open()
567 const OatDexFile* oat_dex_file, in OpenCommon() argument
579 oat_dex_file, in OpenCommon()
Dcompact_dex_file.h311 const OatDexFile* oat_dex_file,
Ddex_file.h741 void SetOatDexFile(const OatDexFile* oat_dex_file) const { in SetOatDexFile() argument
742 oat_dex_file_ = oat_dex_file; in SetOatDexFile()
822 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/runtime/
Doat_file.cc546 OatDexFile* oat_dex_file = new OatDexFile( in Setup() local
553 oat_dex_files_storage_.push_back(oat_dex_file); in Setup()
556 std::string_view key(oat_dex_file->GetDexFileLocation()); in Setup()
557 oat_dex_files_.Put(key, oat_dex_file); in Setup()
559 std::string_view canonical_key(oat_dex_file->GetCanonicalDexFileLocation()); in Setup()
560 oat_dex_files_.Put(canonical_key, oat_dex_file); in Setup()
982 OatDexFile* oat_dex_file = new OatDexFile( in Setup() local
996 oat_dex_files_storage_.push_back(oat_dex_file); in Setup()
1003 std::string_view canonical_key(oat_dex_file->GetCanonicalDexFileLocation()); in Setup()
1004 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.cc285 const OatDexFile* oat_dex_file = oat_file.GetOatDexFile( in LoadDexFiles() local
287 if (oat_dex_file == nullptr) { in LoadDexFiles()
292 std::unique_ptr<const DexFile> dex_file = oat_dex_file->OpenDexFile(&error_msg); in LoadDexFiles()
302 oat_dex_file = oat_file.GetOatDexFile(multidex_dex_location.c_str(), nullptr); in LoadDexFiles()
303 if (oat_dex_file == nullptr) { in LoadDexFiles()
308 dex_file = oat_dex_file->OpenDexFile(&error_msg); in LoadDexFiles()
387 const OatDexFile* oat_dex_file = file.GetOatDexFile(dex.c_str(), nullptr); in DexChecksumUpToDate() local
388 if (oat_dex_file == nullptr) { in DexChecksumUpToDate()
392 uint32_t actual_checksum = oat_dex_file->GetDexFileLocationChecksum(); in DexChecksumUpToDate()
Doat_file_manager.cc108 for (const OatDexFile* oat_dex_file : oat_dex_files) { in FindOpenedOatFileFromDexLocation() local
109 if (DexFileLoader::GetBaseLocation(oat_dex_file->GetDexFileLocation()) == dex_base_location) { in FindOpenedOatFileFromDexLocation()
Dclass_linker.cc1681 const OatDexFile* oat_dex_file = oat_file->GetOatDexFile(location, nullptr, error_msg); in OpenOatDexFile() local
1682 if (oat_dex_file == nullptr) { in OpenOatDexFile()
1686 dex_file = oat_dex_file->OpenDexFile(&inner_error_msg); in OpenOatDexFile()
1695 if (dex_file->GetLocationChecksum() != oat_dex_file->GetDexFileLocationChecksum()) { in OpenOatDexFile()
1699 oat_dex_file->GetDexFileLocationChecksum()); in OpenOatDexFile()
4810 const OatDexFile* oat_dex_file = dex_file.GetOatDexFile(); in VerifyClassUsingOatFile() local
4812 if (oat_dex_file == nullptr || oat_dex_file->GetOatFile() == nullptr) { in VerifyClassUsingOatFile()
4817 oat_file_class_status = oat_dex_file->GetOatClass(class_def_index).GetStatus(); in VerifyClassUsingOatFile()
4828 const OatFile* oat_file = oat_dex_file->GetOatFile(); in VerifyClassUsingOatFile()
/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()
237 const OatDexFile* oat_dex_file = oat_dex_files[i]; in Walk() local
238 CHECK(oat_dex_file != nullptr); in Walk()
239 WalkOatDexFile(oat_dex_file); in Walk()
243 void WalkOatDexFile(const OatDexFile* oat_dex_file) { in WalkOatDexFile() argument
245 const DexFile* const dex_file = OpenDexFile(oat_dex_file, &error_msg); in WalkOatDexFile()
[all …]
/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/runtime/jit/
Djit.cc1783 const OatDexFile* oat_dex_file = dex_file.GetOatDexFile(); in CanAssumeInitialized() local
1785 if (oat_dex_file == nullptr || oat_dex_file->GetOatFile() == nullptr) { in CanAssumeInitialized()
1789 return oat_dex_file->GetOatClass(class_def_index).GetStatus() >= ClassStatus::kInitialized; in CanAssumeInitialized()
/art/dex2oat/
Ddex2oat_test.cc517 for (const OatDexFile* oat_dex_file : odex_file->GetOatDexFiles()) { in CheckResult() local
518 std::unique_ptr<const DexFile> dex_file = oat_dex_file->OpenDexFile(&error_msg); in CheckResult()
523 OatFile::OatClass oat_class = oat_dex_file->GetOatClass(class_def_index); in CheckResult()
797 for (const OatDexFile* oat_dex_file : odex_file->GetOatDexFiles()) { in CheckResult() local
798 std::unique_ptr<const DexFile> new_dex_file = oat_dex_file->OpenDexFile(&error_msg); in CheckResult()
/art/runtime/native/
Ddalvik_system_DexFile.cc827 for (const OatDexFile* oat_dex_file : oat_dex_files) { in DexFile_getDexFileOutputPaths() local
828 if (DexFileLoader::GetBaseLocation(oat_dex_file->GetDexFileLocation()) == in DexFile_getDexFileOutputPaths()
/art/runtime/gc/space/
Dimage_space.cc3272 for (const OatDexFile* oat_dex_file : oat_file.GetOatDexFiles()) { in ValidateOatFile() local
3273 const std::string& dex_file_location = oat_dex_file->GetDexFileLocation(); in ValidateOatFile()
3293 if (checksums[0] != oat_dex_file->GetDexFileLocationChecksum()) { in ValidateOatFile()
3298 oat_dex_file->GetDexFileLocationChecksum(), in ValidateOatFile()