Lines Matching refs:old_value
17 Atomic32 old_value,
21 if (OSAtomicCompareAndSwap32(old_value, new_value,
23 return old_value;
26 } while (prev_value == old_value);
32 Atomic32 old_value;
34 old_value = *ptr;
35 } while (!OSAtomicCompareAndSwap32(old_value, new_value,
37 return old_value;
55 Atomic32 old_value,
59 if (OSAtomicCompareAndSwap32Barrier(old_value, new_value,
61 return old_value;
64 } while (prev_value == old_value);
69 Atomic32 old_value,
71 return Acquire_CompareAndSwap(ptr, old_value, new_value);
108 Atomic64 old_value,
112 if (OSAtomicCompareAndSwap64(old_value, new_value,
114 return old_value;
117 } while (prev_value == old_value);
123 Atomic64 old_value;
125 old_value = *ptr;
126 } while (!OSAtomicCompareAndSwap64(old_value, new_value,
128 return old_value;
143 Atomic64 old_value,
148 old_value, new_value, reinterpret_cast<volatile int64_t*>(ptr))) {
149 return old_value;
152 } while (prev_value == old_value);
157 Atomic64 old_value,
161 return Acquire_CompareAndSwap(ptr, old_value, new_value);