Searched refs:oat_dex_file (Results 1 – 11 of 11) sorted by relevance
/art/test/117-nopatchoat/ |
D | nopatchoat.cc | 32 const OatFile::OatDexFile* oat_dex_file = in getOatDexFile() local 35 return oat_dex_file; in getOatDexFile() 39 const OatFile::OatDexFile* oat_dex_file = getOatDexFile(cls); in hasExecutableOat() local 41 return oat_dex_file != nullptr && oat_dex_file->GetOatFile()->IsExecutable(); in hasExecutableOat() 45 const OatFile::OatDexFile* oat_dex_file = getOatDexFile(cls); in isPic() local 47 if (oat_dex_file == nullptr) { in isPic() 51 const OatFile* oat_file = oat_dex_file->GetOatFile(); in isPic()
|
/art/runtime/ |
D | oat_file.cc | 335 OatDexFile* oat_dex_file = new OatDexFile(this, in Setup() local 341 oat_dex_files_storage_.push_back(oat_dex_file); in Setup() 344 StringPiece key(oat_dex_file->GetDexFileLocation()); in Setup() 345 oat_dex_files_.Put(key, oat_dex_file); in Setup() 347 StringPiece canonical_key(oat_dex_file->GetCanonicalDexFileLocation()); in Setup() 348 oat_dex_files_.Put(canonical_key, oat_dex_file); in Setup() 379 const OatFile::OatDexFile* oat_dex_file = nullptr; in GetOatDexFile() local 385 oat_dex_file = primary_it->second; in GetOatDexFile() 386 DCHECK(oat_dex_file != nullptr); in GetOatDexFile() 394 oat_dex_file = secondary_lb->second; // May be nullptr. in GetOatDexFile() [all …]
|
D | class_linker.cc | 715 const OatFile::OatDexFile* oat_dex_file = oat_file->GetOatDexFile(dex_location, in FindOpenedOatDexFile() local 718 if (oat_dex_file != nullptr) { in FindOpenedOatDexFile() 719 return oat_dex_file; in FindOpenedOatDexFile() 768 const OatFile::OatDexFile* oat_dex_file = oat_file->GetOatDexFile(next_name, nullptr, false); in LoadMultiDexFilesFromOatFile() local 770 if (oat_dex_file == nullptr) { in LoadMultiDexFilesFromOatFile() 784 success = next_location_checksum == oat_dex_file->GetDexFileLocationChecksum(); in LoadMultiDexFilesFromOatFile() 788 const DexFile* dex_file = oat_dex_file->OpenDexFile(&error_msg); in LoadMultiDexFilesFromOatFile() 801 << " OatDexFile::GetLocationChecksum()=" << oat_dex_file->GetDexFileLocationChecksum(); in LoadMultiDexFilesFromOatFile() 844 const OatFile::OatDexFile* oat_dex_file = FindOpenedOatDexFile(oat_location, dex_location, in OpenDexFilesFromOat() local 847 oat_dex_file != nullptr ? oat_dex_file->GetOatFile() : nullptr); in OpenDexFilesFromOat() [all …]
|
D | runtime.cc | 628 for (const OatFile::OatDexFile* oat_dex_file : oat_file->GetOatDexFiles()) { in OpenDexFilesFromImage() local 629 if (oat_dex_file == nullptr) { in OpenDexFilesFromImage() 633 const DexFile* dex_file = oat_dex_file->OpenDexFile(&error_msg); in OpenDexFilesFromImage()
|
/art/test/116-nodex2oat/ |
D | nodex2oat.cc | 31 const OatFile::OatDexFile* oat_dex_file = in hasOat() local 33 return oat_dex_file != nullptr; in hasOat()
|
/art/test/118-noimage-dex2oat/ |
D | noimage-dex2oat.cc | 31 const OatFile::OatDexFile* oat_dex_file = in hasOat() local 33 return oat_dex_file != nullptr; in hasOat()
|
/art/compiler/ |
D | oat_test.cc | 150 const OatFile::OatDexFile* oat_dex_file = oat_file->GetOatDexFile(dex_file->GetLocation().c_str(), in TEST_F() local 152 ASSERT_TRUE(oat_dex_file != nullptr); in TEST_F() 153 CHECK_EQ(dex_file->GetLocationChecksum(), oat_dex_file->GetDexFileLocationChecksum()); in TEST_F() 167 const OatFile::OatClass oat_class = oat_dex_file->GetOatClass(i); in TEST_F()
|
D | oat_writer.cc | 758 OatDexFile* oat_dex_file = new OatDexFile(offset, *dex_file); in InitOatDexFiles() local 759 oat_dex_files_.push_back(oat_dex_file); in InitOatDexFiles() 760 offset += oat_dex_file->SizeOf(); in InitOatDexFiles() 791 for (OatDexFile* oat_dex_file : oat_dex_files_) { in InitOatClasses() 792 for (uint32_t& offset : oat_dex_file->methods_offsets_) { in InitOatClasses() 797 oat_dex_file->UpdateChecksum(oat_header_); in InitOatClasses()
|
/art/oatdump/ |
D | oatdump.cc | 250 const OatFile::OatDexFile* oat_dex_file = oat_dex_files_[i]; in Dump() local 251 CHECK(oat_dex_file != nullptr); in Dump() 252 if (!DumpOatDexFile(os, *oat_dex_file)) { in Dump() 279 const OatFile::OatDexFile* oat_dex_file = oat_dex_files_[i]; in GetQuickOatCode() local 280 CHECK(oat_dex_file != nullptr); in GetQuickOatCode() 282 std::unique_ptr<const DexFile> dex_file(oat_dex_file->OpenDexFile(&error_msg)); in GetQuickOatCode() 284 LOG(WARNING) << "Failed to open dex file '" << oat_dex_file->GetDexFileLocation() in GetQuickOatCode() 292 const OatFile::OatClass oat_class = oat_dex_file->GetOatClass(class_def_index); in GetQuickOatCode() 308 const OatFile::OatDexFile* oat_dex_file = oat_dex_files_[i]; in AddAllOffsets() local 309 CHECK(oat_dex_file != nullptr); in AddAllOffsets() [all …]
|
/art/runtime/gc/space/ |
D | image_space.cc | 773 for (const OatFile::OatDexFile* oat_dex_file : oat_file_->GetOatDexFiles()) { in ValidateOatFile() local 774 const std::string& dex_file_location = oat_dex_file->GetDexFileLocation(); in ValidateOatFile() 781 if (dex_file_location_checksum != oat_dex_file->GetDexFileLocationChecksum()) { in ValidateOatFile() 785 oat_dex_file->GetDexFileLocationChecksum(), in ValidateOatFile()
|
/art/runtime/native/ |
D | dalvik_system_DexFile.cc | 314 const art::OatFile::OatDexFile* oat_dex_file = oat_file->GetOatDexFile(filename, nullptr, in CopyProfileFile() local 316 if (oat_dex_file != nullptr) { in CopyProfileFile() 353 } else if (location_checksum == oat_dex_file->GetDexFileLocationChecksum() in CopyProfileFile()
|