Searched refs:oat_index (Results 1 – 4 of 4) sorted by relevance
125 size_t oat_index = GetOatIndex(object); in GetImageAddress() local126 const ImageInfo& image_info = GetImageInfo(oat_index); in GetImageAddress()127 return reinterpret_cast<T*>(image_info.image_begin_ + GetImageOffset(object, oat_index)); in GetImageAddress()134 size_t oat_index = GetOatIndex(object); in GetGlobalImageOffset() local135 const ImageInfo& image_info = GetImageInfo(oat_index); in GetGlobalImageOffset()137 image_info.image_begin_ + GetImageOffset(object, oat_index) - global_image_begin_); in GetGlobalImageOffset()144 size_t GetOatFileOffset(size_t oat_index) const { in GetOatFileOffset() argument145 return GetImageInfo(oat_index).oat_offset_; in GetOatFileOffset()148 const uint8_t* GetOatFileBegin(size_t oat_index) const { in GetOatFileBegin() argument149 return GetImageInfo(oat_index).oat_file_begin_; in GetOatFileBegin()[all …]
663 size_t ImageWriter::GetImageOffset(mirror::Object* object, size_t oat_index) const { in GetImageOffset()664 BinSlot bin_slot = GetImageBinSlot(object, oat_index); in GetImageOffset()665 const ImageInfo& image_info = GetImageInfo(oat_index); in GetImageOffset()799 void ImageWriter::AssignImageBinSlot(mirror::Object* object, size_t oat_index, Bin bin) { in AssignImageBinSlot() argument806 oat_index_map_.insert(std::make_pair(object, oat_index)); in AssignImageBinSlot()811 ImageInfo& image_info = GetImageInfo(oat_index); in AssignImageBinSlot()849 size_t oat_index = GetOatIndex(object); in IsImageBinSlotAssigned() local850 const ImageInfo& image_info = GetImageInfo(oat_index); in IsImageBinSlotAssigned()857 ImageWriter::BinSlot ImageWriter::GetImageBinSlot(mirror::Object* object, size_t oat_index) const { in GetImageBinSlot()866 DCHECK_LT(bin_slot.GetOffset(), GetImageInfo(oat_index).GetBinSlotSize(bin_slot.GetBin())); in GetImageBinSlot()[all …]
1897 size_t oat_index = writer_->image_writer_->GetOatIndexForDexFile(dex_file_); in GetTargetIntrinsicReferenceOffset() local1898 uintptr_t oat_data_begin = writer_->image_writer_->GetOatDataBegin(oat_index); in GetTargetIntrinsicReferenceOffset()1907 size_t oat_index = writer_->image_writer_->GetOatIndexForDexFile(dex_file_); in GetTargetMethodOffset() local1908 uintptr_t oat_data_begin = writer_->image_writer_->GetOatDataBegin(oat_index); in GetTargetMethodOffset()1918 size_t oat_index = writer_->image_writer_->GetOatIndexForDexFile(dex_file_); in GetTargetObjectOffset() local1919 uintptr_t oat_data_begin = writer_->image_writer_->GetOatDataBegin(oat_index); in GetTargetObjectOffset()3821 size_t oat_index = image_writer_->GetOatIndexForDexFile(dex_files_->front()); in SetMultiOatRelativePatcherAdjustment() local3822 size_t elf_file_offset = image_writer_->GetOatFileOffset(oat_index); in SetMultiOatRelativePatcherAdjustment()
2615 int oat_index = is_multi_image ? i : 0; in AddDexFileSources() local2616 auto oat_writer = oat_writers_[oat_index].get(); in AddDexFileSources()