Lines Matching refs:offset

480     auto add_blocks = [&](uint32_t offset, uint32_t size) {  in Write()  argument
483 block_sources.emplace_back(offset, cur_size); in Write()
484 offset += cur_size; in Write()
614 size_t offset = image_info.GetBinSlotOffset(bin_slot.GetBin()) + bin_slot.GetOffset(); in GetImageOffset() local
615 DCHECK_LT(offset, image_info.image_end_); in GetImageOffset()
616 return offset; in GetImageOffset()
734 size_t offset, in AddDexCacheArrayRelocation() argument
739 NativeObjectRelocation { oat_index, offset, NativeObjectRelocationType::kDexCacheArray }); in AddDexCacheArrayRelocation()
908 size_t offset = lock_word.ForwardingAddress(); in IsImageBinSlotAssigned() local
909 BinSlot bin_slot(offset); in IsImageBinSlotAssigned()
923 size_t offset = lock_word.ForwardingAddress(); // TODO: ForwardingAddress should be uint32_t in GetImageBinSlot() local
924 DCHECK_LE(offset, std::numeric_limits<uint32_t>::max()); in GetImageBinSlot()
926 BinSlot bin_slot(static_cast<uint32_t>(offset)); in GetImageBinSlot()
999 MemberOffset offset, in operator ()() argument
1003 obj->GetFieldObject<mirror::Object, kVerifyNone, kWithoutReadBarrier>(offset); in operator ()()
1606 size_t offset = image_info.GetBinSlotSize(Bin::kArtField); in RecordNativeRelocations() local
1611 oat_index, offset, NativeObjectRelocationType::kArtFieldArray in RecordNativeRelocations()
1613 offset += header_size; in RecordNativeRelocations()
1625 offset, in RecordNativeRelocations()
1627 offset += sizeof(ArtField); in RecordNativeRelocations()
1631 DCHECK_EQ(offset, image_info.GetBinSlotSize(Bin::kArtField)); in RecordNativeRelocations()
1658 size_t offset = image_info.GetBinSlotSize(bin_type); in RecordNativeRelocations() local
1663 offset, in RecordNativeRelocations()
1758 size_t offset = image_info.GetBinSlotSize(bin_type); in AssignMethodOffset() local
1759 native_object_relocations_.emplace(method, NativeObjectRelocation { oat_index, offset, type }); in AssignMethodOffset()
1985 MemberOffset offset, in operator ()() argument
1989 obj->GetFieldObject<mirror::Object, kVerifyNone, kWithoutReadBarrier>(offset); in operator ()()
1990 obj->SetFieldObject</*kTransactionActive*/false>(offset, VisitReference(ref)); in operator ()()
2508 relocation.offset += image_info.GetBinSlotOffset(bin_type); in CalculateNewObjectOffsets()
2715 CHECK_GE(relocation.offset, image_info.image_end_) << "ArtMethods should be after Objects"; in GetImageMethodAddress()
2716 return reinterpret_cast<ArtMethod*>(image_info.image_begin_ + relocation.offset); in GetImageMethodAddress()
2802 auto* dest = image_info.image_.Begin() + relocation.offset; in CopyAndFixupNativeData()
2963 size_t offset = GetImageOffset(obj, oat_index); in CopyAndFixupObject() local
2965 auto* dst = reinterpret_cast<Object*>(image_info.image_.Begin() + offset); in CopyAndFixupObject()
2966 DCHECK_LT(offset, image_info.image_end_); in CopyAndFixupObject()
2974 const size_t offset_after_header = offset - sizeof(ImageHeader); in CopyAndFixupObject()
2984 DCHECK_LE(offset + n, image_info.image_.Size()); in CopyAndFixupObject()
3013 void operator()(ObjPtr<Object> obj, MemberOffset offset, bool is_static ATTRIBUTE_UNUSED) const in operator ()() argument
3015 ObjPtr<Object> ref = obj->GetFieldObject<Object, kVerifyNone>(offset); in operator ()()
3018 copy_->GetFieldObjectReferenceAddr<kVerifyNone>(offset), ref); in operator ()()
3069 void operator()(ObjPtr<Object> obj, MemberOffset offset, bool is_static ATTRIBUTE_UNUSED) const in operator ()() argument
3072 FixupVisitor::operator()(obj, offset, /*is_static*/false); in operator ()()
3110 return reinterpret_cast<T*>(image_info.image_begin_ + relocation.offset); in NativeLocationInImage()
3118 return reinterpret_cast<T*>(image_info.image_.Begin() + relocation.offset); in NativeCopyLocation()
3685 void* object, MemberOffset offset, void* value, PointerSize pointer_size) { in CopyAndFixupPointer() argument
3687 reinterpret_cast<void**>(reinterpret_cast<uint8_t*>(object) + offset.Uint32Value()); in CopyAndFixupPointer()
3691 void ImageWriter::CopyAndFixupPointer(void* object, MemberOffset offset, void* value) { in CopyAndFixupPointer() argument
3692 return CopyAndFixupPointer(object, offset, value, target_ptr_size_); in CopyAndFixupPointer()