Lines Matching refs:field_offset
287 ALWAYS_INLINE T* GetFieldObject(MemberOffset field_offset)
292 ALWAYS_INLINE T* GetFieldObjectVolatile(MemberOffset field_offset)
299 ALWAYS_INLINE void SetFieldObjectWithoutWriteBarrier(MemberOffset field_offset,
307 ALWAYS_INLINE void SetFieldObject(MemberOffset field_offset, ObjPtr<Object> new_value)
313 ALWAYS_INLINE void SetFieldObjectVolatile(MemberOffset field_offset,
319 ALWAYS_INLINE void SetFieldObjectTransaction(MemberOffset field_offset, ObjPtr<Object> new_value)
325 bool CasFieldWeakSequentiallyConsistentObject(MemberOffset field_offset,
332 bool CasFieldWeakSequentiallyConsistentObjectWithoutWriteBarrier(MemberOffset field_offset,
339 bool CasFieldStrongSequentiallyConsistentObject(MemberOffset field_offset,
346 bool CasFieldStrongSequentiallyConsistentObjectWithoutWriteBarrier(MemberOffset field_offset,
354 ObjPtr<Object> CompareAndExchangeFieldObject(MemberOffset field_offset,
362 ObjPtr<Object> ExchangeFieldObject(MemberOffset field_offset, ObjPtr<Object> new_value)
368 bool CasFieldWeakRelaxedObjectWithoutWriteBarrier(MemberOffset field_offset,
375 bool CasFieldWeakReleaseObjectWithoutWriteBarrier(MemberOffset field_offset,
383 bool CasFieldStrongRelaxedObjectWithoutWriteBarrier(MemberOffset field_offset,
390 bool CasFieldStrongReleaseObjectWithoutWriteBarrier(MemberOffset field_offset,
396 HeapReference<Object>* GetFieldObjectReferenceAddr(MemberOffset field_offset);
399 ALWAYS_INLINE uint8_t GetFieldBoolean(MemberOffset field_offset) in GetFieldBoolean() argument
404 return GetField<uint8_t, kIsVolatile>(field_offset); in GetFieldBoolean()
408 ALWAYS_INLINE int8_t GetFieldByte(MemberOffset field_offset)
412 ALWAYS_INLINE uint8_t GetFieldBooleanVolatile(MemberOffset field_offset)
416 ALWAYS_INLINE int8_t GetFieldByteVolatile(MemberOffset field_offset)
421 ALWAYS_INLINE void SetFieldBoolean(MemberOffset field_offset, uint8_t new_value)
426 ALWAYS_INLINE void SetFieldByte(MemberOffset field_offset, int8_t new_value)
431 ALWAYS_INLINE void SetFieldBooleanVolatile(MemberOffset field_offset, uint8_t new_value)
436 ALWAYS_INLINE void SetFieldByteVolatile(MemberOffset field_offset, int8_t new_value)
440 ALWAYS_INLINE uint16_t GetFieldChar(MemberOffset field_offset)
444 ALWAYS_INLINE int16_t GetFieldShort(MemberOffset field_offset)
448 ALWAYS_INLINE uint16_t GetFieldCharVolatile(MemberOffset field_offset)
452 ALWAYS_INLINE int16_t GetFieldShortVolatile(MemberOffset field_offset)
457 ALWAYS_INLINE void SetFieldChar(MemberOffset field_offset, uint16_t new_value)
462 ALWAYS_INLINE void SetFieldShort(MemberOffset field_offset, int16_t new_value)
467 ALWAYS_INLINE void SetFieldCharVolatile(MemberOffset field_offset, uint16_t new_value)
472 ALWAYS_INLINE void SetFieldShortVolatile(MemberOffset field_offset, int16_t new_value)
476 ALWAYS_INLINE int32_t GetField32(MemberOffset field_offset) in GetField32() argument
481 return GetField<int32_t, kIsVolatile>(field_offset); in GetField32()
485 ALWAYS_INLINE int32_t GetField32Volatile(MemberOffset field_offset) in GetField32Volatile() argument
487 return GetField32<kVerifyFlags, true>(field_offset); in GetField32Volatile()
492 ALWAYS_INLINE void SetField32(MemberOffset field_offset, int32_t new_value)
497 ALWAYS_INLINE void SetField32Volatile(MemberOffset field_offset, int32_t new_value)
503 ALWAYS_INLINE void SetField32Transaction(MemberOffset field_offset, int32_t new_value)
508 ALWAYS_INLINE bool CasFieldWeakSequentiallyConsistent32(MemberOffset field_offset,
514 bool CasFieldWeakRelaxed32(MemberOffset field_offset, int32_t old_value,
520 bool CasFieldWeakAcquire32(MemberOffset field_offset, int32_t old_value,
526 bool CasFieldWeakRelease32(MemberOffset field_offset, int32_t old_value,
532 bool CasFieldStrongSequentiallyConsistent32(MemberOffset field_offset, int32_t old_value,
537 ALWAYS_INLINE int64_t GetField64(MemberOffset field_offset) in GetField64() argument
542 return GetField<int64_t, kIsVolatile>(field_offset); in GetField64()
546 ALWAYS_INLINE int64_t GetField64Volatile(MemberOffset field_offset) in GetField64Volatile() argument
548 return GetField64<kVerifyFlags, true>(field_offset); in GetField64Volatile()
553 ALWAYS_INLINE void SetField64(MemberOffset field_offset, int64_t new_value)
558 ALWAYS_INLINE void SetField64Volatile(MemberOffset field_offset, int64_t new_value)
564 ALWAYS_INLINE void SetField64Transaction(MemberOffset field_offset, int32_t new_value)
569 bool CasFieldWeakSequentiallyConsistent64(MemberOffset field_offset, int64_t old_value,
575 bool CasFieldStrongSequentiallyConsistent64(MemberOffset field_offset, int64_t old_value,
581 void SetFieldPtr(MemberOffset field_offset, T new_value) in SetFieldPtr() argument
584 field_offset, new_value, kRuntimePointerSize); in SetFieldPtr()
588 void SetFieldPtr64(MemberOffset field_offset, T new_value) in SetFieldPtr64() argument
591 field_offset, new_value, 8u); in SetFieldPtr64()
596 ALWAYS_INLINE void SetFieldPtrWithSize(MemberOffset field_offset, in SetFieldPtrWithSize() argument
604 field_offset, static_cast<int32_t>(static_cast<uint32_t>(ptr))); in SetFieldPtrWithSize()
607 field_offset, reinterpret_cast64<int64_t>(new_value)); in SetFieldPtrWithSize()
625 void GetPrimitiveFieldViaAccessor(MemberOffset field_offset, Accessor<T>* accessor)
633 void UpdateFieldBooleanViaAccessor(MemberOffset field_offset, Accessor<uint8_t>* accessor)
637 void UpdateFieldByteViaAccessor(MemberOffset field_offset, Accessor<int8_t>* accessor)
641 void UpdateFieldCharViaAccessor(MemberOffset field_offset, Accessor<uint16_t>* accessor)
645 void UpdateFieldShortViaAccessor(MemberOffset field_offset, Accessor<int16_t>* accessor)
649 void UpdateField32ViaAccessor(MemberOffset field_offset, Accessor<int32_t>* accessor)
653 void UpdateField64ViaAccessor(MemberOffset field_offset, Accessor<int64_t>* accessor)
685 T GetFieldPtr(MemberOffset field_offset) in GetFieldPtr() argument
687 return GetFieldPtrWithSize<T, kVerifyFlags, kIsVolatile>(field_offset, kRuntimePointerSize); in GetFieldPtr()
690 T GetFieldPtr64(MemberOffset field_offset) in GetFieldPtr64() argument
692 return GetFieldPtrWithSize<T, kVerifyFlags, kIsVolatile>(field_offset, in GetFieldPtr64()
697 ALWAYS_INLINE T GetFieldPtrWithSize(MemberOffset field_offset, PointerSize pointer_size) in GetFieldPtrWithSize() argument
700 uint64_t address = static_cast<uint32_t>(GetField32<kVerifyFlags, kIsVolatile>(field_offset)); in GetFieldPtrWithSize()
703 int64_t v = GetField64<kVerifyFlags, kIsVolatile>(field_offset); in GetFieldPtrWithSize()
728 ALWAYS_INLINE void SetField(MemberOffset field_offset, kSize new_value) in SetField() argument
730 uint8_t* raw_addr = reinterpret_cast<uint8_t*>(this) + field_offset.Int32Value(); in SetField()
740 ALWAYS_INLINE kSize GetField(MemberOffset field_offset) in GetField() argument
742 const uint8_t* raw_addr = reinterpret_cast<const uint8_t*>(this) + field_offset.Int32Value(); in GetField()
753 ALWAYS_INLINE kSize GetFieldAcquire(MemberOffset field_offset)
758 void CheckFieldAssignmentImpl(MemberOffset field_offset, ObjPtr<Object> new_value)
760 void CheckFieldAssignment(MemberOffset field_offset, ObjPtr<Object>new_value) in CheckFieldAssignment() argument
763 CheckFieldAssignmentImpl(field_offset, new_value); in CheckFieldAssignment()