• Home
  • Raw
  • Download

Lines Matching refs:oat_index

931   size_t oat_index = GetOatIndex(object);  in AssignImageOffset()  local
932 ImageInfo& image_info = GetImageInfo(oat_index); in AssignImageOffset()
952 size_t oat_index = GetOatIndex(object); in GetImageOffset() local
953 const ImageInfo& image_info = GetImageInfo(oat_index); in GetImageOffset()
1025 size_t oat_index = GetOatIndexForDexCache(dex_cache); in PrepareDexCacheArraySlots() local
1026 ImageInfo& image_info = GetImageInfo(oat_index); in PrepareDexCacheArraySlots()
1031 oat_index); in PrepareDexCacheArraySlots()
1035 oat_index); in PrepareDexCacheArraySlots()
1039 oat_index); in PrepareDexCacheArraySlots()
1041 AddDexCacheArrayRelocation(dex_cache->GetStrings(), start + layout.StringsOffset(), oat_index); in PrepareDexCacheArraySlots()
1045 oat_index); in PrepareDexCacheArraySlots()
1048 oat_index); in PrepareDexCacheArraySlots()
1059 NativeObjectRelocation { oat_index, in PrepareDexCacheArraySlots()
1070 size_t oat_index) { in AddDexCacheArrayRelocation() argument
1074 NativeObjectRelocation { oat_index, offset, NativeObjectRelocationType::kDexCacheArray }); in AddDexCacheArrayRelocation()
1095 void ImageWriter::AssignImageBinSlot(mirror::Object* object, size_t oat_index) { in AssignImageBinSlot() argument
1203 oat_index_map_.emplace(object, oat_index); in AssignImageBinSlot()
1205 ImageInfo& image_info = GetImageInfo(oat_index); in AssignImageBinSlot()
1242 size_t oat_index = GetOatIndex(object); in IsImageBinSlotAssigned() local
1243 const ImageInfo& image_info = GetImageInfo(oat_index); in IsImageBinSlotAssigned()
1259 size_t oat_index = GetOatIndex(object); in GetImageBinSlot() local
1260 const ImageInfo& image_info = GetImageInfo(oat_index); in GetImageBinSlot()
1857 size_t oat_index) const { in CollectDexCaches()
1862 if (oat_index == image_oat_index) { in CollectDexCaches()
1928 size_t oat_index, in CreateImageRoots() argument
1935 Handle<ObjectArray<Object>> dex_caches(hs.NewHandle(CollectDexCaches(self, oat_index))); in CreateImageRoots()
1969 size_t oat_index) { in TryAssignBinSlot() argument
1985 GetImageInfo(oat_index).intern_table_->InternStrongImageString(obj->AsString()).Ptr(); in TryAssignBinSlot()
1989 oat_index = GetOatIndexForDexCache(obj->AsDexCache()); in TryAssignBinSlot()
2004 oat_index = GetOatIndexForDexCache(dex_cache); in TryAssignBinSlot()
2005 ImageInfo& image_info = GetImageInfo(oat_index); in TryAssignBinSlot()
2024 oat_index, offset, NativeObjectRelocationType::kArtFieldArray in TryAssignBinSlot()
2037 NativeObjectRelocation { oat_index, in TryAssignBinSlot()
2075 oat_index, in TryAssignBinSlot()
2081 AssignMethodOffset(&m, type, oat_index); in TryAssignBinSlot()
2089 if (TryAssignImTableOffset(imt, oat_index)) { in TryAssignBinSlot()
2098 AssignMethodOffset(imt_method, NativeObjectRelocationType::kRuntimeMethod, oat_index); in TryAssignBinSlot()
2110 ImageInfo& image_info = GetImageInfo(oat_index); in TryAssignBinSlot()
2118 AssignImageBinSlot(obj, oat_index); in TryAssignBinSlot()
2119 work_stack.emplace(obj, oat_index); in TryAssignBinSlot()
2135 bool ImageWriter::TryAssignImTableOffset(ImTable* imt, size_t oat_index) { in TryAssignImTableOffset() argument
2141 ImageInfo& image_info = GetImageInfo(oat_index); in TryAssignImTableOffset()
2146 oat_index, in TryAssignImTableOffset()
2153 void ImageWriter::TryAssignConflictTableOffset(ImtConflictTable* table, size_t oat_index) { in TryAssignConflictTableOffset() argument
2160 ImageInfo& image_info = GetImageInfo(oat_index); in TryAssignConflictTableOffset()
2165 oat_index, in TryAssignConflictTableOffset()
2173 size_t oat_index) { in AssignMethodOffset() argument
2178 TryAssignConflictTableOffset(method->GetImtConflictTable(target_ptr_size_), oat_index); in AssignMethodOffset()
2180 ImageInfo& image_info = GetImageInfo(oat_index); in AssignMethodOffset()
2183 native_object_relocations_.emplace(method, NativeObjectRelocation { oat_index, offset, type }); in AssignMethodOffset()
2202 VisitReferencesVisitor(ImageWriter* image_writer, WorkStack* work_stack, size_t oat_index) in VisitReferencesVisitor() argument
2203 : image_writer_(image_writer), work_stack_(work_stack), oat_index_(oat_index) {} in VisitReferencesVisitor()
2348 const size_t oat_index = it->second; in CalculateNewObjectOffsets() local
2355 TryAssignBinSlot(work_stack, string, oat_index); in CalculateNewObjectOffsets()
2429 for (size_t oat_index = 0; oat_index < image_infos_.size(); ++oat_index) { in CalculateNewObjectOffsets() local
2430 ImageInfo& image_info = image_infos_[oat_index]; in CalculateNewObjectOffsets()
2441 if (IsImageObject(obj) && GetOatIndex(obj) == oat_index) { in CalculateNewObjectOffsets()
2537 ImageInfo& image_info = GetImageInfo(relocation.oat_index); in CalculateNewObjectOffsets()
2653 void ImageWriter::CreateHeader(size_t oat_index) { in CreateHeader() argument
2654 ImageInfo& image_info = GetImageInfo(oat_index); in CreateHeader()
2663 if (oat_index == 0u) { in CreateHeader()
2686 LOG(INFO) << "Creating header for " << oat_filenames_[oat_index]; in CreateHeader()
2730 const ImageInfo& image_info = GetImageInfo(relocation.oat_index); in GetImageMethodAddress()
2809 void ImageWriter::CopyAndFixupNativeData(size_t oat_index) { in CopyAndFixupNativeData() argument
2810 const ImageInfo& image_info = GetImageInfo(oat_index); in CopyAndFixupNativeData()
2815 if (relocation.oat_index != oat_index) { in CopyAndFixupNativeData()
2834 oat_index); in CopyAndFixupNativeData()
2979 size_t oat_index = GetOatIndex(obj); in CopyAndFixupObject() local
2980 ImageInfo& image_info = GetImageInfo(oat_index); in CopyAndFixupObject()
3113 const ImageInfo& image_info = GetImageInfo(relocation.oat_index); in NativeLocationInImage()
3121 const ImageInfo& image_info = GetImageInfo(relocation.oat_index); in NativeCopyLocation()
3410 size_t oat_index) { in CopyAndFixupMethod() argument
3462 const ImageInfo& image_info = image_infos_[oat_index]; in CopyAndFixupMethod()
3560 void ImageWriter::UpdateOatFileLayout(size_t oat_index, in UpdateOatFileLayout() argument
3573 ImageInfo& cur_image_info = GetImageInfo(oat_index); in UpdateOatFileLayout()
3585 if (oat_index + 1u != oat_filenames_.size()) { in UpdateOatFileLayout()
3587 ImageInfo& next_image_info = GetImageInfo(oat_index + 1u); in UpdateOatFileLayout()
3592 void ImageWriter::UpdateOatFileHeader(size_t oat_index, const OatHeader& oat_header) { in UpdateOatFileHeader() argument
3593 ImageInfo& cur_image_info = GetImageInfo(oat_index); in UpdateOatFileHeader()
3596 if (oat_index == GetDefaultOatIndex()) { in UpdateOatFileHeader()