/art/runtime/ |
oat_file_test.cc | 33 OatFile::ResolveRelativeEncodedDexLocation( 37 OatFile::ResolveRelativeEncodedDexLocation( 41 OatFile::ResolveRelativeEncodedDexLocation( 45 OatFile::ResolveRelativeEncodedDexLocation( 49 OatFile::ResolveRelativeEncodedDexLocation( 53 OatFile::ResolveRelativeEncodedDexLocation( 57 OatFile::ResolveRelativeEncodedDexLocation( 61 OatFile::ResolveRelativeEncodedDexLocation( 78 EXPECT_TRUE(OatFile::CheckStaticDexFileDependencies(nullptr, &error_msg)) << error_msg; 79 EXPECT_TRUE(OatFile::CheckStaticDexFileDependencies("", &error_msg)) << error_msg [all...] |
oat_file-inl.h | 24 inline const OatQuickMethodHeader* OatFile::OatMethod::GetOatQuickMethodHeader() const { 33 inline uint32_t OatFile::OatMethod::GetOatQuickMethodHeaderOffset() const { 41 inline uint32_t OatFile::OatMethod::GetQuickCodeSize() const { 49 inline uint32_t OatFile::OatMethod::GetQuickCodeSizeOffset() const { 57 inline size_t OatFile::OatMethod::GetFrameSizeInBytes() const { 65 inline uint32_t OatFile::OatMethod::GetCoreSpillMask() const { 73 inline uint32_t OatFile::OatMethod::GetFpSpillMask() const { 81 const uint8_t* OatFile::OatMethod::GetGcMap() const { 93 uint32_t OatFile::OatMethod::GetGcMapOffset() const { 98 uint32_t OatFile::OatMethod::GetGcMapOffsetOffset() const [all...] |
oat_file_assistant.h | 164 std::unique_ptr<OatFile> GetBestOatFile(); 175 const OatFile& oat_file, const char* dex_location); 219 OatStatus GivenOatFileStatus(const OatFile& file); 220 bool GivenOatFileIsOutOfDate(const OatFile& file); 221 bool GivenOatFileNeedsRelocation(const OatFile& file); 222 bool GivenOatFileIsUpToDate(const OatFile& file); 328 const OatFile* GetOdexFile(); 337 const OatFile* GetOatFile(); 400 std::unique_ptr<OatFile> cached_odex_file_; 420 std::unique_ptr<OatFile> cached_oat_file_ [all...] |
oat_file.h | 42 class OatFile FINAL { 48 static OatFile* OpenWithElfFile(ElfFile* elf_file, const std::string& location, 55 static OatFile* Open(const std::string& filename, 68 static OatFile* OpenWritable(File* file, const std::string& location, 72 static OatFile* OpenReadable(File* file, const std::string& location, 76 ~OatFile(); 187 // Return the offset from the start of the OatFile to the 200 OatClass(const OatFile* oat_file, 207 const OatFile* const oat_file_; 269 static OatFile* OpenDlopen(const std::string& elf_filename [all...] |
oat_file.cc | 51 // Whether OatFile::Open will try DlOpen() first. Fallback is our own ELF loader. 54 // Whether OatFile::Open will try DlOpen() on the host. On the host we're not linking against 63 std::string OatFile::ResolveRelativeEncodedDexLocation( 83 void OatFile::CheckLocation(const std::string& location) { 87 OatFile* OatFile::OpenWithElfFile(ElfFile* elf_file, 91 std::unique_ptr<OatFile> oat_file(new OatFile(location, false)); 102 OatFile* OatFile::Open(const std::string& filename [all...] |
oat_file_assistant.cc | 167 std::unique_ptr<OatFile> OatFileAssistant::GetBestOatFile() { 201 return std::unique_ptr<OatFile>(); 205 const OatFile& oat_file, const char* dex_location) { 210 const OatFile::OatDexFile* oat_dex_file = oat_file.GetOatDexFile( 286 const OatFile* odex_file = GetOdexFile(); 303 const OatFile* odex_file = GetOdexFile(); 355 const OatFile* oat_file = GetOatFile(); 372 const OatFile* oat_file = GetOatFile(); 382 OatFileAssistant::OatStatus OatFileAssistant::GivenOatFileStatus(const OatFile& file) { 395 bool OatFileAssistant::GivenOatFileIsOutOfDate(const OatFile& file) [all...] |
class_linker.h | 288 const OatFile* RegisterOatFile(const OatFile* oat_file) 296 const OatFile* GetPrimaryOatFile() 488 const OatFile::OatMethod FindOatMethodFor(ArtMethod* method, bool* found) 491 OatFile& GetImageOatFile(gc::space::ImageSpace* space) 539 Handle<mirror::Class> klass, const OatFile::OatClass* oat_class) 554 OatFile::OatClass FindOatClass(const DexFile& dex_file, uint16_t class_def_idx, bool* found) 610 void LinkCode(ArtMethod* method, const OatFile::OatClass* oat_class, 631 const OatFile* FindOpenedOatFileFromOatLocation(const std::string& oat_location) 635 const OatFile* GetBootOatFile() SHARED_LOCKS_REQUIRED(dex_lock_) [all...] |
oat_file_assistant_test.cc | 330 std::unique_ptr<OatFile> oat_file = oat_file_assistant.GetBestOatFile(); 368 std::unique_ptr<OatFile> oat_file = oat_file_assistant.GetBestOatFile(); 417 std::unique_ptr<OatFile> oat_file = oat_file_assistant.GetBestOatFile(); 518 std::unique_ptr<OatFile> oat_file = oat_file_assistant.GetBestOatFile(); 576 std::unique_ptr<OatFile> oat_file = oat_file_assistant.GetBestOatFile(); 667 std::unique_ptr<OatFile> oat_file = oat_file_assistant.GetBestOatFile(); 707 std::unique_ptr<OatFile> oat_file = oat_file_assistant.GetBestOatFile(); 764 std::unique_ptr<OatFile> oat_file = oat_file_assistant.GetBestOatFile(); 783 std::unique_ptr<OatFile> oat_file = oat_file_assistant.GetBestOatFile(); [all...] |
class_linker.cc | 683 const OatFile* ClassLinker::RegisterOatFile(const OatFile* oat_file) { 695 OatFile& ClassLinker::GetImageOatFile(gc::space::ImageSpace* space) { 697 OatFile* oat_file = space->ReleaseOatFile(); [all...] |
runtime.cc | 732 std::unique_ptr<OatFile> oat_file(OatFile::OpenWithElfFile(elf_file.release(), oat_location, 739 for (const OatFile::OatDexFile* oat_dex_file : oat_file->GetOatDexFiles()) { [all...] |
/art/test/117-nopatchoat/ |
nopatchoat.cc | 27 static const OatFile::OatDexFile* getOatDexFile(jclass cls) { 35 const OatFile::OatDexFile* oat_dex_file = getOatDexFile(cls); 41 const OatFile::OatDexFile* oat_dex_file = getOatDexFile(cls); 47 const OatFile* oat_file = oat_dex_file->GetOatFile();
|
/art/runtime/gc/space/ |
image_space.h | 26 class OatFile; 41 // Create also opens the OatFile associated with the image file so 44 // used to transfer ownership of the OatFile to the ClassLinker when 61 // Give access to the OatFile. 62 const OatFile* GetOatFile() const; 64 // Releases the OatFile from the ImageSpace so it can be transfer to 66 OatFile* ReleaseOatFile() 128 // image's OatFile is up-to-date relative to its DexFile 130 // the OatFile in /data/dalvik-cache if necessary. 135 OatFile* OpenOatFile(const char* image, std::string* error_msg) cons [all...] |
image_space.cc | 786 OatFile* ImageSpace::OpenOatFile(const char* image_path, std::string* error_msg) const { 792 OatFile* oat_file = OatFile::Open(oat_filename, oat_filename, image_header.GetOatDataBegin(), [all...] |
/art/test/116-nodex2oat/ |
nodex2oat.cc | 31 const OatFile::OatDexFile* oat_dex_file = dex_file.GetOatDexFile();
|
/art/test/118-noimage-dex2oat/ |
noimage-dex2oat.cc | 31 const OatFile::OatDexFile* oat_dex_file = dex_file.GetOatDexFile();
|
/art/oatdump/ |
oatdump.cc | 85 explicit RodataWriter(const OatFile* oat_file) : oat_file_(oat_file) {} 93 const OatFile* oat_file_; 98 explicit TextWriter(const OatFile* oat_file) : oat_file_(oat_file) {} 107 const OatFile* oat_file_; 110 explicit OatSymbolizer(const OatFile* oat_file, const std::string& output_name) : 117 const OatFile::OatMethod&, 152 std::vector<const OatFile::OatDexFile*> oat_dex_files = oat_file_->GetOatDexFiles(); 154 const OatFile::OatDexFile* oat_dex_file = oat_dex_files[i]; 160 void WalkOatDexFile(const OatFile::OatDexFile* oat_dex_file, Callback callback) { 170 const OatFile::OatClass oat_class = oat_dex_file->GetOatClass(class_def_index) [all...] |
/art/compiler/ |
oat_test.cc | 45 const OatFile::OatMethod& oat_method, 125 std::unique_ptr<OatFile> oat_file(OatFile::Open(tmp.GetFilename(), tmp.GetFilename(), nullptr, 138 const OatFile::OatDexFile* oat_dex_file = oat_file->GetOatDexFile(dex_file.GetLocation().c_str(), 158 const OatFile::OatClass oat_class = oat_dex_file->GetOatClass(i);
|
common_compiler_test.h | 46 OatFile::OatMethod CreateOatMethod(const void* code);
|
image_writer.h | 200 // With Quick, code is within the OatFile, as there are all in one 281 // Patches references in OatFile to expect runtime addresses. 308 OatFile* oat_file_;
|
image_writer.cc | 144 oat_file_ = OatFile::OpenReadable(oat_file.get(), oat_location, nullptr, &error_msg); [all...] |
/art/compiler/jit/ |
jit_compiler.h | 45 OatFile::OatMethod* out_method) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
|
jit_compiler.cc | 208 OatFile::OatMethod* out_method) { 253 *out_method = OatFile::OatMethod(base, code_offset); 269 OatFile::OatMethod oat_method(nullptr, 0);
|
/art/test/137-cfi/ |
cfi.cc | 97 const OatFile* oat_file = image_space->GetOatFile();
|
/art/dex2oat/ |
dex2oat.cc | [all...] |