Lines Matching refs:desired
398 desired, success, failure) \
399 __c11_atomic_compare_exchange_strong(object, expected, desired, \
402 desired, success, failure) \
403 __c11_atomic_compare_exchange_weak(object, expected, desired, \
405 #define atomic_exchange_explicit(object, desired, order) \
406 __c11_atomic_exchange(object, desired, order)
419 #define atomic_store_explicit(object, desired, order) \
420 __c11_atomic_store(object, desired, order)
423 desired, success, failure) \
425 desired, 0, success, failure)
427 desired, success, failure) \
429 desired, 1, success, failure)
430 #define atomic_exchange_explicit(object, desired, order) \
431 __atomic_exchange_n(&(object)->__val, desired, order)
444 #define atomic_store_explicit(object, desired, order) \
445 __atomic_store_n(&(object)->__val, desired, order)
450 desired, success, failure) __extension__ ({ \
455 __e, desired)) == __e); \
458 desired, success, failure) \
460 desired, success, failure)
463 #define atomic_exchange_explicit(object, desired, order) \
464 ((void)(order), __sync_swap(&(object)->__val, desired))
471 #define atomic_exchange_explicit(object, desired, order) \
474 __typeof__(desired) __d = (desired); \
494 #define atomic_store_explicit(object, desired, order) \
495 ((void)atomic_exchange_explicit(object, desired, order))
506 #define atomic_compare_exchange_strong(object, expected, desired) \
508 desired, memory_order_seq_cst, memory_order_seq_cst)
509 #define atomic_compare_exchange_weak(object, expected, desired) \
511 desired, memory_order_seq_cst, memory_order_seq_cst)
512 #define atomic_exchange(object, desired) \
513 atomic_exchange_explicit(object, desired, memory_order_seq_cst)
526 #define atomic_store(object, desired) \
527 atomic_store_explicit(object, desired, memory_order_seq_cst)