Searched refs:atomic_flag_test_and_set (Results 1 – 11 of 11) sorted by relevance
22 #undef atomic_flag_test_and_set23 _Bool atomic_flag_test_and_set(volatile atomic_flag *object) { in atomic_flag_test_and_set() function
151 atomic_flag_test_and_set.c
27 assert(atomic_flag_test_and_set(&f) == 0); in main()33 assert(atomic_flag_test_and_set(&f) == 0); in main()
169 bool atomic_flag_test_and_set(volatile atomic_flag *);172 _Bool atomic_flag_test_and_set(volatile atomic_flag *);178 #define atomic_flag_test_and_set(object) __c11_atomic_exchange(&(object)->_Value, 1, __ATOMIC_SEQ_C… macro
52 atomic_flag_test_and_set atomic_flag_test_and_set_explicit \133 atomic_flag_test_and_set \
185 atomic_flag_test_and_set \
253 atomic_flag_test_and_set \
88 atomic_flag_test_and_set
93 atomic_flag_test_and_set
251 _Bool old_val = atomic_flag_test_and_set(&guard); in f()254 old_val = (atomic_flag_test_and_set)(&guard); in f()258 …atomic_flag_test_and_set(&const_guard); // expected-error {{address argument to atomic operation m… in f()
62 atomic_flag_test_and_set(volatile atomic_flag* obj) noexcept;65 atomic_flag_test_and_set(atomic_flag* obj) noexcept;1666 atomic_flag_test_and_set(volatile atomic_flag* __o) _NOEXCEPT1673 atomic_flag_test_and_set(atomic_flag* __o) _NOEXCEPT