/art/runtime/ |
D | oat_file_manager.h | 40 class OatFile; variable 53 const OatFile* RegisterOatFile(std::unique_ptr<const OatFile> oat_file) 56 void UnRegisterAndDeleteOatFile(const OatFile* oat_file) 60 const OatFile* FindOpenedOatFileFromOatLocation(const std::string& oat_location) const 65 const OatFile* FindOpenedOatFileFromDexLocation(const std::string& dex_base_location) const 74 std::vector<const OatFile*> GetBootOatFiles() const; 77 const OatFile* GetPrimaryOatFile() const REQUIRES(!Locks::oat_file_manager_lock_); 81 std::vector<const OatFile*> RegisterImageOatFiles(std::vector<gc::space::ImageSpace*> spaces) 102 /*out*/ const OatFile** out_oat_file, 118 bool HasCollisions(const OatFile* oat_file, [all …]
|
D | oat_file_test.cc | 33 OatFile::ResolveRelativeEncodedDexLocation( in TEST_F() 37 OatFile::ResolveRelativeEncodedDexLocation( in TEST_F() 41 OatFile::ResolveRelativeEncodedDexLocation( in TEST_F() 45 OatFile::ResolveRelativeEncodedDexLocation( in TEST_F() 49 OatFile::ResolveRelativeEncodedDexLocation( in TEST_F() 53 OatFile::ResolveRelativeEncodedDexLocation( in TEST_F() 57 OatFile::ResolveRelativeEncodedDexLocation( in TEST_F() 61 OatFile::ResolveRelativeEncodedDexLocation( in TEST_F()
|
D | oat_file-inl.h | 25 inline const OatQuickMethodHeader* OatFile::OatMethod::GetOatQuickMethodHeader() const { in GetOatQuickMethodHeader() 34 inline uint32_t OatFile::OatMethod::GetOatQuickMethodHeaderOffset() const { in GetOatQuickMethodHeaderOffset() 42 inline uint32_t OatFile::OatMethod::GetQuickCodeSizeOffset() const { in GetQuickCodeSizeOffset() 50 inline size_t OatFile::OatMethod::GetFrameSizeInBytes() const { in GetFrameSizeInBytes() 58 inline uint32_t OatFile::OatMethod::GetCoreSpillMask() const { in GetCoreSpillMask() 66 inline uint32_t OatFile::OatMethod::GetFpSpillMask() const { in GetFpSpillMask() 74 inline uint32_t OatFile::OatMethod::GetVmapTableOffset() const { in GetVmapTableOffset() 79 inline uint32_t OatFile::OatMethod::GetVmapTableOffsetOffset() const { in GetVmapTableOffsetOffset() 87 inline const uint8_t* OatFile::OatMethod::GetVmapTable() const { in GetVmapTable() 99 inline uint32_t OatFile::OatMethod::GetQuickCodeSize() const { in GetQuickCodeSize() [all …]
|
D | oat_file_assistant.h | 208 std::unique_ptr<OatFile> GetBestOatFile(); 215 static std::unique_ptr<gc::space::ImageSpace> OpenImageSpace(const OatFile* oat_file); 226 const OatFile& oat_file, const char* dex_location); 231 static bool LoadDexFiles(const OatFile& oat_file, 341 const OatFile* GetFile(); 362 std::unique_ptr<OatFile> ReleaseFileForUse(); 381 std::unique_ptr<OatFile> ReleaseFile(); 390 std::unique_ptr<OatFile> file_; 426 bool DexChecksumUpToDate(const OatFile& file, std::string* error_msg); 430 OatStatus GivenOatFileStatus(const OatFile& file);
|
D | oat_file_manager.cc | 54 const OatFile* OatFileManager::RegisterOatFile(std::unique_ptr<const OatFile> oat_file) { in RegisterOatFile() 59 for (const std::unique_ptr<const OatFile>& existing : oat_files_) { in RegisterOatFile() 67 const OatFile* ret = oat_file.get(); in RegisterOatFile() 72 void OatFileManager::UnRegisterAndDeleteOatFile(const OatFile* oat_file) { in UnRegisterAndDeleteOatFile() 75 std::unique_ptr<const OatFile> compare(oat_file); in UnRegisterAndDeleteOatFile() 82 const OatFile* OatFileManager::FindOpenedOatFileFromDexLocation( in FindOpenedOatFileFromDexLocation() 85 for (const std::unique_ptr<const OatFile>& oat_file : oat_files_) { in FindOpenedOatFileFromDexLocation() 96 const OatFile* OatFileManager::FindOpenedOatFileFromOatLocation(const std::string& oat_location) in FindOpenedOatFileFromOatLocation() 102 const OatFile* OatFileManager::FindOpenedOatFileFromOatLocationLocked( in FindOpenedOatFileFromOatLocationLocked() 104 for (const std::unique_ptr<const OatFile>& oat_file : oat_files_) { in FindOpenedOatFileFromOatLocationLocked() [all …]
|
D | oat_file.h | 65 class OatFile { 74 static OatFile* OpenWithElfFile(ElfFile* elf_file, 83 static OatFile* Open(const std::string& filename, 97 static OatFile* OpenWritable(File* file, const std::string& location, 101 static OatFile* OpenReadable(File* file, const std::string& location, 105 virtual ~OatFile(); 219 OatClass(const OatFile* oat_file, 226 const OatFile* const oat_file_; 312 OatFile(const std::string& filename, bool executable); 381 DISALLOW_COPY_AND_ASSIGN(OatFile); [all …]
|
D | oat_file.cc | 89 class OatFileBase : public OatFile { 106 OatFileBase(const std::string& filename, bool executable) : OatFile(filename, executable) {} in OatFileBase() 263 inline static bool ReadOatDexFileData(const OatFile& oat_file, in ReadOatDexFileData() 1099 std::string OatFile::ResolveRelativeEncodedDexLocation( in ResolveRelativeEncodedDexLocation() 1123 OatFile* OatFile::OpenWithElfFile(ElfFile* elf_file, in OpenWithElfFile() 1134 OatFile* OatFile::Open(const std::string& oat_filename, in Open() 1159 OatFile* with_dlopen = OatFileBase::OpenOatFile<DlOpenOatFile>(vdex_filename, in Open() 1188 OatFile* with_internal = OatFileBase::OpenOatFile<ElfOatFile>(vdex_filename, in Open() 1201 OatFile* OatFile::OpenWritable(File* file, in OpenWritable() 1217 OatFile* OatFile::OpenReadable(File* file, in OpenReadable() [all …]
|
D | oat_file_assistant.cc | 269 std::unique_ptr<OatFile> OatFileAssistant::GetBestOatFile() { in GetBestOatFile() 283 const OatFile* file = oat_.GetFile(); in GetStatusDump() 304 const OatFile* file = odex_.GetFile(); in GetStatusDump() 321 const OatFile &oat_file, const char *dex_location) { in LoadDexFiles() 331 const OatFile &oat_file, in LoadDexFiles() 336 const OatFile::OatDexFile* oat_dex_file = oat_file.GetOatDexFile( in LoadDexFiles() 417 bool OatFileAssistant::DexChecksumUpToDate(const OatFile& file, std::string* error_msg) { in DexChecksumUpToDate() 435 const OatFile::OatDexFile* oat_dex_file = file.GetOatDexFile(dex.c_str(), nullptr); in DexChecksumUpToDate() 451 OatFileAssistant::OatStatus OatFileAssistant::GivenOatFileStatus(const OatFile& file) { in GivenOatFileStatus() 754 ? OatFile::kSpecialSharedLibrary in GenerateOatFileNoChecks() [all …]
|
D | oat_file_assistant_test.cc | 124 std::unique_ptr<OatFile> oat_file = oat_file_assistant.GetBestOatFile(); in TEST_F() 405 std::unique_ptr<OatFile> oat_file = oat_file_assistant.GetBestOatFile(); in TEST_F() 464 std::unique_ptr<OatFile> best_file = oat_file_assistant.GetBestOatFile(); in TEST_F() 495 std::unique_ptr<OatFile> oat_file = oat_file_assistant.GetBestOatFile(); in TEST_F() 672 std::unique_ptr<OatFile> oat_file = oat_file_assistant.GetBestOatFile(); in TEST_F() 700 std::unique_ptr<OatFile> oat_file = oat_file_assistant.GetBestOatFile(); in TEST_F() 740 std::unique_ptr<OatFile> oat_file = oat_file_assistant.GetBestOatFile(); in TEST_F() 817 std::unique_ptr<OatFile> oat_file = oat_file_assistant.GetBestOatFile(); in TEST_F() 870 std::unique_ptr<OatFile> oat_file = oat_file_assistant.GetBestOatFile(); in TEST_F() 898 std::unique_ptr<OatFile> oat_file = oat_file_assistant.GetBestOatFile(); in TEST_F() [all …]
|
D | class_loader_context.h | 32 class OatFile; variable 156 std::vector<std::unique_ptr<OatFile>> opened_oat_files;
|
D | art_method.cc | 482 static const OatFile::OatMethod FindOatMethodFromDexFileFor(ArtMethod* method, bool* found) in FindOatMethodFromDexFileFor() 502 OatFile::OatClass oat_class = OatFile::FindOatClass(*dex_file, in FindOatMethodFromDexFileFor() 506 return OatFile::OatMethod::Invalid(); in FindOatMethodFromDexFileFor() 511 static const OatFile::OatMethod FindOatMethodFor(ArtMethod* method, in FindOatMethodFor() 550 OatFile::OatClass oat_class = OatFile::FindOatClass(*declaring_class->GetDexCache()->GetDexFile(), in FindOatMethodFor() 554 return OatFile::OatMethod::Invalid(); in FindOatMethodFor() 588 const OatFile::OatDexFile* oat_dex_file = dex_file.GetOatDexFile(); in GetQuickenedInfo() 596 OatFile::OatMethod oat_method = FindOatMethodFor(this, pointer_size, &found); in GetQuickenedInfo() 660 OatFile::OatMethod oat_method = in GetOatQuickMethodHeader() 704 OatFile::OatMethod oat_method = FindOatMethodFor(this, pointer_size, &found); in GetOatMethodQuickCode()
|
D | class_table.h | 33 class OatFile; variable 229 bool InsertOatFile(const OatFile* oat_file) 274 bool InsertOatFileLocked(const OatFile* oat_file) 287 std::vector<const OatFile*> oat_files_ GUARDED_BY(lock_);
|
D | class_table-inl.h | 38 for (const OatFile* oat_file : oat_files_) { in VisitRoots() 56 for (const OatFile* oat_file : oat_files_) { in VisitRoots()
|
D | class_loader_context.cc | 64 for (std::unique_ptr<OatFile>& oat_file : info.opened_oat_files) { in ~ClassLoaderContext() 164 if (spec == OatFile::kSpecialSharedLibrary) { in Parse() 242 std::unique_ptr<OatFile> oat_file(oat_file_assistant.GetBestOatFile()); in OpenDexFiles() 317 return OatFile::kSpecialSharedLibrary; in EncodeContext() 726 expected_dex_name = OatFile::ResolveRelativeEncodedDexLocation( in VerifyClassLoaderContextMatch() 734 dex_name = OatFile::ResolveRelativeEncodedDexLocation( in VerifyClassLoaderContextMatch()
|
D | class_table.cc | 242 const OatFile* oat_file = dex_file->GetOatDexFile()->GetOatFile(); in InsertStrongRoot() 251 bool ClassTable::InsertOatFile(const OatFile* oat_file) { in InsertOatFile() 256 bool ClassTable::InsertOatFileLocked(const OatFile* oat_file) { in InsertOatFileLocked()
|
/art/runtime/gc/space/ |
D | image_space.h | 27 class OatFile; variable 52 const OatFile* oat_file, 64 const OatFile* GetOatFile() const; 68 std::unique_ptr<const OatFile> ReleaseOatFile(); 143 static bool ValidateOatFile(const OatFile& oat_file, std::string* error_msg); 175 const OatFile* oat_file, 192 std::unique_ptr<OatFile> oat_file_; 196 const OatFile* oat_file_non_owned_;
|
D | image_space_test.cc | 43 std::unique_ptr<OatFile> oat(OatFile::Open(oat_location.c_str(), in TEST_F()
|
/art/dexlayout/ |
D | dexdiag_test.cc | 57 std::unique_ptr<OatFile> OpenOatAndVdexFiles() { in OpenOatAndVdexFiles() 70 std::unique_ptr<OatFile> oat(OatFile::Open(oat_location.c_str(), in OpenOatAndVdexFiles() 120 std::unique_ptr<OatFile> oat = OpenOatAndVdexFiles(); 132 std::unique_ptr<OatFile> oat = OpenOatAndVdexFiles(); 146 std::unique_ptr<OatFile> oat = OpenOatAndVdexFiles();
|
/art/test/117-nopatchoat/ |
D | nopatchoat.cc | 31 static const OatFile::OatDexFile* getOatDexFile(jclass cls) { in getOatDexFile() 45 const OatFile::OatDexFile* oat_dex_file = getOatDexFile(cls); in hasExecutableOat() 51 const OatFile::OatDexFile* oat_dex_file = getOatDexFile(cls); in needsRelocation() 57 const OatFile* oat_file = oat_dex_file->GetOatFile(); in needsRelocation()
|
/art/oatdump/ |
D | oatdump.cc | 101 static std::map<const OatFile::OatDexFile*, 104 const DexFile* OpenDexFile(const OatFile::OatDexFile* oat_dex_file, std::string* error_msg) { in OpenDexFile() 118 OatSymbolizer(const OatFile* oat_file, const std::string& output_name, bool no_bits) : in OatSymbolizer() 205 std::vector<const OatFile::OatDexFile*> oat_dex_files = oat_file_->GetOatDexFiles(); in Walk() 207 const OatFile::OatDexFile* oat_dex_file = oat_dex_files[i]; in Walk() 213 void WalkOatDexFile(const OatFile::OatDexFile* oat_dex_file) { in WalkOatDexFile() 222 const OatFile::OatClass oat_class = oat_dex_file->GetOatClass(class_def_index); in WalkOatDexFile() 238 void WalkOatClass(const OatFile::OatClass& oat_class, in WalkOatClass() 262 void WalkOatMethod(const OatFile::OatMethod& oat_method, in WalkOatMethod() 304 const OatFile* oat_file_; [all …]
|
/art/dex2oat/ |
D | dex2oat_test.cc | 98 std::function<void(const OatFile&)> check_oat = [](const OatFile&) {}) { in __anon4ab9f1040102() argument 111 std::unique_ptr<OatFile> odex_file(OatFile::Open(odex_location.c_str(), 129 std::unique_ptr<OatFile> odex_file(OatFile::Open(odex_location.c_str(), 516 std::unique_ptr<OatFile> odex_file(OatFile::Open(odex_location.c_str(), in CheckResult() 540 OatFile::OatClass oat_class = oat_dex_file->GetOatClass(class_def_index); in CheckResult() 784 std::unique_ptr<OatFile> odex_file(OatFile::Open(odex_location.c_str(), in CheckResult() 900 std::unique_ptr<OatFile> odex_file(OatFile::Open(odex_location.c_str(), in CheckResult() 1018 auto check_oat = [expected_classpath_key](const OatFile& oat_file) { in RunTest() 1054 RunTest(OatFile::kSpecialSharedLibrary, in TEST_F() 1055 OatFile::kSpecialSharedLibrary, in TEST_F() [all …]
|
/art/compiler/ |
D | oat_test.cc | 65 const OatFile::OatMethod& oat_method, in CheckMethod() 419 std::unique_ptr<OatFile> oat_file(OatFile::Open(tmp_oat.GetFilename(), in TEST_F() 438 const OatFile::OatDexFile* oat_dex_file = oat_file->GetOatDexFile(dex_file.GetLocation().c_str(), in TEST_F() 459 const OatFile::OatClass oat_class = oat_dex_file->GetOatClass(i); in TEST_F() 549 std::unique_ptr<OatFile> oat_file(OatFile::Open(tmp_oat.GetFilename(), in TEST_F() 626 std::unique_ptr<OatFile> opened_oat_file(OatFile::Open(oat_file.GetFilename(), in TestDexFileInput() 735 std::unique_ptr<OatFile> opened_oat_file(OatFile::Open(oat_file.GetFilename(), in TestZipFileInput() 784 std::unique_ptr<OatFile> opened_oat_file(OatFile::Open(oat_file.GetFilename(), in TestZipFileInput()
|
/art/runtime/native/ |
D | dalvik_system_DexFile.cc | 55 /*out*/ const OatFile*& oat_file) { in ConvertJavaArrayToDexFiles() 71 oat_file = reinterpret_cast<const OatFile*>(static_cast<uintptr_t>(long_data[kOatFileIndex])); in ConvertJavaArrayToDexFiles() 82 const OatFile* oat_file, in ConvertDexFilesToJavaArray() 276 const OatFile* oat_file = nullptr; in DexFile_openDexFileNative() 312 const OatFile* oat_file; in DexFile_closeDexFile() 359 const OatFile* oat_file; in DexFile_defineClassNative() 419 const OatFile* oat_file = nullptr; in DexFile_getClassNameList() 658 const OatFile* oat_file = nullptr; in DexFile_isBackedByOatFile() 694 std::unique_ptr<OatFile> best_oat_file = oat_file_assistant.GetBestOatFile(); in DexFile_getDexFileOutputPaths()
|
/art/test/common/ |
D | runtime_state.cc | 59 const OatFile::OatDexFile* oat_dex_file = dex_file.GetOatDexFile(); in Java_Main_hasOatFile() 99 const OatFile::OatDexFile* oat_dex_file = dex_file.GetOatDexFile(); in Java_Main_compiledWithOptimizing() 104 const OatFile* oat_file = oat_dex_file->GetOatFile(); in Java_Main_compiledWithOptimizing()
|
/art/runtime/openjdkjvmti/ |
D | fixed_up_dex_file.cc | 54 const art::OatFile* oat_file = oat_dex->GetOatFile(); in DoDexUnquicken()
|