Lines Matching refs:desired
86 #define atomic_store(object, desired) \ argument
88 *(object) = (desired); \
92 #define atomic_store_explicit(object, desired, order) \ argument
93 atomic_store(object, desired)
101 #define atomic_exchange(object, desired) \ argument
107 while (!__sync_bool_compare_and_swap(_obj, _old, (desired))); \
111 #define atomic_exchange_explicit(object, desired, order) \ argument
112 atomic_exchange(object, desired)
114 #define atomic_compare_exchange_strong(object, expected, desired) \ argument
118 *_exp = __sync_val_compare_and_swap((object), _old, (desired)); \
122 #define atomic_compare_exchange_strong_explicit(object, expected, desired, success, failure) \ argument
123 atomic_compare_exchange_strong(object, expected, desired)
125 #define atomic_compare_exchange_weak(object, expected, desired) \ argument
126 atomic_compare_exchange_strong(object, expected, desired)
128 #define atomic_compare_exchange_weak_explicit(object, expected, desired, success, failure) \ argument
129 atomic_compare_exchange_weak(object, expected, desired)