/art/runtime/ |
D | oat_file_manager.h | 42 class OatFile; variable 58 const OatFile* RegisterOatFile(std::unique_ptr<const OatFile> oat_file, bool in_memory = false) 61 void UnRegisterAndDeleteOatFile(const OatFile* oat_file) 65 const OatFile* FindOpenedOatFileFromOatLocation(const std::string& oat_location) const 70 const OatFile* FindOpenedOatFileFromDexLocation(const std::string& dex_base_location) const 74 std::vector<const OatFile*> GetBootOatFiles() const; 78 std::vector<const OatFile*> RegisterImageOatFiles( 100 /*out*/ const OatFile** out_oat_file, 117 /*out*/ const OatFile** out_oat_file, 153 /*out*/ const OatFile** out_oat_file, [all …]
|
D | oat_file-inl.h | 28 inline const OatQuickMethodHeader* OatFile::OatMethod::GetOatQuickMethodHeader() const { in GetOatQuickMethodHeader() 37 inline uint32_t OatFile::OatMethod::GetOatQuickMethodHeaderOffset() const { in GetOatQuickMethodHeaderOffset() 45 inline size_t OatFile::OatMethod::GetFrameSizeInBytes() const { in GetFrameSizeInBytes() 53 inline uint32_t OatFile::OatMethod::GetCoreSpillMask() const { in GetCoreSpillMask() 61 inline uint32_t OatFile::OatMethod::GetFpSpillMask() const { in GetFpSpillMask() 69 inline uint32_t OatFile::OatMethod::GetVmapTableOffset() const { in GetVmapTableOffset() 74 inline const uint8_t* OatFile::OatMethod::GetVmapTable() const { in GetVmapTable() 86 inline uint32_t OatFile::OatMethod::GetQuickCodeSize() const { in GetQuickCodeSize() 94 inline const void* OatFile::OatMethod::GetQuickCode() const { in GetQuickCode() 101 inline const OatFile::BssMappingInfo* OatFile::FindBcpMappingInfo(const DexFile* dex_file) const { in FindBcpMappingInfo() [all …]
|
D | oat_file_test.cc | 42 std::unique_ptr<OatFile> odex_file(OatFile::Open(/*zip_fd=*/-1, in TEST_F() 69 std::unique_ptr<OatFile> odex_file(OatFile::Open(/*zip_fd=*/-1, in TEST_F() 84 std::unique_ptr<OatFile> odex_file(OatFile::Open(/*zip_fd=*/-1, in TEST_F()
|
D | oat_file_assistant.h | 240 std::unique_ptr<OatFile> GetBestOatFile(); 271 static std::unique_ptr<gc::space::ImageSpace> OpenImageSpace(const OatFile* oat_file); 282 const OatFile& oat_file, const char* dex_location); 287 static bool LoadDexFiles(const OatFile& oat_file, 363 bool ClassLoaderContextIsOkay(const OatFile& oat_file) const; 366 bool ValidateBootClassPathChecksums(const OatFile& oat_file); 410 const OatFile* GetFile(); 435 std::unique_ptr<OatFile> ReleaseFileForUse(); 454 std::unique_ptr<OatFile> ReleaseFile(); 468 std::unique_ptr<OatFile> file_; [all …]
|
D | oat_file.h | 100 class OatFile { 107 static OatFile* Open(int zip_fd, 117 static OatFile* Open(int zip_fd, in Open() 135 static OatFile* Open(int zip_fd, in Open() 155 static OatFile* Open(int zip_fd, 168 static OatFile* OpenFromVdex(const std::vector<const DexFile*>& dex_files, 175 static OatFile* OpenFromVdex(int zip_fd, 184 virtual ~OatFile(); 286 OatClass(const OatFile* oat_file, 293 const OatFile* const oat_file_; [all …]
|
D | oat_file_manager.cc | 72 const OatFile* OatFileManager::RegisterOatFile(std::unique_ptr<const OatFile> oat_file, in RegisterOatFile() 88 for (const std::unique_ptr<const OatFile>& existing : oat_files_) { in RegisterOatFile() 95 const OatFile* ret = oat_file.get(); in RegisterOatFile() 100 void OatFileManager::UnRegisterAndDeleteOatFile(const OatFile* oat_file) { in UnRegisterAndDeleteOatFile() 103 std::unique_ptr<const OatFile> compare(oat_file); in UnRegisterAndDeleteOatFile() 110 const OatFile* OatFileManager::FindOpenedOatFileFromDexLocation( in FindOpenedOatFileFromDexLocation() 113 for (const std::unique_ptr<const OatFile>& oat_file : oat_files_) { in FindOpenedOatFileFromDexLocation() 124 const OatFile* OatFileManager::FindOpenedOatFileFromOatLocation(const std::string& oat_location) in FindOpenedOatFileFromOatLocation() 130 const OatFile* OatFileManager::FindOpenedOatFileFromOatLocationLocked( in FindOpenedOatFileFromOatLocationLocked() 132 for (const std::unique_ptr<const OatFile>& oat_file : oat_files_) { in FindOpenedOatFileFromOatLocationLocked() [all …]
|
D | oat_file.cc | 104 class OatFileBase : public OatFile { 136 OatFileBase(const std::string& filename, bool executable) : OatFile(filename, executable) {} in OatFileBase() 401 inline static bool ReadOatDexFileData(const OatFile& oat_file, in ReadOatDexFileData() 417 static bool ReadIndexBssMapping(OatFile* oat_file, in ReadIndexBssMapping() 1898 OatFile* OatFile::Open(int zip_fd, in Open() 1923 OatFile* with_dlopen = OatFileBase::OpenOatFile<DlOpenOatFile>(zip_fd, in Open() 1953 OatFile* with_internal = OatFileBase::OpenOatFile<ElfOatFile>(zip_fd, in Open() 1967 OatFile* OatFile::Open(int zip_fd, in Open() 1981 OatFile* with_internal = OatFileBase::OpenOatFile<ElfOatFile>(zip_fd, in Open() 1996 OatFile* OatFile::OpenFromVdex(const std::vector<const DexFile*>& dex_files, in OpenFromVdex() [all …]
|
D | oat_file_assistant.cc | 358 std::unique_ptr<OatFile> OatFileAssistant::GetBestOatFile() { in GetBestOatFile() 372 const OatFile* file = oat_.GetFile(); in GetStatusDump() 393 const OatFile* file = odex_.GetFile(); in GetStatusDump() 410 const OatFile& oat_file, const char* dex_location) { in LoadDexFiles() 419 bool OatFileAssistant::LoadDexFiles(const OatFile& oat_file, in LoadDexFiles() 470 bool OatFileAssistant::DexChecksumUpToDate(const OatFile& file, std::string* error_msg) { in DexChecksumUpToDate() 511 OatFileAssistant::OatStatus OatFileAssistant::GivenOatFileStatus(const OatFile& file) { in GivenOatFileStatus() 852 bool OatFileAssistant::ValidateBootClassPathChecksums(const OatFile& oat_file) { in ValidateBootClassPathChecksums() 959 std::unique_ptr<gc::space::ImageSpace> OatFileAssistant::OpenImageSpace(const OatFile* oat_file) { in OpenImageSpace() 1008 const OatFile* file = GetFile(); in Status() [all …]
|
D | class_table.h | 33 class OatFile; variable 250 bool InsertOatFile(const OatFile* oat_file) 286 bool InsertOatFileLocked(const OatFile* oat_file) 299 std::vector<const OatFile*> oat_files_ GUARDED_BY(lock_);
|
D | class_table.cc | 146 const OatFile* oat_file = dex_file->GetOatDexFile()->GetOatFile(); in InsertStrongRoot() 155 bool ClassTable::InsertOatFile(const OatFile* oat_file) { in InsertOatFile() 160 bool ClassTable::InsertOatFileLocked(const OatFile* oat_file) { in InsertOatFileLocked()
|
D | art_method.cc | 485 static const OatFile::OatMethod FindOatMethodFromDexFileFor(ArtMethod* method, bool* found) in FindOatMethodFromDexFileFor() 505 OatFile::OatClass oat_class = OatFile::FindOatClass(*dex_file, in FindOatMethodFromDexFileFor() 509 return OatFile::OatMethod::Invalid(); in FindOatMethodFromDexFileFor() 514 static const OatFile::OatMethod FindOatMethodFor(ArtMethod* method, in FindOatMethodFor() 553 OatFile::OatClass oat_class = OatFile::FindOatClass(declaring_class->GetDexFile(), in FindOatMethodFor() 557 return OatFile::OatMethod::Invalid(); in FindOatMethodFor() 646 OatFile::OatMethod oat_method = in GetOatQuickMethodHeader() 685 OatFile::OatMethod oat_method = FindOatMethodFor(this, pointer_size, &found); in GetOatMethodQuickCode()
|
D | class_table-inl.h | 82 for (const OatFile* oat_file : oat_files_) { in VisitRoots() 100 for (const OatFile* oat_file : oat_files_) { in VisitRoots() 137 for (const OatFile* oat_file : oat_files_) { in VisitClassesAndRoots()
|
D | class_loader_context.h | 35 class OatFile; variable 244 std::vector<std::unique_ptr<OatFile>> opened_oat_files;
|
D | oat_file_assistant_test.cc | 298 std::unique_ptr<OatFile> oat_file = oat_file_assistant.GetBestOatFile(); in TEST_P() 331 std::unique_ptr<OatFile> oat_file = oat_file_assistant.GetBestOatFile(); in TEST_P() 429 std::unique_ptr<OatFile> oat_file = oat_file_assistant.GetBestOatFile(); in TEST_P() 971 std::unique_ptr<OatFile> oat_file = oat_file_assistant.GetBestOatFile(); in TEST_P() 1199 std::unique_ptr<OatFile> oat_file = oat_file_assistant.GetBestOatFile(); in TEST_P() 1278 std::unique_ptr<OatFile> oat_file = oat_file_assistant.GetBestOatFile(); in TEST_P() 1313 std::unique_ptr<OatFile> oat_file = oat_file_assistant.GetBestOatFile(); in TEST_P() 1347 std::unique_ptr<OatFile> oat_file = oat_file_assistant.GetBestOatFile(); in TEST_P() 1382 std::unique_ptr<OatFile> oat_file = oat_file_assistant.GetBestOatFile(); in TEST_P() 1512 const OatFile* oat_file = nullptr; in Run() [all …]
|
/art/dexlayout/ |
D | dexdiag_test.cc | 51 std::unique_ptr<OatFile> OpenOatAndVdexFiles() { in OpenOatAndVdexFiles() 64 std::unique_ptr<OatFile> oat(OatFile::Open(/*zip_fd=*/-1, in OpenOatAndVdexFiles() 112 std::unique_ptr<OatFile> oat = OpenOatAndVdexFiles(); 124 std::unique_ptr<OatFile> oat = OpenOatAndVdexFiles(); 137 std::unique_ptr<OatFile> oat = OpenOatAndVdexFiles();
|
/art/runtime/gc/space/ |
D | image_space.h | 31 class OatFile; variable 155 const OatFile* oat_file, 161 const OatFile* oat_file, 169 const OatFile* GetOatFile() const; 173 std::unique_ptr<const OatFile> ReleaseOatFile(); 279 static bool ValidateOatFile(const OatFile& oat_file, std::string* error_msg); 289 static bool ValidateOatFile(const OatFile& oat_file, 492 const OatFile* oat_file, 510 std::unique_ptr<OatFile> oat_file_; 514 const OatFile* oat_file_non_owned_;
|
D | image_space_test.cc | 206 std::unique_ptr<OatFile> odex_file(OatFile::Open(/*zip_fd=*/-1, in TEST_F() 245 std::unique_ptr<OatFile> oat(OatFile::Open(/*zip_fd=*/-1, in TEST_F() 256 std::unique_ptr<OatFile> oat2(OatFile::Open(/*zip_fd=*/-1, in TEST_F() 376 const OatFile* oat_file = image_spaces[i]->GetOatFile(); in CheckImageSpaceAndOatFile()
|
/art/dex2oat/ |
D | dex2oat_test.cc | 121 [](const OatFile&) {}); in __anon8517ffca0102() argument 158 std::unique_ptr<OatFile> odex_file(OatFile::Open(/*zip_fd=*/-1, in GenerateOdexForTest() 180 std::unique_ptr<OatFile> odex_file(OatFile::Open(/*zip_fd=*/-1, in GenerateOdexForTest() 491 std::unique_ptr<OatFile> odex_file(OatFile::Open(/*zip_fd=*/-1, in CheckResult() 514 OatFile::OatClass oat_class = oat_dex_file->GetOatClass(class_def_index); in CheckResult() 730 std::unique_ptr<OatFile> odex_file(OatFile::Open(/*zip_fd=*/-1, in CheckCompilerFilter() 783 std::unique_ptr<OatFile> odex_file(OatFile::Open(/*zip_fd=*/-1, in CheckResult() 868 std::unique_ptr<OatFile> odex_file(OatFile::Open(/*zip_fd=*/-1, in TEST_F() 1050 auto check_oat = [expected_classpath_key](const OatFile& oat_file) { in RunTest() 1305 std::unique_ptr<OatFile> odex_file(OatFile::Open(/*zip_fd=*/-1, in TEST_F() [all …]
|
/art/test/661-oat-writer-layout/ |
D | oat_writer_layout.cc | 58 OatFile::OatClass oat_class = OatFile::FindOatClass(*klass_ptr->GetDexCache()->GetDexFile(), in Java_Main_hasOatCompiledCode()
|
/art/runtime/native/ |
D | dalvik_system_DexFile.cc | 76 /*out*/ const OatFile*& oat_file) { in ConvertJavaArrayToDexFiles() 92 oat_file = reinterpret_cast64<const OatFile*>(long_data[kOatFileIndex]); in ConvertJavaArrayToDexFiles() 103 const OatFile* oat_file, in ConvertDexFilesToJavaArray() 184 const OatFile* oat_file, in CreateCookieFromOatFileManagerResult() 306 const OatFile* oat_file = nullptr; in DexFile_openInMemoryDexFilesNative() 392 const OatFile* oat_file = nullptr; in DexFile_openDexFileNative() 411 const OatFile* oat_file; in DexFile_verifyInBackgroundNative() 426 const OatFile* oat_file; in DexFile_closeDexFile() 478 const OatFile* oat_file; in DexFile_defineClassNative() 538 const OatFile* oat_file = nullptr; in DexFile_getClassNameList() [all …]
|
/art/runtime/entrypoints/quick/ |
D | quick_dexcache_entrypoints.cc | 38 const OatFile* oat_file, in StoreObjectInBss() 95 const OatFile* outer_oat_file = outer_method->GetDexFile()->GetOatDexFile()->GetOatFile(); in StoreTypeInBss() 108 const OatFile::BssMappingInfo* mapping_info = outer_oat_file->FindBcpMappingInfo(dex_file); in StoreTypeInBss() 147 const OatFile* outer_oat_file = outer_method->GetDexFile()->GetOatDexFile()->GetOatFile(); in StoreStringInBss() 156 const OatFile::BssMappingInfo* mapping_info = outer_oat_file->FindBcpMappingInfo(dex_file); in StoreStringInBss()
|
/art/test/692-vdex-secondary-loader/ |
D | info.txt | 3 OatFile using the data in the vdex.
|
/art/test/692-vdex-inmem-loader/ |
D | info.txt | 3 OatFile using the data in the vdex.
|
/art/dex2oat/linker/ |
D | oat_writer_test.cc | 62 const OatFile::OatMethod& oat_method, in CheckMethod() 269 std::unique_ptr<OatFile> opened_oat_file(OatFile::Open(/*zip_fd=*/ -1, in CheckOatWriteResult() 451 std::unique_ptr<OatFile> oat_file(OatFile::Open(/*zip_fd=*/ -1, in TEST_F() 481 const OatFile::OatClass oat_class = oat_dex_file->GetOatClass(accessor.GetClassDefIndex()); in TEST_F() 568 std::unique_ptr<OatFile> oat_file(OatFile::Open(/*zip_fd=*/ -1, in TEST_F() 777 std::unique_ptr<OatFile> opened_oat_file(OatFile::Open(/*zip_fd=*/ -1, in TestZipFileInput() 826 std::unique_ptr<OatFile> opened_oat_file(OatFile::Open(/*zip_fd=*/ -1, in TestZipFileInput()
|
/art/oatdump/ |
D | oatdump.cc | 132 OatSymbolizer(const OatFile* oat_file, const std::string& output_name, bool no_bits) : in OatSymbolizer() 251 const OatFile::OatClass oat_class = oat_dex_file->GetOatClass(class_def_index); in WalkOatDexFile() 267 void WalkOatClass(const OatFile::OatClass& oat_class, in WalkOatClass() 284 void WalkOatMethod(const OatFile::OatMethod& oat_method, in WalkOatMethod() 326 const OatFile* oat_file_; 382 OatDumper(const OatFile& oat_file, const OatDumperOptions& options) in OatDumper() 738 const OatFile::OatClass oat_class = oat_dex_file->GetOatClass(class_def_index); in GetQuickOatCode() 835 const OatFile::OatClass oat_class = oat_dex_file->GetOatClass(accessor.GetClassDefIndex()); in AddAllOffsets() 854 void AddOffsets(const OatFile::OatMethod& oat_method) { in AddOffsets() 916 const OatFile::OatClass oat_class = oat_dex_file.GetOatClass(class_def_index); in DumpOatDexFile() [all …]
|