Home
last modified time | relevance | path

Searched refs:oat_file_ (Results 1 – 7 of 7) sorted by relevance

/art/runtime/
Doat_file.cc364 : oat_file_(oat_file), in OatDexFile()
384 const byte* oat_class_pointer = oat_file_->Begin() + oat_class_offset; in GetOatClass()
385 CHECK_LT(oat_class_pointer, oat_file_->End()) << oat_file_->GetLocation(); in GetOatClass()
389 CHECK_LT(methods_pointer, oat_file_->End()) << oat_file_->GetLocation(); in GetOatClass()
391 return new OatClass(oat_file_, in GetOatClass()
399 : oat_file_(oat_file), status_(status), methods_pointer_(methods_pointer) {} in OatClass()
410 oat_file_->Begin(), in GetOatMethod()
Doat_file.h160 const OatFile* oat_file_; variable
197 const OatFile* oat_file_; variable
/art/runtime/gc/space/
Dimage_space.cc229 space->oat_file_.reset(space->OpenOatFile()); in Init()
230 if (space->oat_file_.get() == NULL) { in Init()
275 CHECK(oat_file_.get() != NULL); in ValidateOatFile()
276 for (const OatFile::OatDexFile* oat_dex_file : oat_file_->GetOatDexFiles()) { in ValidateOatFile()
285 << oat_file_->GetLocation() << " and dex file " << dex_file_location in ValidateOatFile()
295 CHECK(oat_file_.get() != NULL); in ReleaseOatFile()
296 return *oat_file_.release(); in ReleaseOatFile()
Dimage_space.h107 UniquePtr<OatFile> oat_file_; variable
/art/compiler/
Dimage_writer.cc85 oat_file_ = OatFile::OpenWritable(oat_file.get(), oat_location); in Write()
86 if (oat_file_ == NULL) { in Write()
90 class_linker->RegisterOatFile(*oat_file_); in Write()
93 oat_file_->GetOatHeader().GetInterpreterToInterpreterBridgeOffset(); in Write()
95 oat_file_->GetOatHeader().GetInterpreterToCompiledCodeBridgeOffset(); in Write()
97 jni_dlsym_lookup_offset_ = oat_file_->GetOatHeader().GetJniDlsymLookupOffset(); in Write()
100 oat_file_->GetOatHeader().GetPortableResolutionTrampolineOffset(); in Write()
102 oat_file_->GetOatHeader().GetPortableToInterpreterBridgeOffset(); in Write()
105 oat_file_->GetOatHeader().GetQuickResolutionTrampolineOffset(); in Write()
107 oat_file_->GetOatHeader().GetQuickToInterpreterBridgeOffset(); in Write()
[all …]
Dimage_writer.h41 : compiler_driver_(compiler_driver), oat_file_(NULL), image_end_(0), image_begin_(NULL), in ImageWriter()
109 DCHECK_LT(offset, oat_file_->Size()); in GetOatAddress()
186 OatFile* oat_file_; variable
/art/oatdump/
Doatdump.cc101 oat_file_(oat_file), in OatDumper()
103 disassembler_(Disassembler::Create(oat_file_.GetOatHeader().GetInstructionSet())) { in OatDumper()
108 const OatHeader& oat_header = oat_file_.GetOatHeader(); in Dump()
140 os << reinterpret_cast<const void*>(oat_file_.Begin()) << "\n\n"; in Dump()
143 os << reinterpret_cast<const void*>(oat_file_.End()) << "\n\n"; in Dump()
155 if (reinterpret_cast<const byte*>(oat_data) < oat_file_.Begin() || in ComputeSize()
156 reinterpret_cast<const byte*>(oat_data) > oat_file_.End()) { in ComputeSize()
160 reinterpret_cast<size_t>(oat_file_.Begin()); in ComputeSize()
169 return oat_file_.GetOatHeader().GetInstructionSet(); in GetInstructionSet()
230 offsets_.insert(static_cast<uint32_t>(oat_file_.Size())); in AddAllOffsets()
[all …]