Home
last modified time | relevance | path

Searched refs:memory_order_seq_cst (Results 1 – 24 of 24) sorted by relevance

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/atomics/atomics.types.generic/
Dbool.pass.cpp82 std::memory_order_seq_cst) == false); in main()
88 std::memory_order_seq_cst, in main()
89 std::memory_order_seq_cst) == true); in main()
98 std::memory_order_seq_cst) == false); in main()
104 std::memory_order_seq_cst, in main()
105 std::memory_order_seq_cst) == true); in main()
137 std::memory_order_seq_cst) == false); in main()
143 std::memory_order_seq_cst, in main()
144 std::memory_order_seq_cst) == true); in main()
153 std::memory_order_seq_cst) == false); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/atomics/atomics.types.operations/atomics.types.operations.req/
Datomic_compare_exchange_weak_explicit.pass.cpp37 std::memory_order_seq_cst, std::memory_order_seq_cst) == true); in test()
41 std::memory_order_seq_cst, std::memory_order_seq_cst) == false); in test()
51 std::memory_order_seq_cst, std::memory_order_seq_cst) == true); in test()
55 std::memory_order_seq_cst, std::memory_order_seq_cst) == false); in test()
Datomic_compare_exchange_strong_explicit.pass.cpp37 std::memory_order_seq_cst, std::memory_order_seq_cst) == true); in test()
41 std::memory_order_seq_cst, std::memory_order_seq_cst) == false); in test()
51 std::memory_order_seq_cst, std::memory_order_seq_cst) == true); in test()
55 std::memory_order_seq_cst, std::memory_order_seq_cst) == false); in test()
Datomic_fetch_sub_explicit.pass.cpp42 std::memory_order_seq_cst) == T(3)); in test()
50 std::memory_order_seq_cst) == T(3)); in test()
65 std::memory_order_seq_cst) == T(3*sizeof(X))); in testp()
74 std::memory_order_seq_cst) == T(3*sizeof(X))); in testp()
Datomic_fetch_add_explicit.pass.cpp41 std::memory_order_seq_cst) == T(1)); in test()
49 std::memory_order_seq_cst) == T(1)); in test()
64 std::memory_order_seq_cst) == T(1*sizeof(X))); in testp()
73 std::memory_order_seq_cst) == T(1*sizeof(X))); in testp()
Datomic_fetch_xor_explicit.pass.cpp33 std::memory_order_seq_cst) == T(1)); in test()
41 std::memory_order_seq_cst) == T(3)); in test()
Datomic_fetch_or_explicit.pass.cpp33 std::memory_order_seq_cst) == T(1)); in test()
41 std::memory_order_seq_cst) == T(3)); in test()
Datomic_fetch_and_explicit.pass.cpp33 std::memory_order_seq_cst) == T(1)); in test()
41 std::memory_order_seq_cst) == T(3)); in test()
Datomic_store_explicit.pass.cpp30 std::atomic_store_explicit(&t, T(1), std::memory_order_seq_cst); in test()
33 std::atomic_store_explicit(&vt, T(2), std::memory_order_seq_cst); in test()
Datomic_load_explicit.pass.cpp31 assert(std::atomic_load_explicit(&t, std::memory_order_seq_cst) == T(1)); in test()
34 assert(std::atomic_load_explicit(&vt, std::memory_order_seq_cst) == T(2)); in test()
Datomic_exchange_explicit.pass.cpp31 assert(std::atomic_exchange_explicit(&t, T(2), std::memory_order_seq_cst) in test()
36 assert(std::atomic_exchange_explicit(&vt, T(4), std::memory_order_seq_cst) in test()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared.atomic/
Datomic_compare_exchange_weak_explicit.pass.cpp36 std::memory_order_seq_cst, in main()
37 std::memory_order_seq_cst); in main()
48 std::memory_order_seq_cst, in main()
49 std::memory_order_seq_cst); in main()
Datomic_compare_exchange_strong_explicit.pass.cpp36 std::memory_order_seq_cst, in main()
37 std::memory_order_seq_cst); in main()
48 std::memory_order_seq_cst, in main()
49 std::memory_order_seq_cst); in main()
Datomic_store_explicit.pass.cpp32 std::atomic_store_explicit(&p, r, std::memory_order_seq_cst); in main()
Datomic_exchange_explicit.pass.cpp32 r = std::atomic_exchange_explicit(&p, r, std::memory_order_seq_cst); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/atomics/atomics.order/
Dmemory_order.pass.cpp28 assert(std::memory_order_seq_cst == 5); in main()
29 std::memory_order o = std::memory_order_seq_cst; in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/
Datomic29 memory_order_seq_cst // store-release load-acquire
51 bool test_and_set(memory_order m = memory_order_seq_cst) volatile noexcept;
52 bool test_and_set(memory_order m = memory_order_seq_cst) noexcept;
53 void clear(memory_order m = memory_order_seq_cst) volatile noexcept;
54 void clear(memory_order m = memory_order_seq_cst) noexcept;
94 void store(T desr, memory_order m = memory_order_seq_cst) volatile noexcept;
95 void store(T desr, memory_order m = memory_order_seq_cst) noexcept;
96 T load(memory_order m = memory_order_seq_cst) const volatile noexcept;
97 T load(memory_order m = memory_order_seq_cst) const noexcept;
100 T exchange(T desr, memory_order m = memory_order_seq_cst) volatile noexcept;
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/atomics/atomics.flag/
Dtest_and_set.pass.cpp61 assert(f.test_and_set(std::memory_order_seq_cst) == 0); in main()
62 assert(f.test_and_set(std::memory_order_seq_cst) == 1); in main()
103 assert(f.test_and_set(std::memory_order_seq_cst) == 0); in main()
104 assert(f.test_and_set(std::memory_order_seq_cst) == 1); in main()
Datomic_flag_clear_explicit.pass.cpp37 atomic_flag_clear_explicit(&f, std::memory_order_seq_cst); in main()
55 atomic_flag_clear_explicit(&f, std::memory_order_seq_cst); in main()
Dclear.pass.cpp43 f.clear(std::memory_order_seq_cst); in main()
67 f.clear(std::memory_order_seq_cst); in main()
Datomic_flag_test_and_set_explicit.pass.cpp55 assert(atomic_flag_test_and_set_explicit(&f, std::memory_order_seq_cst) == 0); in main()
91 assert(atomic_flag_test_and_set_explicit(&f, std::memory_order_seq_cst) == 0); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/atomics/atomics.fences/
Datomic_signal_fence.pass.cpp18 std::atomic_signal_fence(std::memory_order_seq_cst); in main()
Datomic_thread_fence.pass.cpp18 std::atomic_thread_fence(std::memory_order_seq_cst); in main()
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/
Dmemory_order.hpp47 memory_order_seq_cst = 7, // acq_rel | 4 enumerator