Lines Matching refs:oat_file_

85     explicit RodataWriter(const OatFile* oat_file) : oat_file_(oat_file) {}  in RodataWriter()
88 const size_t rodata_size = oat_file_->GetOatHeader().GetExecutableOffset(); in Write()
89 return out->WriteFully(oat_file_->Begin(), rodata_size); in Write()
93 const OatFile* oat_file_; member in art::FINAL::FINAL
98 explicit TextWriter(const OatFile* oat_file) : oat_file_(oat_file) {} in TextWriter()
101 const size_t rodata_size = oat_file_->GetOatHeader().GetExecutableOffset(); in Write()
102 const uint8_t* text_begin = oat_file_->Begin() + rodata_size; in Write()
103 return out->WriteFully(text_begin, oat_file_->End() - text_begin); in Write()
107 const OatFile* oat_file_; member in art::FINAL::FINAL
111 oat_file_(oat_file), builder_(nullptr), in OatSymbolizer()
124 Elf32_Word rodata_size = oat_file_->GetOatHeader().GetExecutableOffset(); in Symbolize()
125 uint32_t size = static_cast<uint32_t>(oat_file_->End() - oat_file_->Begin()); in Symbolize()
127 uint32_t bss_size = oat_file_->BssSize(); in Symbolize()
128 RodataWriter rodata_writer(oat_file_); in Symbolize()
129 TextWriter text_writer(oat_file_); in Symbolize()
131 oat_file_->GetOatHeader().GetInstructionSet(), in Symbolize()
152 std::vector<const OatFile::OatDexFile*> oat_dex_files = oat_file_->GetOatDexFiles(); in Walk()
283 oat_method.GetCodeOffset() - oat_file_->GetOatHeader().GetExecutableOffset(), in AddSymbol()
298 const OatFile* oat_file_; member in art::FINAL
347 : oat_file_(oat_file), in OatDumper()
351 instruction_set_(oat_file_.GetOatHeader().GetInstructionSet()), in OatDumper()
372 const OatHeader& oat_header = oat_file_.GetOatHeader(); in Dump()
398 os << StringPrintf(" (%p)", oat_file_.Begin() + oat_header.offset()); \ in Dump()
445 os << reinterpret_cast<const void*>(oat_file_.Begin()) << "\n\n"; in Dump()
448 os << reinterpret_cast<const void*>(oat_file_.End()) << "\n\n"; in Dump()
452 os << oat_file_.Size() << "\n\n"; in Dump()
483 if (reinterpret_cast<const uint8_t*>(oat_data) < oat_file_.Begin() || in ComputeSize()
484 reinterpret_cast<const uint8_t*>(oat_data) > oat_file_.End()) { in ComputeSize()
488 reinterpret_cast<uintptr_t>(oat_file_.Begin()); in ComputeSize()
496 return oat_file_.GetOatHeader().GetInstructionSet(); in GetOatInstructionSet()
565 offsets_.insert(oat_file_.Size()); in AddAllOffsets()
574 if (oat_file_.GetOatHeader().GetInstructionSet() == kThumb2) { in AddOffsets()
822 if (oat_method_offsets_offset > oat_file_.Size()) { in DumpOatMethod()
825 oat_method_offsets_offset, oat_file_.Size()); in DumpOatMethod()
833 if (aligned_code_begin > oat_file_.Size()) { in DumpOatMethod()
836 aligned_code_begin, oat_file_.Size()); in DumpOatMethod()
847 if (gc_map_offset > oat_file_.Size()) { in DumpOatMethod()
850 gc_map_offset, oat_file_.Size()); in DumpOatMethod()
867 if (method_header_offset > oat_file_.Size()) { in DumpOatMethod()
870 method_header_offset, oat_file_.Size()); in DumpOatMethod()
882 if (mapping_table_offset > oat_file_.Size()) { in DumpOatMethod()
886 mapping_table_offset, oat_file_.Size(), in DumpOatMethod()
901 if (vmap_table_offset > oat_file_.Size()) { in DumpOatMethod()
905 vmap_table_offset, oat_file_.Size(), in DumpOatMethod()
932 if (code_size_offset > oat_file_.Size()) { in DumpOatMethod()
935 code_size_offset, oat_file_.Size()); in DumpOatMethod()
951 if (aligned_code_begin > oat_file_.Size()) { in DumpOatMethod()
954 aligned_code_begin, oat_file_.Size()); in DumpOatMethod()
956 } else if (aligned_code_end > oat_file_.Size()) { in DumpOatMethod()
960 aligned_code_end, oat_file_.Size(), in DumpOatMethod()
964 if (code_size_offset + kPrologueBytes <= oat_file_.Size()) { in DumpOatMethod()
976 if (code_size_offset + kPrologueBytes <= oat_file_.Size()) { in DumpOatMethod()
1356 const OatFile& oat_file_; member in art::OatDumper