/art/runtime/ |
D | oat_file_manager.h | 42 class OatFile; variable 56 const OatFile* RegisterOatFile(std::unique_ptr<const OatFile> oat_file) 59 void UnRegisterAndDeleteOatFile(const OatFile* oat_file) 63 const OatFile* FindOpenedOatFileFromOatLocation(const std::string& oat_location) const 68 const OatFile* FindOpenedOatFileFromDexLocation(const std::string& dex_base_location) const 72 std::vector<const OatFile*> GetBootOatFiles() const; 76 std::vector<const OatFile*> RegisterImageOatFiles( 98 /*out*/ const OatFile** out_oat_file, 115 /*out*/ const OatFile** out_oat_file, 145 /*out*/ const OatFile** out_oat_file, [all …]
|
D | oat_file-inl.h | 27 inline const OatQuickMethodHeader* OatFile::OatMethod::GetOatQuickMethodHeader() const { in GetOatQuickMethodHeader() 36 inline uint32_t OatFile::OatMethod::GetOatQuickMethodHeaderOffset() const { in GetOatQuickMethodHeaderOffset() 44 inline size_t OatFile::OatMethod::GetFrameSizeInBytes() const { in GetFrameSizeInBytes() 52 inline uint32_t OatFile::OatMethod::GetCoreSpillMask() const { in GetCoreSpillMask() 60 inline uint32_t OatFile::OatMethod::GetFpSpillMask() const { in GetFpSpillMask() 68 inline uint32_t OatFile::OatMethod::GetVmapTableOffset() const { in GetVmapTableOffset() 73 inline const uint8_t* OatFile::OatMethod::GetVmapTable() const { in GetVmapTable() 85 inline uint32_t OatFile::OatMethod::GetQuickCodeSize() const { in GetQuickCodeSize() 93 inline uint32_t OatFile::OatMethod::GetCodeOffset() const { in GetCodeOffset() 97 inline const void* OatFile::OatMethod::GetQuickCode() const { in GetQuickCode()
|
D | oat_file_assistant.h | 165 std::unique_ptr<OatFile> GetBestOatFile(); 195 static std::unique_ptr<gc::space::ImageSpace> OpenImageSpace(const OatFile* oat_file); 206 const OatFile& oat_file, const char* dex_location); 211 static bool LoadDexFiles(const OatFile& oat_file, 274 bool ClassLoaderContextIsOkay(const OatFile& oat_file) const; 314 const OatFile* GetFile(); 339 std::unique_ptr<OatFile> ReleaseFileForUse(); 356 std::unique_ptr<OatFile> ReleaseFile(); 370 std::unique_ptr<OatFile> file_; 398 bool DexChecksumUpToDate(const OatFile& file, std::string* error_msg); [all …]
|
D | oat_file_test.cc | 43 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.h | 95 class OatFile { 102 static OatFile* Open(int zip_fd, 111 static OatFile* Open(int zip_fd, in Open() 128 static OatFile* Open(int zip_fd, in Open() 147 static OatFile* Open(int zip_fd, 159 static OatFile* OpenFromVdex(const std::vector<const DexFile*>& dex_files, 165 static OatFile* OpenFromVdex(int zip_fd, 173 virtual ~OatFile(); 283 OatClass(const OatFile* oat_file, 290 const OatFile* const oat_file_; [all …]
|
D | oat_file_manager.cc | 68 const OatFile* OatFileManager::RegisterOatFile(std::unique_ptr<const OatFile> oat_file) { in RegisterOatFile() 81 for (const std::unique_ptr<const OatFile>& existing : oat_files_) { in RegisterOatFile() 88 const OatFile* ret = oat_file.get(); in RegisterOatFile() 93 void OatFileManager::UnRegisterAndDeleteOatFile(const OatFile* oat_file) { in UnRegisterAndDeleteOatFile() 96 std::unique_ptr<const OatFile> compare(oat_file); in UnRegisterAndDeleteOatFile() 103 const OatFile* OatFileManager::FindOpenedOatFileFromDexLocation( in FindOpenedOatFileFromDexLocation() 106 for (const std::unique_ptr<const OatFile>& oat_file : oat_files_) { in FindOpenedOatFileFromDexLocation() 117 const OatFile* OatFileManager::FindOpenedOatFileFromOatLocation(const std::string& oat_location) in FindOpenedOatFileFromOatLocation() 123 const OatFile* OatFileManager::FindOpenedOatFileFromOatLocationLocked( in FindOpenedOatFileFromOatLocationLocked() 125 for (const std::unique_ptr<const OatFile>& oat_file : oat_files_) { in FindOpenedOatFileFromOatLocationLocked() [all …]
|
D | oat_file_assistant.cc | 218 std::unique_ptr<OatFile> OatFileAssistant::GetBestOatFile() { in GetBestOatFile() 232 const OatFile* file = oat_.GetFile(); in GetStatusDump() 253 const OatFile* file = odex_.GetFile(); in GetStatusDump() 270 const OatFile &oat_file, const char *dex_location) { in LoadDexFiles() 280 const OatFile &oat_file, in LoadDexFiles() 368 bool OatFileAssistant::DexChecksumUpToDate(const OatFile& file, std::string* error_msg) { in DexChecksumUpToDate() 403 static bool ValidateApexVersions(const OatFile& oat_file) { in ValidateApexVersions() 416 OatFileAssistant::OatStatus OatFileAssistant::GivenOatFileStatus(const OatFile& file) { in GivenOatFileStatus() 631 bool OatFileAssistant::ValidateBootClassPathChecksums(const OatFile& oat_file) { in ValidateBootClassPathChecksums() 729 std::unique_ptr<gc::space::ImageSpace> OatFileAssistant::OpenImageSpace(const OatFile* oat_file) { in OpenImageSpace() [all …]
|
D | oat_file.cc | 103 class OatFileBase : public OatFile { 133 OatFileBase(const std::string& filename, bool executable) : OatFile(filename, executable) {} in OatFileBase() 417 inline static bool ReadOatDexFileData(const OatFile& oat_file, in ReadOatDexFileData() 433 static bool ReadIndexBssMapping(OatFile* oat_file, in ReadIndexBssMapping() 1816 OatFile* OatFile::Open(int zip_fd, in Open() 1840 OatFile* with_dlopen = OatFileBase::OpenOatFile<DlOpenOatFile>(zip_fd, in Open() 1880 OatFile* with_internal = OatFileBase::OpenOatFile<ElfOatFile>(zip_fd, in Open() 1893 OatFile* OatFile::Open(int zip_fd, in Open() 1906 OatFile* with_internal = OatFileBase::OpenOatFile<ElfOatFile>(zip_fd, in Open() 1920 OatFile* OatFile::OpenFromVdex(const std::vector<const DexFile*>& dex_files, in OpenFromVdex() [all …]
|
D | class_table.h | 33 class OatFile; variable 231 bool InsertOatFile(const OatFile* oat_file) 267 bool InsertOatFileLocked(const OatFile* oat_file) 280 std::vector<const OatFile*> oat_files_ GUARDED_BY(lock_);
|
D | art_method.cc | 436 static const OatFile::OatMethod FindOatMethodFromDexFileFor(ArtMethod* method, bool* found) in FindOatMethodFromDexFileFor() 456 OatFile::OatClass oat_class = OatFile::FindOatClass(*dex_file, in FindOatMethodFromDexFileFor() 460 return OatFile::OatMethod::Invalid(); in FindOatMethodFromDexFileFor() 465 static const OatFile::OatMethod FindOatMethodFor(ArtMethod* method, in FindOatMethodFor() 504 OatFile::OatClass oat_class = OatFile::FindOatClass(declaring_class->GetDexFile(), in FindOatMethodFor() 508 return OatFile::OatMethod::Invalid(); in FindOatMethodFor() 596 OatFile::OatMethod oat_method = in GetOatQuickMethodHeader() 637 OatFile::OatMethod oat_method = FindOatMethodFor(this, pointer_size, &found); in GetOatMethodQuickCode()
|
D | class_table.cc | 149 const OatFile* oat_file = dex_file->GetOatDexFile()->GetOatFile(); in InsertStrongRoot() 158 bool ClassTable::InsertOatFile(const OatFile* oat_file) { in InsertOatFile() 163 bool ClassTable::InsertOatFileLocked(const OatFile* oat_file) { in InsertOatFileLocked()
|
D | oat_file_assistant_test.cc | 181 std::unique_ptr<OatFile> oat_file = oat_file_assistant.GetBestOatFile(); in TEST_F() 210 std::unique_ptr<OatFile> oat_file = oat_file_assistant.GetBestOatFile(); in TEST_F() 295 std::unique_ptr<OatFile> oat_file = oat_file_assistant.GetBestOatFile(); in TEST_F() 732 std::unique_ptr<OatFile> oat_file = oat_file_assistant.GetBestOatFile(); in TEST_F() 958 std::unique_ptr<OatFile> oat_file = oat_file_assistant.GetBestOatFile(); in TEST_F() 1021 std::unique_ptr<OatFile> oat_file = oat_file_assistant.GetBestOatFile(); in TEST_F() 1080 std::unique_ptr<OatFile> oat_file = oat_file_assistant.GetBestOatFile(); in TEST_F() 1111 std::unique_ptr<OatFile> oat_file = oat_file_assistant.GetBestOatFile(); in TEST_F() 1143 std::unique_ptr<OatFile> oat_file = oat_file_assistant.GetBestOatFile(); in TEST_F() 1262 const OatFile* oat_file = nullptr; in Run() [all …]
|
D | class_loader_context.h | 35 class OatFile; variable 240 std::vector<std::unique_ptr<OatFile>> opened_oat_files;
|
D | module_exclusion_test.cc | 173 std::unique_ptr<OatFile> odex_file(OatFile::Open(/*zip_fd=*/ -1, in TEST_F()
|
D | class_table-inl.h | 80 for (const OatFile* oat_file : oat_files_) { in VisitRoots() 98 for (const OatFile* oat_file : oat_files_) { in VisitRoots()
|
/art/runtime/gc/space/ |
D | image_space.h | 29 class OatFile; variable 138 const OatFile* oat_file, 144 const OatFile* oat_file, 152 const OatFile* GetOatFile() const; 156 std::unique_ptr<const OatFile> ReleaseOatFile(); 267 static bool ValidateOatFile(const OatFile& oat_file, std::string* error_msg); 291 const OatFile* oat_file, 309 std::unique_ptr<OatFile> oat_file_; 313 const OatFile* oat_file_non_owned_;
|
D | image_space_test.cc | 203 std::unique_ptr<OatFile> odex_file(OatFile::Open(/*zip_fd=*/ -1, in TEST_F() 242 std::unique_ptr<OatFile> oat(OatFile::Open(/*zip_fd=*/ -1, in TEST_F() 253 std::unique_ptr<OatFile> oat2(OatFile::Open(/*zip_fd=*/ -1, in TEST_F()
|
/art/dexlayout/ |
D | dexdiag_test.cc | 53 std::unique_ptr<OatFile> OpenOatAndVdexFiles() { in OpenOatAndVdexFiles() 66 std::unique_ptr<OatFile> oat(OatFile::Open(/*zip_fd=*/ -1, in OpenOatAndVdexFiles() 114 std::unique_ptr<OatFile> oat = OpenOatAndVdexFiles(); 126 std::unique_ptr<OatFile> oat = OpenOatAndVdexFiles(); 140 std::unique_ptr<OatFile> oat = OpenOatAndVdexFiles();
|
/art/dex2oat/ |
D | dex2oat_test.cc | 122 [](const OatFile&) {}); in __anon390640650102() argument 164 std::unique_ptr<OatFile> odex_file(OatFile::Open(/*zip_fd=*/ -1, in GenerateOdexForTest() 186 std::unique_ptr<OatFile> odex_file(OatFile::Open(/*zip_fd=*/ -1, in GenerateOdexForTest() 500 std::unique_ptr<OatFile> odex_file(OatFile::Open(/*zip_fd=*/ -1, in CheckResult() 523 OatFile::OatClass oat_class = oat_dex_file->GetOatClass(class_def_index); in CheckResult() 727 std::unique_ptr<OatFile> odex_file(OatFile::Open(/*zip_fd=*/ -1, in CheckCompilerFilter() 780 std::unique_ptr<OatFile> odex_file(OatFile::Open(/*zip_fd=*/ -1, in CheckResult() 945 auto check_oat = [expected_classpath_key](const OatFile& oat_file) { in RunTest() 1213 std::unique_ptr<OatFile> odex_file(OatFile::Open(/*zip_fd=*/ -1, in TEST_F() 1321 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 | 66 /*out*/ const OatFile*& oat_file) { in ConvertJavaArrayToDexFiles() 82 oat_file = reinterpret_cast64<const OatFile*>(long_data[kOatFileIndex]); in ConvertJavaArrayToDexFiles() 93 const OatFile* oat_file, in ConvertDexFilesToJavaArray() 174 const OatFile* oat_file, in CreateCookieFromOatFileManagerResult() 296 const OatFile* oat_file = nullptr; in DexFile_openInMemoryDexFilesNative() 320 const OatFile* oat_file = nullptr; in DexFile_openDexFileNative() 339 const OatFile* oat_file; in DexFile_verifyInBackgroundNative() 354 const OatFile* oat_file; in DexFile_closeDexFile() 405 const OatFile* oat_file; in DexFile_defineClassNative() 465 const OatFile* oat_file = nullptr; in DexFile_getClassNameList() [all …]
|
/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() 266 std::unique_ptr<OatFile> opened_oat_file(OatFile::Open(/*zip_fd=*/ -1, in CheckOatWriteResult() 448 std::unique_ptr<OatFile> oat_file(OatFile::Open(/*zip_fd=*/ -1, in TEST_F() 478 const OatFile::OatClass oat_class = oat_dex_file->GetOatClass(accessor.GetClassDefIndex()); in TEST_F() 565 std::unique_ptr<OatFile> oat_file(OatFile::Open(/*zip_fd=*/ -1, in TEST_F() 774 std::unique_ptr<OatFile> opened_oat_file(OatFile::Open(/*zip_fd=*/ -1, in TestZipFileInput() 823 std::unique_ptr<OatFile> opened_oat_file(OatFile::Open(/*zip_fd=*/ -1, in TestZipFileInput()
|
/art/oatdump/ |
D | oatdump.cc | 133 OatSymbolizer(const OatFile* oat_file, const std::string& output_name, bool no_bits) : in OatSymbolizer() 252 const OatFile::OatClass oat_class = oat_dex_file->GetOatClass(class_def_index); in WalkOatDexFile() 268 void WalkOatClass(const OatFile::OatClass& oat_class, in WalkOatClass() 285 void WalkOatMethod(const OatFile::OatMethod& oat_method, in WalkOatMethod() 327 const OatFile* oat_file_; 383 OatDumper(const OatFile& oat_file, const OatDumperOptions& options) in OatDumper() 736 const OatFile::OatClass oat_class = oat_dex_file->GetOatClass(class_def_index); in GetQuickOatCode() 833 const OatFile::OatClass oat_class = oat_dex_file->GetOatClass(accessor.GetClassDefIndex()); in AddAllOffsets() 852 void AddOffsets(const OatFile::OatMethod& oat_method) { in AddOffsets() 913 const OatFile::OatClass oat_class = oat_dex_file.GetOatClass(class_def_index); in DumpOatDexFile() [all …]
|