Searched refs:atomic_flag_test_and_set (Results 1 – 4 of 4) sorted by relevance
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
226 _Bool old_val = atomic_flag_test_and_set(&guard); in f()229 old_val = (atomic_flag_test_and_set)(&guard); in f()233 …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;1663 atomic_flag_test_and_set(volatile atomic_flag* __o) _NOEXCEPT1670 atomic_flag_test_and_set(atomic_flag* __o) _NOEXCEPT