Home
last modified time | relevance | path

Searched refs:memory_order (Results 1 – 25 of 27) sorted by relevance

12

/external/libcxx/include/
Datomic22 typedef enum memory_order
30 } memory_order;
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;
69 memory_order m) noexcept;
72 atomic_flag_test_and_set_explicit(atomic_flag* obj, memory_order m) noexcept;
81 atomic_flag_clear_explicit(volatile atomic_flag* obj, memory_order m) noexcept;
84 atomic_flag_clear_explicit(atomic_flag* obj, memory_order m) noexcept;
[all …]
Dmemory553 shared_ptr<T> atomic_load_explicit(const shared_ptr<T>* p, memory_order mo);
557 void atomic_store_explicit(shared_ptr<T>* p, shared_ptr<T> r, memory_order mo);
562 atomic_exchange_explicit(shared_ptr<T>* p, shared_ptr<T> r, memory_order mo);
572 shared_ptr<T> w, memory_order success,
573 memory_order failure);
577 shared_ptr<T> w, memory_order success,
578 memory_order failure);
5425 atomic_load_explicit(const shared_ptr<_Tp>* __p, memory_order)
5443 atomic_store_explicit(shared_ptr<_Tp>* __p, shared_ptr<_Tp> __r, memory_order)
5462 atomic_exchange_explicit(shared_ptr<_Tp>* __p, shared_ptr<_Tp> __r, memory_order)
[all …]
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_atomic_msvc.h63 INLINE void atomic_signal_fence(memory_order) { in atomic_signal_fence() argument
67 INLINE void atomic_thread_fence(memory_order) { in atomic_thread_fence() argument
78 const volatile T *a, memory_order mo) { in atomic_load()
95 INLINE void atomic_store(volatile T *a, typename T::Type v, memory_order mo) { in atomic_store()
112 u32 v, memory_order mo) { in atomic_fetch_add()
120 uptr v, memory_order mo) { in atomic_fetch_add()
133 u32 v, memory_order mo) { in atomic_fetch_sub()
141 uptr v, memory_order mo) { in atomic_fetch_sub()
154 u8 v, memory_order mo) { in atomic_exchange()
161 u16 v, memory_order mo) { in atomic_exchange()
[all …]
Dsanitizer_atomic_clang.h38 INLINE void atomic_signal_fence(memory_order) { in atomic_signal_fence() argument
42 INLINE void atomic_thread_fence(memory_order) { in atomic_thread_fence() argument
48 typename T::Type v, memory_order mo) { in atomic_fetch_add()
56 typename T::Type v, memory_order mo) { in atomic_fetch_sub()
64 typename T::Type v, memory_order mo) { in atomic_exchange()
78 memory_order mo) { in atomic_compare_exchange_strong()
92 memory_order mo) { in atomic_compare_exchange_weak()
Dsanitizer_atomic_clang_x86.h29 const volatile T *a, memory_order mo) { in atomic_load()
75 INLINE void atomic_store(volatile T *a, typename T::Type v, memory_order mo) { in atomic_store()
Dsanitizer_atomic_clang_other.h26 const volatile T *a, memory_order mo) { in atomic_load()
63 INLINE void atomic_store(volatile T *a, typename T::Type v, memory_order mo) { in atomic_store()
Dsanitizer_atomic.h21 enum memory_order { enum
/external/clang/lib/Headers/
Dstdatomic.h61 typedef enum memory_order { enum
68 } memory_order; typedef
75 void atomic_thread_fence(memory_order);
76 void atomic_signal_fence(memory_order);
170 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);
176 void atomic_flag_clear_explicit(volatile atomic_flag *, memory_order);
/external/v8/third_party/llvm-build/Release+Asserts/lib/clang/3.9.0/include/
Dstdatomic.h61 typedef enum memory_order { enum
68 } memory_order; typedef
75 void atomic_thread_fence(memory_order);
76 void atomic_signal_fence(memory_order);
170 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);
176 void atomic_flag_clear_explicit(volatile atomic_flag *, memory_order);
/external/libcxx/test/support/
Dcmpxchg_loop.h16 std::memory_order success, in cmpxchg_weak_loop()
17 std::memory_order failure) { in cmpxchg_weak_loop()
41 std::memory_order success, in c_cmpxchg_weak_loop()
42 std::memory_order failure) { in c_cmpxchg_weak_loop()
/external/skia/include/private/
DSkAtomics.h101 return std::atomic_load_explicit(ap, (std::memory_order)mo); in sk_atomic_load()
110 return std::atomic_store_explicit(ap, val, (std::memory_order)mo); in sk_atomic_store()
117 return std::atomic_fetch_add_explicit(ap, val, (std::memory_order)mo); in sk_atomic_fetch_add()
124 return std::atomic_fetch_sub_explicit(ap, val, (std::memory_order)mo); in sk_atomic_fetch_sub()
139 (std::memory_order)success, in sk_atomic_compare_exchange()
140 (std::memory_order)failure); in sk_atomic_compare_exchange()
147 return std::atomic_exchange_explicit(ap, val, (std::memory_order)mo); in sk_atomic_exchange()
/external/clang/test/CodeGen/
Darm-atomics-m.c6 typedef enum memory_order { enum
9 } memory_order; typedef
Darm-atomics-m0.c6 typedef enum memory_order { enum
9 } memory_order; typedef
Darm-atomics.c8 typedef enum memory_order { enum
11 } memory_order; typedef
Dbig-atomic-ops.c12 typedef enum memory_order { enum
15 } memory_order; typedef
Datomics-inlining.c13 enum memory_order { enum
Datomic-ops-libcall.c3 enum memory_order { enum
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_atomic_test.cc30 template<typename T, memory_order load_mo, memory_order store_mo>
/external/compiler-rt/lib/builtins/
Datomic_signal_fence.c23 void atomic_signal_fence(memory_order order) { in atomic_signal_fence()
Datomic_thread_fence.c23 void atomic_thread_fence(memory_order order) { in atomic_thread_fence()
Datomic_flag_clear_explicit.c24 memory_order order) { in atomic_flag_clear_explicit()
Datomic_flag_test_and_set_explicit.c24 memory_order order) { in atomic_flag_test_and_set_explicit()
/external/libcxx/test/std/atomics/atomics.order/
Dmemory_order.pass.cpp31 std::memory_order o = std::memory_order_seq_cst; in main()
/external/clang/test/Sema/
Datomic-ops.c220 void (*pfn)(memory_order) = &atomic_thread_fence; in f()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_interface_atomic.cc220 static memory_order to_mo(morder mo) { in to_mo()

12