Lines Matching refs:AtomicWord
114 typedef intptr_t AtomicWord;
119 // cast AtomicWord to one of the basic atomic types (Atomic64 or Atomic32).
120 // It also serves to document the AtomicWord interface.
136 inline AtomicWord NoBarrier_CompareAndSwap(volatile AtomicWord* ptr,
137 AtomicWord old_value,
138 AtomicWord new_value) {
146 inline AtomicWord NoBarrier_AtomicExchange(volatile AtomicWord* ptr,
147 AtomicWord new_value) {
155 inline AtomicWord NoBarrier_AtomicIncrement(volatile AtomicWord* ptr,
156 AtomicWord increment) {
161 inline AtomicWord Barrier_AtomicIncrement(volatile AtomicWord* ptr,
162 AtomicWord increment) {
178 inline AtomicWord Acquire_CompareAndSwap(volatile AtomicWord* ptr,
179 AtomicWord old_value,
180 AtomicWord new_value) {
186 inline AtomicWord Release_CompareAndSwap(volatile AtomicWord* ptr,
187 AtomicWord old_value,
188 AtomicWord new_value) {
194 inline void NoBarrier_Store(volatile AtomicWord *ptr, AtomicWord value) {
199 inline void Acquire_Store(volatile AtomicWord* ptr, AtomicWord value) {
204 inline void Release_Store(volatile AtomicWord* ptr, AtomicWord value) {
209 inline AtomicWord NoBarrier_Load(volatile const AtomicWord *ptr) {
214 inline AtomicWord Acquire_Load(volatile const AtomicWord* ptr) {
219 inline AtomicWord Release_Load(volatile const AtomicWord* ptr) {
237 // from AtomicWord in 64-bit binaries where AtomicWord is 64-bits.
246 // from AtomicWord in 32-bit binaries where AtomicWord is 32-bits.
303 // AtomicWord versions to be deprecated
304 inline AtomicWord Acquire_CompareAndSwap(volatile AtomicWord* ptr,
305 AtomicWord old_value,
306 AtomicWord new_value) {
310 inline AtomicWord Release_CompareAndSwap(volatile AtomicWord* ptr,
311 AtomicWord old_value,
312 AtomicWord new_value) {
316 inline void Acquire_Store(volatile AtomicWord* ptr, AtomicWord value) {
320 inline void Release_Store(volatile AtomicWord* ptr, AtomicWord value) {
324 inline AtomicWord Acquire_Load(volatile const AtomicWord* ptr) {
328 inline AtomicWord Release_Load(volatile const AtomicWord* ptr) {