Lines Matching refs:field_offset
280 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)
350 HeapReference<Object>* GetFieldObjectReferenceAddr(MemberOffset field_offset)
354 ALWAYS_INLINE void SetFieldPrimitive(MemberOffset field_offset, kType new_value) in SetFieldPrimitive() argument
356 uint8_t* raw_addr = reinterpret_cast<uint8_t*>(this) + field_offset.Int32Value(); in SetFieldPrimitive()
366 ALWAYS_INLINE kType GetFieldPrimitive(MemberOffset field_offset) in GetFieldPrimitive() argument
368 const uint8_t* raw_addr = reinterpret_cast<const uint8_t*>(this) + field_offset.Int32Value(); in GetFieldPrimitive()
378 ALWAYS_INLINE uint8_t GetFieldBoolean(MemberOffset field_offset) in GetFieldBoolean() argument
381 return GetFieldPrimitive<uint8_t, kIsVolatile>(field_offset); in GetFieldBoolean()
385 ALWAYS_INLINE int8_t GetFieldByte(MemberOffset field_offset)
389 ALWAYS_INLINE uint8_t GetFieldBooleanVolatile(MemberOffset field_offset)
393 ALWAYS_INLINE int8_t GetFieldByteVolatile(MemberOffset field_offset)
400 ALWAYS_INLINE void SetFieldBoolean(MemberOffset field_offset, uint8_t new_value)
407 ALWAYS_INLINE void SetFieldByte(MemberOffset field_offset, int8_t new_value)
413 ALWAYS_INLINE void SetFieldBooleanVolatile(MemberOffset field_offset, uint8_t new_value)
419 ALWAYS_INLINE void SetFieldByteVolatile(MemberOffset field_offset, int8_t new_value)
423 ALWAYS_INLINE uint16_t GetFieldChar(MemberOffset field_offset)
427 ALWAYS_INLINE int16_t GetFieldShort(MemberOffset field_offset)
431 ALWAYS_INLINE uint16_t GetFieldCharVolatile(MemberOffset field_offset)
435 ALWAYS_INLINE int16_t GetFieldShortVolatile(MemberOffset field_offset)
442 ALWAYS_INLINE void SetFieldChar(MemberOffset field_offset, uint16_t new_value)
449 ALWAYS_INLINE void SetFieldShort(MemberOffset field_offset, int16_t new_value)
455 ALWAYS_INLINE void SetFieldCharVolatile(MemberOffset field_offset, uint16_t new_value)
461 ALWAYS_INLINE void SetFieldShortVolatile(MemberOffset field_offset, int16_t new_value)
465 ALWAYS_INLINE int32_t GetField32(MemberOffset field_offset) in GetField32() argument
468 return GetFieldPrimitive<int32_t, kIsVolatile>(field_offset); in GetField32()
472 ALWAYS_INLINE int32_t GetField32Volatile(MemberOffset field_offset) in GetField32Volatile() argument
474 return GetField32<kVerifyFlags, true>(field_offset); in GetField32Volatile()
481 ALWAYS_INLINE void SetField32(MemberOffset field_offset, int32_t new_value)
487 ALWAYS_INLINE void SetField32Volatile(MemberOffset field_offset, int32_t new_value)
493 ALWAYS_INLINE void SetField32Transaction(MemberOffset field_offset, int32_t new_value)
499 ALWAYS_INLINE bool CasField32(MemberOffset field_offset,
507 ALWAYS_INLINE int64_t GetField64(MemberOffset field_offset) in GetField64() argument
510 return GetFieldPrimitive<int64_t, kIsVolatile>(field_offset); in GetField64()
514 ALWAYS_INLINE int64_t GetField64Volatile(MemberOffset field_offset) in GetField64Volatile() argument
516 return GetField64<kVerifyFlags, true>(field_offset); in GetField64Volatile()
523 ALWAYS_INLINE void SetField64(MemberOffset field_offset, int64_t new_value)
529 ALWAYS_INLINE void SetField64Volatile(MemberOffset field_offset, int64_t new_value)
535 ALWAYS_INLINE void SetField64Transaction(MemberOffset field_offset, int32_t new_value)
541 bool CasFieldWeakSequentiallyConsistent64(MemberOffset field_offset,
549 bool CasFieldStrongSequentiallyConsistent64(MemberOffset field_offset,
558 void SetFieldPtr(MemberOffset field_offset, T new_value) in SetFieldPtr() argument
561 field_offset, new_value, kRuntimePointerSize); in SetFieldPtr()
567 void SetFieldPtr64(MemberOffset field_offset, T new_value) in SetFieldPtr64() argument
570 field_offset, new_value, PointerSize::k64); in SetFieldPtr64()
577 ALWAYS_INLINE void SetFieldPtrWithSize(MemberOffset field_offset, in SetFieldPtrWithSize() argument
583 field_offset, reinterpret_cast32<int32_t>(new_value)); in SetFieldPtrWithSize()
586 field_offset, reinterpret_cast64<int64_t>(new_value)); in SetFieldPtrWithSize()
604 void GetPrimitiveFieldViaAccessor(MemberOffset field_offset, Accessor<T>* accessor)
613 void UpdateFieldBooleanViaAccessor(MemberOffset field_offset, Accessor<uint8_t>* accessor)
618 void UpdateFieldByteViaAccessor(MemberOffset field_offset, Accessor<int8_t>* accessor)
623 void UpdateFieldCharViaAccessor(MemberOffset field_offset, Accessor<uint16_t>* accessor)
628 void UpdateFieldShortViaAccessor(MemberOffset field_offset, Accessor<int16_t>* accessor)
633 void UpdateField32ViaAccessor(MemberOffset field_offset, Accessor<int32_t>* accessor)
638 void UpdateField64ViaAccessor(MemberOffset field_offset, Accessor<int64_t>* accessor)
670 T GetFieldPtr(MemberOffset field_offset) in GetFieldPtr() argument
672 return GetFieldPtrWithSize<T, kVerifyFlags, kIsVolatile>(field_offset, kRuntimePointerSize); in GetFieldPtr()
675 T GetFieldPtr64(MemberOffset field_offset) in GetFieldPtr64() argument
677 return GetFieldPtrWithSize<T, kVerifyFlags, kIsVolatile>(field_offset, PointerSize::k64); in GetFieldPtr64()
681 ALWAYS_INLINE T GetFieldPtrWithSize(MemberOffset field_offset, PointerSize pointer_size) in GetFieldPtrWithSize() argument
684 int32_t v = GetField32<kVerifyFlags, kIsVolatile>(field_offset); in GetFieldPtrWithSize()
687 int64_t v = GetField64<kVerifyFlags, kIsVolatile>(field_offset); in GetFieldPtrWithSize()
713 ALWAYS_INLINE kSize GetFieldAcquire(MemberOffset field_offset)
718 void CheckFieldAssignmentImpl(MemberOffset field_offset, ObjPtr<Object> new_value)
720 void CheckFieldAssignment(MemberOffset field_offset, ObjPtr<Object>new_value) in CheckFieldAssignment() argument
723 CheckFieldAssignmentImpl(field_offset, new_value); in CheckFieldAssignment()