Lines Matching refs:AtomicWord
11 // AtomicWord is a synonym for intptr_t, and Atomic32 is a synonym for int32,
13 // on others, it's a long. When AtomicWord and Atomic32 are based on different
16 // This file defines function overloads to allow both AtomicWord and Atomic32
19 // On LP64 platforms, AtomicWord and Atomic64 are both always long,
27 inline AtomicWord NoBarrier_CompareAndSwap(volatile AtomicWord* ptr,
28 AtomicWord old_value,
29 AtomicWord new_value) {
34 inline AtomicWord NoBarrier_AtomicExchange(volatile AtomicWord* ptr,
35 AtomicWord new_value) {
40 inline AtomicWord NoBarrier_AtomicIncrement(volatile AtomicWord* ptr,
41 AtomicWord increment) {
46 inline AtomicWord Barrier_AtomicIncrement(volatile AtomicWord* ptr,
47 AtomicWord increment) {
52 inline AtomicWord Acquire_CompareAndSwap(volatile AtomicWord* ptr,
53 AtomicWord old_value,
54 AtomicWord new_value) {
59 inline AtomicWord Release_CompareAndSwap(volatile AtomicWord* ptr,
60 AtomicWord old_value,
61 AtomicWord new_value) {
66 inline void NoBarrier_Store(volatile AtomicWord *ptr, AtomicWord value) {
71 inline void Acquire_Store(volatile AtomicWord* ptr, AtomicWord value) {
76 inline void Release_Store(volatile AtomicWord* ptr, AtomicWord value) {
81 inline AtomicWord NoBarrier_Load(volatile const AtomicWord *ptr) {
86 inline AtomicWord Acquire_Load(volatile const AtomicWord* ptr) {
91 inline AtomicWord Release_Load(volatile const AtomicWord* ptr) {