Home
last modified time | relevance | path

Searched refs:atomic_flag_test_and_set_explicit (Results 1 – 3 of 3) sorted by relevance

/external/libcxx/test/std/atomics/atomics.flag/
Datomic_flag_test_and_set_explicit.pass.cpp27 assert(atomic_flag_test_and_set_explicit(&f, std::memory_order_relaxed) == 0); in main()
33 assert(atomic_flag_test_and_set_explicit(&f, std::memory_order_consume) == 0); in main()
39 assert(atomic_flag_test_and_set_explicit(&f, std::memory_order_acquire) == 0); in main()
45 assert(atomic_flag_test_and_set_explicit(&f, std::memory_order_release) == 0); in main()
51 assert(atomic_flag_test_and_set_explicit(&f, std::memory_order_acq_rel) == 0); in main()
57 assert(atomic_flag_test_and_set_explicit(&f, std::memory_order_seq_cst) == 0); in main()
63 assert(atomic_flag_test_and_set_explicit(&f, std::memory_order_relaxed) == 0); in main()
69 assert(atomic_flag_test_and_set_explicit(&f, std::memory_order_consume) == 0); in main()
75 assert(atomic_flag_test_and_set_explicit(&f, std::memory_order_acquire) == 0); in main()
81 assert(atomic_flag_test_and_set_explicit(&f, std::memory_order_release) == 0); in main()
[all …]
/external/clang/lib/Headers/
Dstdatomic.h170 bool atomic_flag_test_and_set_explicit(volatile atomic_flag *, memory_order);
173 _Bool atomic_flag_test_and_set_explicit(volatile atomic_flag *, memory_order);
179 #define atomic_flag_test_and_set_explicit(object, order) __c11_atomic_exchange(&(object)->_Value, 1… macro
/external/libcxx/include/
Datomic68 atomic_flag_test_and_set_explicit(volatile atomic_flag* obj,
72 atomic_flag_test_and_set_explicit(atomic_flag* obj, memory_order m) noexcept;
1677 atomic_flag_test_and_set_explicit(volatile atomic_flag* __o, memory_order __m) _NOEXCEPT
1684 atomic_flag_test_and_set_explicit(atomic_flag* __o, memory_order __m) _NOEXCEPT