Home
last modified time | relevance | path

Searched refs:oat_index (Results 1 – 4 of 4) sorted by relevance

/art/dex2oat/linker/
Dimage_writer.h125 size_t oat_index = GetOatIndex(object); in GetImageAddress() local
126 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() local
135 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() argument
145 return GetImageInfo(oat_index).oat_offset_; in GetOatFileOffset()
148 const uint8_t* GetOatFileBegin(size_t oat_index) const { in GetOatFileBegin() argument
149 return GetImageInfo(oat_index).oat_file_begin_; in GetOatFileBegin()
[all …]
Dimage_writer.cc663 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() argument
806 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() local
850 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 …]
Doat_writer.cc1897 size_t oat_index = writer_->image_writer_->GetOatIndexForDexFile(dex_file_); in GetTargetIntrinsicReferenceOffset() local
1898 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() local
1908 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() local
1919 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() local
3822 size_t elf_file_offset = image_writer_->GetOatFileOffset(oat_index); in SetMultiOatRelativePatcherAdjustment()
/art/dex2oat/
Ddex2oat.cc2615 int oat_index = is_multi_image ? i : 0; in AddDexFileSources() local
2616 auto oat_writer = oat_writers_[oat_index].get(); in AddDexFileSources()