Home
last modified time | relevance | path

Searched refs:field_offset (Results 1 – 23 of 23) sorted by relevance

/art/runtime/mirror/
Dobject-inl.h374 inline int8_t Object::GetFieldByte(MemberOffset field_offset) { in GetFieldByte() argument
376 return GetFieldPrimitive<int8_t, kIsVolatile>(field_offset); in GetFieldByte()
380 inline uint8_t Object::GetFieldBooleanVolatile(MemberOffset field_offset) { in GetFieldBooleanVolatile() argument
381 return GetFieldBoolean<kVerifyFlags, true>(field_offset); in GetFieldBooleanVolatile()
385 inline int8_t Object::GetFieldByteVolatile(MemberOffset field_offset) { in GetFieldByteVolatile() argument
386 return GetFieldByte<kVerifyFlags, true>(field_offset); in GetFieldByteVolatile()
393 inline void Object::SetFieldBoolean(MemberOffset field_offset, uint8_t new_value) { in SetFieldBoolean() argument
398 field_offset, in SetFieldBoolean()
399 GetFieldBoolean<kVerifyFlags, kIsVolatile>(field_offset), in SetFieldBoolean()
403 SetFieldPrimitive<uint8_t, kIsVolatile>(field_offset, new_value); in SetFieldBoolean()
[all …]
Dobject.h280 ALWAYS_INLINE T* GetFieldObject(MemberOffset field_offset)
286 ALWAYS_INLINE T* GetFieldObjectVolatile(MemberOffset field_offset)
293 ALWAYS_INLINE void SetFieldObjectWithoutWriteBarrier(MemberOffset field_offset,
301 ALWAYS_INLINE void SetFieldObject(MemberOffset field_offset, ObjPtr<Object> new_value)
307 ALWAYS_INLINE void SetFieldObjectVolatile(MemberOffset field_offset, ObjPtr<Object> new_value)
313 ALWAYS_INLINE void SetFieldObjectTransaction(MemberOffset field_offset, ObjPtr<Object> new_value)
319 ALWAYS_INLINE bool CasFieldObject(MemberOffset field_offset,
328 ALWAYS_INLINE bool CasFieldObjectWithoutWriteBarrier(MemberOffset field_offset,
338 ObjPtr<Object> CompareAndExchangeFieldObject(MemberOffset field_offset,
346 ObjPtr<Object> ExchangeFieldObject(MemberOffset field_offset, ObjPtr<Object> new_value)
[all …]
Dvar_handle.cc195 inline void ReadBarrierForVarHandleAccess(ObjPtr<Object> obj, MemberOffset field_offset) in ReadBarrierForVarHandleAccess() argument
201 uint8_t* raw_field_addr = reinterpret_cast<uint8_t*>(obj.Ptr()) + field_offset.SizeValue(); in ReadBarrierForVarHandleAccess()
208 MemberOffset(field_offset), in ReadBarrierForVarHandleAccess()
607 MemberOffset field_offset, in Get() argument
610 obj->GetPrimitiveFieldViaAccessor(field_offset, accessor); in Get()
615 MemberOffset field_offset,
622 MemberOffset field_offset, in Get() argument
626 obj->GetPrimitiveFieldViaAccessor(field_offset, &float_to_int_accessor); in Get()
631 MemberOffset field_offset, in Get() argument
635 obj->GetPrimitiveFieldViaAccessor(field_offset, &double_to_int_accessor); in Get()
[all …]
Dobject-readbarrier-inl.h41 inline bool Object::CasField32(MemberOffset field_offset, in CasField32() argument
50 Runtime::Current()->RecordWriteField32(this, field_offset, old_value, true); in CasField32()
55 uint8_t* raw_addr = reinterpret_cast<uint8_t*>(this) + field_offset.Int32Value(); in CasField32()
Dobject.cc229 void Object::CheckFieldAssignmentImpl(MemberOffset field_offset, ObjPtr<Object> new_value) { in CheckFieldAssignmentImpl() argument
238 if (field.GetOffset().Int32Value() == field_offset.Int32Value()) { in CheckFieldAssignmentImpl()
256 if (field.GetOffset().Int32Value() == field_offset.Int32Value()) { in CheckFieldAssignmentImpl()
269 << " of type " << c->PrettyDescriptor() << " at offset " << field_offset; in CheckFieldAssignmentImpl()
Dclass-inl.h900 MemberOffset field_offset = field->GetOffset(); in GetProxyInterfaces() local
901 return GetFieldObject<ObjectArray<Class>>(field_offset); in GetProxyInterfaces()
909 MemberOffset field_offset = field->GetOffset(); in GetProxyThrows() local
910 return GetFieldObject<ObjectArray<ObjectArray<Class>>>(field_offset); in GetProxyThrows()
/art/runtime/
Dtransaction.cc170 MemberOffset field_offset, in RecordWriteFieldBoolean() argument
177 object_log.LogBooleanValue(field_offset, value, is_volatile); in RecordWriteFieldBoolean()
181 MemberOffset field_offset, in RecordWriteFieldByte() argument
188 object_log.LogByteValue(field_offset, value, is_volatile); in RecordWriteFieldByte()
192 MemberOffset field_offset, in RecordWriteFieldChar() argument
199 object_log.LogCharValue(field_offset, value, is_volatile); in RecordWriteFieldChar()
204 MemberOffset field_offset, in RecordWriteFieldShort() argument
211 object_log.LogShortValue(field_offset, value, is_volatile); in RecordWriteFieldShort()
216 MemberOffset field_offset, in RecordWriteField32() argument
223 object_log.Log32BitsValue(field_offset, value, is_volatile); in RecordWriteField32()
[all …]
Dtransaction.h74 MemberOffset field_offset,
79 MemberOffset field_offset,
84 MemberOffset field_offset,
89 MemberOffset field_offset,
94 MemberOffset field_offset,
99 MemberOffset field_offset,
104 MemberOffset field_offset,
200 MemberOffset field_offset,
Dart_field-inl.h367 uint32_t field_offset) REQUIRES_SHARED(Locks::mutator_lock_) { in FindFieldWithOffset() argument
370 if (field.GetOffset().Uint32Value() == field_offset) { in FindFieldWithOffset()
378 if (offset <= field_offset && field_offset < offset + field_size) { in FindFieldWithOffset()
388 uint32_t field_offset) { in FindInstanceFieldWithOffset() argument
390 ArtField* field = FindFieldWithOffset<kExactOffset>(klass->GetIFields(), field_offset); in FindInstanceFieldWithOffset()
396 FindInstanceFieldWithOffset<kExactOffset>(klass->GetSuperClass(), field_offset) : nullptr; in FindInstanceFieldWithOffset()
401 uint32_t field_offset) { in FindStaticFieldWithOffset() argument
403 return FindFieldWithOffset<kExactOffset>(klass->GetSFields(), field_offset); in FindStaticFieldWithOffset()
Druntime.h557 void RecordWriteFieldBoolean(mirror::Object* obj, MemberOffset field_offset, uint8_t value,
559 void RecordWriteFieldByte(mirror::Object* obj, MemberOffset field_offset, int8_t value,
561 void RecordWriteFieldChar(mirror::Object* obj, MemberOffset field_offset, uint16_t value,
563 void RecordWriteFieldShort(mirror::Object* obj, MemberOffset field_offset, int16_t value,
565 void RecordWriteField32(mirror::Object* obj, MemberOffset field_offset, uint32_t value,
567 void RecordWriteField64(mirror::Object* obj, MemberOffset field_offset, uint64_t value,
570 MemberOffset field_offset,
Dart_field.h194 static ArtField* FindInstanceFieldWithOffset(ObjPtr<mirror::Class> klass, uint32_t field_offset)
201 static ArtField* FindStaticFieldWithOffset(ObjPtr<mirror::Class> klass, uint32_t field_offset)
Druntime.cc2736 void Runtime::RecordWriteFieldBoolean(mirror::Object* obj, MemberOffset field_offset, in RecordWriteFieldBoolean() argument
2740 GetTransaction()->RecordWriteFieldBoolean(obj, field_offset, value, is_volatile); in RecordWriteFieldBoolean()
2743 void Runtime::RecordWriteFieldByte(mirror::Object* obj, MemberOffset field_offset, in RecordWriteFieldByte() argument
2747 GetTransaction()->RecordWriteFieldByte(obj, field_offset, value, is_volatile); in RecordWriteFieldByte()
2750 void Runtime::RecordWriteFieldChar(mirror::Object* obj, MemberOffset field_offset, in RecordWriteFieldChar() argument
2754 GetTransaction()->RecordWriteFieldChar(obj, field_offset, value, is_volatile); in RecordWriteFieldChar()
2757 void Runtime::RecordWriteFieldShort(mirror::Object* obj, MemberOffset field_offset, in RecordWriteFieldShort() argument
2761 GetTransaction()->RecordWriteFieldShort(obj, field_offset, value, is_volatile); in RecordWriteFieldShort()
2764 void Runtime::RecordWriteField32(mirror::Object* obj, MemberOffset field_offset, in RecordWriteField32() argument
2768 GetTransaction()->RecordWriteField32(obj, field_offset, value, is_volatile); in RecordWriteField32()
[all …]
Dclass_linker.cc8397 static MemberOffset AssignFieldOffset(ArtField* field, MemberOffset field_offset)
8449 ALWAYS_INLINE MemberOffset AlignFieldOffset(MemberOffset field_offset) { in AlignFieldOffset() argument
8451 if (!IsAligned<kSize>(field_offset.Uint32Value())) { in AlignFieldOffset()
8452 uint32_t gap_start = field_offset.Uint32Value(); in AlignFieldOffset()
8453 field_offset = MemberOffset(RoundUp(gap_start, kSize)); in AlignFieldOffset()
8454 AddGaps<kSize - 1u>(gap_start, field_offset.Uint32Value()); in AlignFieldOffset()
8456 return field_offset; in AlignFieldOffset()
8550 MemberOffset field_offset) { in AssignFieldOffset() argument
8551 DCHECK_ALIGNED(field_offset.Uint32Value(), kSize); in AssignFieldOffset()
8553 field->SetOffset(field_offset); in AssignFieldOffset()
[all …]
/art/compiler/dex/
Dinline_method_analyser.h58 uint32_t field_offset : 31; member
Dinline_method_analyser.cc729 uint32_t field_offset = field->GetOffset().Uint32Value(); in ComputeSpecialAccessorInfo() local
732 result->field_offset = field_offset; in ComputeSpecialAccessorInfo()
/art/dex2oat/driver/
Dcompiler_driver.h175 MemberOffset* field_offset, bool* is_volatile)
Dcompiler_driver.cc1163 MemberOffset field_offset, in operator ()() argument
1166 mirror::Object* ref = object->GetFieldObject<mirror::Object>(field_offset); in operator ()()
1329 bool is_put, MemberOffset* field_offset, in ComputeInstanceFieldInfo() argument
1337 *field_offset = MemberOffset(static_cast<size_t>(-1)); in ComputeInstanceFieldInfo()
1341 *field_offset = resolved_field->GetOffset(); in ComputeInstanceFieldInfo()
/art/openjdkjvmti/
Dti_class.cc481 art::MemberOffset field_offset, in FixupHeap() argument
485 src->GetFieldObjectReferenceAddr(field_offset); in FixupHeap()
487 DCHECK_NE(field_offset.Uint32Value(), 0u); // This shouldn't be the class field of in FixupHeap()
/art/runtime/interpreter/mterp/
Dmterp.cc825 uint32_t field_offset) in artIGetObjectFromMterp() argument
831 return obj->GetFieldObject<mirror::Object>(MemberOffset(field_offset)); in artIGetObjectFromMterp()
/art/compiler/optimizing/
Dnodes.h6092 MemberOffset field_offset,
6099 field_offset_(field_offset),
6154 MemberOffset field_offset,
6165 field_offset,
6231 MemberOffset field_offset,
6242 field_offset,
6308 MemberOffset field_offset,
6318 field_offset,
7253 MemberOffset field_offset,
7264 field_offset,
[all …]
Dinliner.cc1533 DCHECK_EQ(iget->GetFieldOffset().Uint32Value(), data.field_offset); in TryPatternSubstitution()
1548 DCHECK_EQ(iput->GetFieldOffset().Uint32Value(), data.field_offset); in TryPatternSubstitution()
/art/runtime/gc/space/
Dimage_space.cc355 MemberOffset field_offset, in operator ()() argument
359 PatchReferenceField(object, field_offset); in operator ()()
452 MemberOffset field_offset, in operator ()() argument
456 object->GetFieldObject<mirror::Object, kVerifyNone, kWithoutReadBarrier>(field_offset); in operator ()()
464 kVerifyNone>(field_offset, new_value); in operator ()()
/art/dex2oat/linker/
Dimage_writer.cc979 MemberOffset field_offset = klass->GetFirstReferenceStaticFieldOffset( in PruneImageClassInternal() local
982 mirror::Object* ref = klass->GetFieldObject<mirror::Object>(field_offset); in PruneImageClassInternal()
999 field_offset = MemberOffset(field_offset.Uint32Value() + in PruneImageClassInternal()