/art/runtime/ |
oat_file.cc | 446 : oat_file_(oat_file), 471 const byte* oat_class_pointer = oat_file_->Begin() + oat_class_offset; 472 CHECK_LT(oat_class_pointer, oat_file_->End()) << oat_file_->GetLocation(); 475 CHECK_LT(status_pointer, oat_file_->End()) << oat_file_->GetLocation(); 481 CHECK_LT(type_pointer, oat_file_->End()) << oat_file_->GetLocation(); 486 CHECK_LE(after_type_pointer, oat_file_->End()) << oat_file_->GetLocation() [all...] |
oat_file.h | 209 const OatFile* oat_file_; member in class:art::OatFile::OatClass 228 return oat_file_; 265 const OatFile* const oat_file_; member in class:art::OatFile::OatDexFile
|
dex_file.h | 895 return oat_file_; 1027 const OatFile* oat_file_; member in class:art::DexFile [all...] |
dex_file.cc | 363 oat_file_(oat_file) { [all...] |
/art/compiler/ |
elf_patcher.h | 68 : compiler_driver_(driver), elf_file_(elf_file), oat_file_(oat_file), 94 // Takes the pointer into the oat_file_ and get the pointer in to the ElfFile. 100 if (f == oat_file_) { 113 const OatFile* oat_file_; member in class:art::ElfPatcher
|
elf_patcher.cc | 132 CHECK_GE(patch_ptr, reinterpret_cast<uintptr_t>(oat_file_->Begin())); 133 CHECK_LE(patch_ptr, reinterpret_cast<uintptr_t>(oat_file_->End())); 134 uintptr_t off = patch_ptr - reinterpret_cast<uintptr_t>(oat_file_->Begin()); 181 uintptr_t loc = patch_ptr - (reinterpret_cast<uintptr_t>(oat_file_->Begin()) + 183 CHECK_GT(patch_ptr, reinterpret_cast<uintptr_t>(oat_file_->Begin()) + 185 CHECK_LT(loc, oat_file_->Size() - oat_header_->GetExecutableOffset()); 213 // Get where the data actually starts. if target is this oat_file_ it is oat_data_start_,
|
image_writer.h | 44 : compiler_driver_(compiler_driver), oat_file_(NULL), image_end_(0), 159 DCHECK_LT(offset, oat_file_->Size()); 242 OatFile* oat_file_; member in class:art::FINAL
|
image_writer.cc | 95 oat_file_ = OatFile::OpenReadable(oat_file.get(), oat_location, &error_msg); 96 if (oat_file_ == nullptr) { 101 CHECK_EQ(class_linker->RegisterOatFile(oat_file_), oat_file_); 104 oat_file_->GetOatHeader().GetInterpreterToInterpreterBridgeOffset(); 106 oat_file_->GetOatHeader().GetInterpreterToCompiledCodeBridgeOffset(); 108 jni_dlsym_lookup_offset_ = oat_file_->GetOatHeader().GetJniDlsymLookupOffset(); 111 oat_file_->GetOatHeader().GetPortableImtConflictTrampolineOffset(); 113 oat_file_->GetOatHeader().GetPortableResolutionTrampolineOffset(); 115 oat_file_->GetOatHeader().GetPortableToInterpreterBridgeOffset() [all...] |
/art/patchoat/ |
patchoat.cc | 328 CHECK(oat_file_.get() != nullptr); 330 size_t expect = oat_file_->Size(); 331 if (out->WriteFully(reinterpret_cast<char*>(oat_file_->Begin()), expect) && 608 Elf32_Shdr* patches_sec = oat_file_->FindSectionByName(".oat_patches"); 615 uintptr_t* patches = reinterpret_cast<uintptr_t*>(oat_file_->Begin() + patches_sec->sh_offset); 617 Elf32_Shdr* oat_data_sec = oat_file_->FindSectionByName(".rodata"); 618 Elf32_Shdr* oat_text_sec = oat_file_->FindSectionByName(".text"); 639 Elf32_Shdr *rodata_sec = oat_file_->FindSectionByName(".rodata"); 643 OatHeader* oat_header = reinterpret_cast<OatHeader*>(oat_file_->Begin() + rodata_sec->sh_offset); 645 LOG(ERROR) << "Elf file " << oat_file_->GetFile().GetPath() << " has an invalid oat header" [all...] |
patchoat.h | 63 : oat_file_(oat_file), delta_(delta), isa_(kNone), timings_(timings) {} 71 : oat_file_(oat_file), image_(image), bitmap_(bitmap), heap_(heap), 142 std::unique_ptr<ElfFile> oat_file_; member in class:art::PatchOat
|
/art/oatdump/ |
oatdump.cc | 143 : oat_file_(oat_file), 146 instruction_set_(oat_file_.GetOatHeader().GetInstructionSet()), 164 const OatHeader& oat_header = oat_file_.GetOatHeader(); 185 os << StringPrintf(" (%p)", oat_file_.Begin() + oat_header.offset()); \ 238 os << reinterpret_cast<const void*>(oat_file_.Begin()) << "\n\n"; 241 os << reinterpret_cast<const void*>(oat_file_.End()) << "\n\n"; 245 os << oat_file_.Size() << "\n\n"; 261 if (reinterpret_cast<const byte*>(oat_data) < oat_file_.Begin() || 262 reinterpret_cast<const byte*>(oat_data) > oat_file_.End()) { 266 reinterpret_cast<uintptr_t>(oat_file_.Begin()) 956 const OatFile& oat_file_; member in class:art::OatDumper [all...] |
/art/runtime/gc/space/ |
image_space.h | 153 std::unique_ptr<OatFile> oat_file_; member in class:art::gc::space::ImageSpace
|
image_space.cc | 697 space->oat_file_.reset(space->OpenOatFile(image_filename, error_msg)); 698 if (space->oat_file_.get() == nullptr) { 709 runtime->SetInstructionSet(space->oat_file_->GetOatHeader().GetInstructionSet()); [all...] |