Home
last modified time | relevance | path

Searched refs:atomic_flag_test_and_set (Results 1 – 4 of 4) sorted by relevance

/external/libcxx/test/std/atomics/atomics.flag/
Datomic_flag_test_and_set.pass.cpp27 assert(atomic_flag_test_and_set(&f) == 0); in main()
33 assert(atomic_flag_test_and_set(&f) == 0); in main()
/external/clang/lib/Headers/
Dstdatomic.h169 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
/external/clang/test/Sema/
Datomic-ops.c226 _Bool old_val = atomic_flag_test_and_set(&guard); in f()
229 old_val = (atomic_flag_test_and_set)(&guard); in f()
233atomic_flag_test_and_set(&const_guard); // expected-error {{address argument to atomic operation m… in f()
/external/libcxx/include/
Datomic62 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) _NOEXCEPT
1670 atomic_flag_test_and_set(atomic_flag* __o) _NOEXCEPT