Lines Matching refs:new_value
40 Atomic32 new_value) { in NoBarrier_CompareAndSwap() argument
43 if (OSAtomicCompareAndSwap32(old_value, new_value, in NoBarrier_CompareAndSwap()
53 Atomic32 new_value) { in NoBarrier_AtomicExchange() argument
57 } while (!OSAtomicCompareAndSwap32(old_value, new_value, in NoBarrier_AtomicExchange()
78 Atomic32 new_value) { in Acquire_CompareAndSwap() argument
81 if (OSAtomicCompareAndSwap32Barrier(old_value, new_value, in Acquire_CompareAndSwap()
92 Atomic32 new_value) { in Release_CompareAndSwap() argument
93 return Acquire_CompareAndSwap(ptr, old_value, new_value); in Release_CompareAndSwap()
131 Atomic64 new_value) { in NoBarrier_CompareAndSwap() argument
134 if (OSAtomicCompareAndSwap64(old_value, new_value, in NoBarrier_CompareAndSwap()
144 Atomic64 new_value) { in NoBarrier_AtomicExchange() argument
148 } while (!OSAtomicCompareAndSwap64(old_value, new_value, in NoBarrier_AtomicExchange()
165 Atomic64 new_value) { in Acquire_CompareAndSwap() argument
168 if (OSAtomicCompareAndSwap64Barrier(old_value, new_value, in Acquire_CompareAndSwap()
179 Atomic64 new_value) { in Release_CompareAndSwap() argument
182 return Acquire_CompareAndSwap(ptr, old_value, new_value); in Release_CompareAndSwap()
227 AtomicWord new_value) { in NoBarrier_CompareAndSwap() argument
230 old_value, new_value); in NoBarrier_CompareAndSwap()
234 AtomicWord new_value) { in NoBarrier_AtomicExchange() argument
236 reinterpret_cast<volatile AtomicWordCastType*>(ptr), new_value); in NoBarrier_AtomicExchange()
253 AtomicWord new_value) { in Acquire_CompareAndSwap() argument
256 old_value, new_value); in Acquire_CompareAndSwap()
261 AtomicWord new_value) { in Release_CompareAndSwap() argument
264 old_value, new_value); in Release_CompareAndSwap()