• Home
  • Raw
  • Download

Lines Matching refs:new_value

393 inline void Object::SetFieldBoolean(MemberOffset field_offset, uint8_t new_value) {  in SetFieldBoolean()  argument
403 SetFieldPrimitive<uint8_t, kIsVolatile>(field_offset, new_value); in SetFieldBoolean()
410 inline void Object::SetFieldByte(MemberOffset field_offset, int8_t new_value) { in SetFieldByte() argument
419 SetFieldPrimitive<int8_t, kIsVolatile>(field_offset, new_value); in SetFieldByte()
423 inline void Object::SetFieldBooleanVolatile(MemberOffset field_offset, uint8_t new_value) { in SetFieldBooleanVolatile() argument
425 field_offset, new_value); in SetFieldBooleanVolatile()
429 inline void Object::SetFieldByteVolatile(MemberOffset field_offset, int8_t new_value) { in SetFieldByteVolatile() argument
431 field_offset, new_value); in SetFieldByteVolatile()
460 inline void Object::SetFieldChar(MemberOffset field_offset, uint16_t new_value) { in SetFieldChar() argument
469 SetFieldPrimitive<uint16_t, kIsVolatile>(field_offset, new_value); in SetFieldChar()
476 inline void Object::SetFieldShort(MemberOffset field_offset, int16_t new_value) { in SetFieldShort() argument
485 SetFieldPrimitive<int16_t, kIsVolatile>(field_offset, new_value); in SetFieldShort()
489 inline void Object::SetFieldCharVolatile(MemberOffset field_offset, uint16_t new_value) { in SetFieldCharVolatile() argument
491 field_offset, new_value); in SetFieldCharVolatile()
495 inline void Object::SetFieldShortVolatile(MemberOffset field_offset, int16_t new_value) { in SetFieldShortVolatile() argument
497 field_offset, new_value); in SetFieldShortVolatile()
504 inline void Object::SetField32(MemberOffset field_offset, int32_t new_value) { in SetField32() argument
513 SetFieldPrimitive<int32_t, kIsVolatile>(field_offset, new_value); in SetField32()
517 inline void Object::SetField32Volatile(MemberOffset field_offset, int32_t new_value) { in SetField32Volatile() argument
518 SetField32<kTransactionActive, kCheckTransaction, kVerifyFlags, true>(field_offset, new_value); in SetField32Volatile()
522 inline void Object::SetField32Transaction(MemberOffset field_offset, int32_t new_value) { in SetField32Transaction() argument
524 SetField32<true, kCheckTransaction, kVerifyFlags, kIsVolatile>(field_offset, new_value); in SetField32Transaction()
526 SetField32<false, kCheckTransaction, kVerifyFlags, kIsVolatile>(field_offset, new_value); in SetField32Transaction()
534 inline void Object::SetField64(MemberOffset field_offset, int64_t new_value) { in SetField64() argument
543 SetFieldPrimitive<int64_t, kIsVolatile>(field_offset, new_value); in SetField64()
547 inline void Object::SetField64Volatile(MemberOffset field_offset, int64_t new_value) { in SetField64Volatile() argument
549 new_value); in SetField64Volatile()
553 inline void Object::SetField64Transaction(MemberOffset field_offset, int32_t new_value) { in SetField64Transaction() argument
555 SetField64<true, kCheckTransaction, kVerifyFlags, kIsVolatile>(field_offset, new_value); in SetField64Transaction()
557 SetField64<false, kCheckTransaction, kVerifyFlags, kIsVolatile>(field_offset, new_value); in SetField64Transaction()
571 int64_t new_value) { in CasFieldWeakSequentiallyConsistent64() argument
579 return atomic_addr->CompareAndSetWeakSequentiallyConsistent(old_value, new_value); in CasFieldWeakSequentiallyConsistent64()
585 int64_t new_value) { in CasFieldStrongSequentiallyConsistent64() argument
593 return atomic_addr->CompareAndSetStrongSequentiallyConsistent(old_value, new_value); in CasFieldStrongSequentiallyConsistent64()
626 ObjPtr<Object> new_value) { in SetFieldObjectWithoutWriteBarrier() argument
638 VerifyWrite<kVerifyFlags>(new_value); in SetFieldObjectWithoutWriteBarrier()
641 objref_addr->Assign<kIsVolatile>(new_value.Ptr()); in SetFieldObjectWithoutWriteBarrier()
648 inline void Object::SetFieldObject(MemberOffset field_offset, ObjPtr<Object> new_value) { in SetFieldObject() argument
650 kIsVolatile>(field_offset, new_value); in SetFieldObject()
651 if (new_value != nullptr) { in SetFieldObject()
652 WriteBarrier::ForFieldWrite<WriteBarrier::kWithoutNullCheck>(this, field_offset, new_value); in SetFieldObject()
654 CheckFieldAssignment(field_offset, new_value); in SetFieldObject()
659 inline void Object::SetFieldObjectVolatile(MemberOffset field_offset, ObjPtr<Object> new_value) { in SetFieldObjectVolatile() argument
661 new_value); in SetFieldObjectVolatile()
665 inline void Object::SetFieldObjectTransaction(MemberOffset field_offset, ObjPtr<Object> new_value) { in SetFieldObjectTransaction() argument
667 SetFieldObject<true, kCheckTransaction, kVerifyFlags, kIsVolatile>(field_offset, new_value); in SetFieldObjectTransaction()
669 SetFieldObject<false, kCheckTransaction, kVerifyFlags, kIsVolatile>(field_offset, new_value); in SetFieldObjectTransaction()
683 ObjPtr<Object> new_value, in CasFieldObjectWithoutWriteBarrier() argument
687 VerifyCAS<kVerifyFlags>(new_value, old_value); in CasFieldObjectWithoutWriteBarrier()
692 uint32_t new_ref(PtrCompression<kPoisonHeapReferences, Object>::Compress(new_value)); in CasFieldObjectWithoutWriteBarrier()
701 ObjPtr<Object> new_value, in CasFieldObject() argument
707 new_value, in CasFieldObject()
711 WriteBarrier::ForFieldWrite(this, field_offset, new_value); in CasFieldObject()
719 ObjPtr<Object> new_value) { in CompareAndExchangeFieldObject() argument
721 VerifyCAS<kVerifyFlags>(new_value, old_value); in CompareAndExchangeFieldObject()
723 uint32_t new_ref(PtrCompression<kPoisonHeapReferences, Object>::Compress(new_value)); in CompareAndExchangeFieldObject()
736 WriteBarrier::ForFieldWrite(this, field_offset, new_value); in CompareAndExchangeFieldObject()
744 ObjPtr<Object> new_value) { in ExchangeFieldObject() argument
746 VerifyCAS<kVerifyFlags>(new_value, /*old_value=*/ nullptr); in ExchangeFieldObject()
748 uint32_t new_ref(PtrCompression<kPoisonHeapReferences, Object>::Compress(new_value)); in ExchangeFieldObject()
760 WriteBarrier::ForFieldWrite(this, field_offset, new_value); in ExchangeFieldObject()