Lines Matching refs:desired
244 desired, success, failure) \
245 __c11_atomic_compare_exchange_strong(object, expected, desired, \
248 desired, success, failure) \
249 __c11_atomic_compare_exchange_weak(object, expected, desired, \
251 #define atomic_exchange_explicit(object, desired, order) \
252 __c11_atomic_exchange(object, desired, order)
265 #define atomic_store_explicit(object, desired, order) \
266 __c11_atomic_store(object, desired, order)
269 desired, success, failure) \
271 desired, 0, success, failure)
273 desired, success, failure) \
275 desired, 1, success, failure)
276 #define atomic_exchange_explicit(object, desired, order) \
277 __atomic_exchange_n(&(object)->__val, desired, order)
290 #define atomic_store_explicit(object, desired, order) \
291 __atomic_store_n(&(object)->__val, desired, order)
296 desired, success, failure) __extension__ ({ \
301 __e, desired)) == __e); \
304 desired, success, failure) \
306 desired, success, failure)
309 #define atomic_exchange_explicit(object, desired, order) \
310 ((void)(order), __sync_swap(&(object)->__val, desired))
317 #define atomic_exchange_explicit(object, desired, order) \
320 __typeof__(desired) __d = (desired); \
340 #define atomic_store_explicit(object, desired, order) \
341 ((void)atomic_exchange_explicit(object, desired, order))
352 #define atomic_compare_exchange_strong(object, expected, desired) \
354 desired, memory_order_seq_cst, memory_order_seq_cst)
355 #define atomic_compare_exchange_weak(object, expected, desired) \
357 desired, memory_order_seq_cst, memory_order_seq_cst)
358 #define atomic_exchange(object, desired) \
359 atomic_exchange_explicit(object, desired, memory_order_seq_cst)
372 #define atomic_store(object, desired) \
373 atomic_store_explicit(object, desired, memory_order_seq_cst)