Home
last modified time | relevance | path

Searched refs:memory_order_relaxed (Results 1 – 11 of 11) sorted by relevance

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/atomics/atomics.flag/
Dtest_and_set.pass.cpp31 assert(f.test_and_set(std::memory_order_relaxed) == 0); in main()
32 assert(f.test_and_set(std::memory_order_relaxed) == 1); in main()
73 assert(f.test_and_set(std::memory_order_relaxed) == 0); in main()
74 assert(f.test_and_set(std::memory_order_relaxed) == 1); in main()
Datomic_flag_clear_explicit.pass.cpp25 atomic_flag_clear_explicit(&f, std::memory_order_relaxed); in main()
43 atomic_flag_clear_explicit(&f, std::memory_order_relaxed); in main()
Dclear.pass.cpp31 f.clear(std::memory_order_relaxed); in main()
55 f.clear(std::memory_order_relaxed); in main()
Datomic_flag_test_and_set_explicit.pass.cpp25 assert(atomic_flag_test_and_set_explicit(&f, std::memory_order_relaxed) == 0); in main()
61 assert(atomic_flag_test_and_set_explicit(&f, std::memory_order_relaxed) == 0); in main()
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/
Dmemory_order.hpp43 memory_order_relaxed = 0, enumerator
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared.atomic/
Datomic_load_explicit.pass.cpp31 std::shared_ptr<int> q = std::atomic_load_explicit(&p, std::memory_order_relaxed); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/atomics/atomics.order/
Dmemory_order.pass.cpp23 assert(std::memory_order_relaxed == 0); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/atomics/atomics.types.generic/
Dbool.pass.cpp75 assert(obj.exchange(true, std::memory_order_relaxed) == false); in main()
130 assert(obj.exchange(true, std::memory_order_relaxed) == false); in main()
185 assert(obj.exchange(true, std::memory_order_relaxed) == false); in main()
Daddress.pass.cpp93 assert(obj.exchange(T(3), std::memory_order_relaxed) == T(2)); in do_test()
Dintegral.pass.cpp110 assert(obj.exchange(T(3), std::memory_order_relaxed) == T(2)); in do_test()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/
Datomic24 memory_order_relaxed,
544 memory_order_relaxed, memory_order_consume, memory_order_acquire,
575 case memory_order_relaxed: