Lines Matching defs:_new
72 p_atomic_cmpxchg(int32_t *v, int32_t old, int32_t _new)
74 return __sync_val_compare_and_swap(v, old, _new);
119 p_atomic_cmpxchg(int32_t *v, int32_t old, int32_t _new)
121 return __sync_val_compare_and_swap(v, old, _new);
164 p_atomic_cmpxchg(int32_t *v, int32_t old, int32_t _new)
166 return __sync_val_compare_and_swap(v, old, _new);
189 #define p_atomic_cmpxchg(_v, old, _new) (*(_v) == old ? *(_v) = (_new) : *(_v))
240 p_atomic_cmpxchg(int32_t *v, int32_t old, int32_t _new)
247 mov edx, [_new]
298 p_atomic_cmpxchg(int32_t *v, int32_t old, int32_t _new)
300 return _InterlockedCompareExchange((long *)v, _new, old);
333 #define p_atomic_cmpxchg(_v, _old, _new) \
334 atomic_cas_32( (uint32_t *) _v, (uint32_t) _old, (uint32_t) _new)