Home
last modified time | relevance | path

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

12

/aosp12/art/runtime/
H A Doat_file_manager.h42 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 …]
H A Doat_file-inl.h27 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()
H A Doat_file_assistant.h165 std::unique_ptr<OatFile> GetBestOatFile();
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);
402 OatStatus GivenOatFileStatus(const OatFile& file);
[all …]
H A Doat_file.h95 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,
173 virtual ~OatFile();
283 OatClass(const OatFile* oat_file,
290 const OatFile* const oat_file_;
474 DISALLOW_COPY_AND_ASSIGN(OatFile);
488 const OatFile* GetOatFile() const { in GetOatFile()
[all …]
H A Doat_file_manager.cc68 const OatFile* OatFileManager::RegisterOatFile(std::unique_ptr<const OatFile> oat_file) { in RegisterOatFile()
88 const OatFile* ret = oat_file.get(); in RegisterOatFile()
96 std::unique_ptr<const OatFile> compare(oat_file); in UnRegisterAndDeleteOatFile()
103 const OatFile* OatFileManager::FindOpenedOatFileFromDexLocation( in FindOpenedOatFileFromDexLocation()
136 std::vector<const OatFile*> oat_files; in GetBootOatFiles()
155 std::vector<const OatFile*> oat_files; in RegisterImageOatFiles()
172 const OatFile** out_oat_file, in OpenDexFilesFromOat()
430 const OatFile** out_oat_file, in OpenDexFilesFromOat()
460 const OatFile** out_oat_file, in OpenDexFilesFromOat_Impl()
534 std::unique_ptr<OatFile> oat_file(OatFile::OpenFromVdex(MakeNonOwningPointerVector(dex_files), in OpenDexFilesFromOat_Impl()
[all …]
H A Doat_file_test.cc43 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()
H A Doat_file_assistant.cc232 const OatFile* file = oat_.GetFile(); in GetStatusDump()
253 const OatFile* file = odex_.GetFile(); in GetStatusDump()
280 const OatFile &oat_file, in LoadDexFiles()
775 const OatFile* file = GetFile(); in Status()
858 file_.reset(OatFile::OpenFromVdex(zip_fd_, in GetFile()
872 file_.reset(OatFile::Open(zip_fd_, in GetFile()
883 file_.reset(OatFile::Open(/*zip_fd=*/ -1, in GetFile()
904 const OatFile* file = GetFile(); in CompilerFilterIsOkay()
951 const OatFile* file = GetFile(); in IsExecutable()
986 return std::unique_ptr<OatFile>(); in ReleaseFileForUse()
[all …]
H A Doat_file.cc103 class OatFileBase : public OatFile {
1816 OatFile* OatFile::Open(int zip_fd, in Open()
1893 OatFile* OatFile::Open(int zip_fd, in Open()
1920 OatFile* OatFile::OpenFromVdex(const std::vector<const DexFile*>& dex_files, in OpenFromVdex()
1927 OatFile* OatFile::OpenFromVdex(int zip_fd, in OpenFromVdex()
1935 OatFile::OatFile(const std::string& location, bool is_executable) in OatFile() function in art::OatFile
1953 OatFile::~OatFile() { in ~OatFile()
2310 OatFile::OatClass::OatClass(const OatFile* oat_file, in OatClass()
2365 const OatFile::OatMethod OatFile::OatClass::GetOatMethod(uint32_t method_index) const { in GetOatMethod()
2380 bool OatFile::IsDebuggable() const { in IsDebuggable()
[all …]
H A Dart_method.cc436 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()
H A Dclass_table.h33 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_);
H A Doat_file_assistant_test.cc181 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()
1262 const OatFile* oat_file = nullptr; in Run()
1286 const OatFile* GetLoadedOatFile() const { in GetLoadedOatFile()
1295 const OatFile* loaded_oat_file_;
1327 std::set<const OatFile*> oat_files; in TEST_F()
1329 const OatFile* oat_file = task->GetLoadedOatFile(); in TEST_F()
1508 const OatFile* oat_file = nullptr; in TEST_F()
1567 const OatFile* oat_file = nullptr; in TEST_F()
[all …]
H A Dclass_table.cc149 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()
H A Dclass_loader_context.h35 class OatFile; variable
240 std::vector<std::unique_ptr<OatFile>> opened_oat_files;
H A Dmodule_exclusion_test.cc173 std::unique_ptr<OatFile> odex_file(OatFile::Open(/*zip_fd=*/ -1, in TEST_F()
H A Dclass_table-inl.h80 for (const OatFile* oat_file : oat_files_) { in VisitRoots()
98 for (const OatFile* oat_file : oat_files_) { in VisitRoots()
/aosp12/art/runtime/gc/space/
H A Dimage_space.h29 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_;
H A Dimage_space_test.cc203 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()
/aosp12/art/dexlayout/
H A Ddexdiag_test.cc53 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();
/aosp12/art/dex2oat/
H A Ddex2oat_test.cc164 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()
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()
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()
1600 std::unique_ptr<OatFile> odex_file(OatFile::Open(/*zip_fd=*/ -1, in TEST_F()
1676 std::unique_ptr<OatFile> odex_file(OatFile::Open(/*zip_fd=*/ -1, in TEST_F()
1700 std::unique_ptr<OatFile> odex_file(OatFile::Open(/*zip_fd=*/ -1, in TEST_F()
[all …]
/aosp12/art/runtime/native/
H A Ddalvik_system_DexFile.cc66 /*out*/ const OatFile*& oat_file) { in ConvertJavaArrayToDexFiles()
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()
787 const OatFile* oat_file = nullptr; in DexFile_isBackedByOatFile()
877 const OatFile* oat_file = nullptr; in DexFile_getStaticSizeOfDexFile()
[all …]
/aosp12/art/dex2oat/linker/
H A Doat_writer_test.cc62 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()
/aosp12/art/test/661-oat-writer-layout/
H A Doat_writer_layout.cc58 OatFile::OatClass oat_class = OatFile::FindOatClass(*klass_ptr->GetDexCache()->GetDexFile(), in Java_Main_hasOatCompiledCode()
/aosp12/art/oatdump/
H A Doatdump.cc327 const OatFile* oat_file_;
1453 const OatFile::OatMethod& oat_method, in IsMethodGeneratedByOptimizingCompiler()
1466 const OatFile::OatMethod& oat_method, in IsMethodGeneratedByDexToDexCompiler()
1674 const OatFile& oat_file_;
1789 oat_file = OatFile::Open(/*zip_fd=*/ -1, in Dump()
2418 std::unique_ptr<OatFile> oat_file(OatFile::Open(/*zip_fd=*/ -1, in DumpImages()
2474 OatFile* oat_file_ptr = oat_file.get(); in InstallOatFile()
2508 OatFile* oat_file_ptr = oat_file.get(); in DumpOatWithRuntime()
2547 std::unique_ptr<OatFile> oat_file(OatFile::Open(/*zip_fd=*/ -1, in DumpOat()
2575 std::unique_ptr<OatFile> oat_file(OatFile::Open(/*zip_fd=*/ -1, in SymbolizeOat()
[all …]
/aosp12/art/test/692-vdex-secondary-loader/
H A Dinfo.txt3 OatFile using the data in the vdex.
/aosp12/art/test/692-vdex-inmem-loader/
H A Dinfo.txt3 OatFile using the data in the vdex.

12