Lines Matching refs:Atomic32
15 inline Atomic32 NoBarrier_CompareAndSwap(volatile Atomic32* ptr,
16 Atomic32 old_value,
17 Atomic32 new_value) {
18 Atomic32 prev_value;
27 inline Atomic32 NoBarrier_AtomicExchange(volatile Atomic32* ptr,
28 Atomic32 new_value) {
29 Atomic32 old_value;
36 inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr,
37 Atomic32 increment) {
41 inline Atomic32 Barrier_AtomicIncrement(volatile Atomic32* ptr,
42 Atomic32 increment) {
45 Atomic32 old_value = *ptr;
46 Atomic32 new_value = old_value + increment;
55 inline Atomic32 Acquire_CompareAndSwap(volatile Atomic32* ptr,
56 Atomic32 old_value,
57 Atomic32 new_value) {
63 inline Atomic32 Release_CompareAndSwap(volatile Atomic32* ptr,
64 Atomic32 old_value,
65 Atomic32 new_value) {
69 inline void NoBarrier_Store(volatile Atomic32* ptr, Atomic32 value) {
77 inline void Acquire_Store(volatile Atomic32* ptr, Atomic32 value) {
82 inline void Release_Store(volatile Atomic32* ptr, Atomic32 value) {
87 inline Atomic32 NoBarrier_Load(volatile const Atomic32* ptr) {
91 inline Atomic32 Acquire_Load(volatile const Atomic32* ptr) {
92 Atomic32 value = *ptr;
97 inline Atomic32 Release_Load(volatile const Atomic32* ptr) {