Lines Matching refs:Atomic64
115 static_assert(sizeof(Atomic64) == sizeof(PVOID), "atomic word is atomic");
117 inline Atomic64 NoBarrier_CompareAndSwap(volatile Atomic64* ptr, in NoBarrier_CompareAndSwap()
118 Atomic64 old_value, in NoBarrier_CompareAndSwap()
119 Atomic64 new_value) { in NoBarrier_CompareAndSwap()
123 return reinterpret_cast<Atomic64>(result); in NoBarrier_CompareAndSwap()
126 inline Atomic64 NoBarrier_AtomicExchange(volatile Atomic64* ptr, in NoBarrier_AtomicExchange()
127 Atomic64 new_value) { in NoBarrier_AtomicExchange()
131 return reinterpret_cast<Atomic64>(result); in NoBarrier_AtomicExchange()
134 inline Atomic64 Barrier_AtomicIncrement(volatile Atomic64* ptr, in Barrier_AtomicIncrement()
135 Atomic64 increment) { in Barrier_AtomicIncrement()
141 inline Atomic64 NoBarrier_AtomicIncrement(volatile Atomic64* ptr, in NoBarrier_AtomicIncrement()
142 Atomic64 increment) { in NoBarrier_AtomicIncrement()
146 inline void NoBarrier_Store(volatile Atomic64* ptr, Atomic64 value) { in NoBarrier_Store()
150 inline void Acquire_Store(volatile Atomic64* ptr, Atomic64 value) { in Acquire_Store()
155 inline void Release_Store(volatile Atomic64* ptr, Atomic64 value) { in Release_Store()
166 inline Atomic64 NoBarrier_Load(volatile const Atomic64* ptr) { in NoBarrier_Load()
170 inline Atomic64 Acquire_Load(volatile const Atomic64* ptr) { in Acquire_Load()
171 Atomic64 value = *ptr; in Acquire_Load()
175 inline Atomic64 Release_Load(volatile const Atomic64* ptr) { in Release_Load()
180 inline Atomic64 Acquire_CompareAndSwap(volatile Atomic64* ptr, in Acquire_CompareAndSwap()
181 Atomic64 old_value, in Acquire_CompareAndSwap()
182 Atomic64 new_value) { in Acquire_CompareAndSwap()
186 inline Atomic64 Release_CompareAndSwap(volatile Atomic64* ptr, in Release_CompareAndSwap()
187 Atomic64 old_value, in Release_CompareAndSwap()
188 Atomic64 new_value) { in Release_CompareAndSwap()