/external/libcxx/include/ |
D | atomic | 26 typedef enum memory_order 34 } memory_order; 55 bool test_and_set(memory_order m = memory_order_seq_cst) volatile noexcept; 56 bool test_and_set(memory_order m = memory_order_seq_cst) noexcept; 57 void clear(memory_order m = memory_order_seq_cst) volatile noexcept; 58 void clear(memory_order m = memory_order_seq_cst) noexcept; 73 memory_order m) noexcept; 76 atomic_flag_test_and_set_explicit(atomic_flag* obj, memory_order m) noexcept; 85 atomic_flag_clear_explicit(volatile atomic_flag* obj, memory_order m) noexcept; 88 atomic_flag_clear_explicit(atomic_flag* obj, memory_order m) noexcept; [all …]
|
D | memory | 582 shared_ptr<T> atomic_load_explicit(const shared_ptr<T>* p, memory_order mo); 586 void atomic_store_explicit(shared_ptr<T>* p, shared_ptr<T> r, memory_order mo); 591 atomic_exchange_explicit(shared_ptr<T>* p, shared_ptr<T> r, memory_order mo); 601 shared_ptr<T> w, memory_order success, 602 memory_order failure); 606 shared_ptr<T> w, memory_order success, 607 memory_order failure); 5268 atomic_load_explicit(const shared_ptr<_Tp>* __p, memory_order) 5286 atomic_store_explicit(shared_ptr<_Tp>* __p, shared_ptr<_Tp> __r, memory_order) 5305 atomic_exchange_explicit(shared_ptr<_Tp>* __p, shared_ptr<_Tp> __r, memory_order) [all …]
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_atomic_msvc.h | 67 INLINE void atomic_signal_fence(memory_order) { in atomic_signal_fence() argument 71 INLINE void atomic_thread_fence(memory_order) { in atomic_thread_fence() argument 82 const volatile T *a, memory_order mo) { in atomic_load() 99 INLINE void atomic_store(volatile T *a, typename T::Type v, memory_order mo) { in atomic_store() 116 u32 v, memory_order mo) { in atomic_fetch_add() 124 uptr v, memory_order mo) { in atomic_fetch_add() 137 u32 v, memory_order mo) { in atomic_fetch_sub() 145 uptr v, memory_order mo) { in atomic_fetch_sub() 158 u8 v, memory_order mo) { in atomic_exchange() 165 u16 v, memory_order mo) { in atomic_exchange() [all …]
|
D | sanitizer_atomic_clang.h | 38 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()
|
D | sanitizer_atomic_clang_x86.h | 29 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()
|
D | sanitizer_atomic_clang_other.h | 26 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()
|
D | sanitizer_atomic.h | 21 enum memory_order { enum
|
/external/clang/lib/Headers/ |
D | stdatomic.h | 61 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);
|
D | opencl-c.h | 14745 typedef enum memory_order enum 14752 } memory_order; typedef 14773 void __ovld atomic_work_item_fence(cl_mem_fence_flags flags, memory_order order, memory_scope scope… 14778 int __ovld atomic_fetch_add_explicit(volatile atomic_int *object, int operand, memory_order order); 14779 int __ovld atomic_fetch_add_explicit(volatile atomic_int *object, int operand, memory_order order, … 14781 uint __ovld atomic_fetch_add_explicit(volatile atomic_uint *object, uint operand, memory_order orde… 14782 uint __ovld atomic_fetch_add_explicit(volatile atomic_uint *object, uint operand, memory_order orde… 14784 int __ovld atomic_fetch_sub_explicit(volatile atomic_int *object, int operand, memory_order order); 14785 int __ovld atomic_fetch_sub_explicit(volatile atomic_int *object, int operand, memory_order order, … 14787 uint __ovld atomic_fetch_sub_explicit(volatile atomic_uint *object, uint operand, memory_order orde… [all …]
|
/external/skia/include/private/ |
D | SkAtomics.h | 101 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/libcxx/test/support/ |
D | cmpxchg_loop.h | 25 std::memory_order success, in cmpxchg_weak_loop() 26 std::memory_order failure) { in cmpxchg_weak_loop() 50 std::memory_order success, in c_cmpxchg_weak_loop() 51 std::memory_order failure) { in c_cmpxchg_weak_loop()
|
/external/clang/test/CodeGen/ |
D | arm-atomics.c | 8 typedef enum memory_order { enum 11 } memory_order; typedef
|
D | arm-atomics-m0.c | 6 typedef enum memory_order { enum 9 } memory_order; typedef
|
D | arm-atomics-m.c | 6 typedef enum memory_order { enum 9 } memory_order; typedef
|
D | big-atomic-ops.c | 12 typedef enum memory_order { enum 15 } memory_order; typedef
|
D | atomics-inlining.c | 14 enum memory_order { enum
|
D | atomic-ops-libcall.c | 3 enum memory_order { enum
|
/external/clang/test/Analysis/ |
D | atomics.c | 8 typedef enum memory_order { enum 15 } memory_order; typedef
|
/external/libcxx/src/experimental/ |
D | memory_resource.cpp | 101 &__res, new_res, memory_order::memory_order_acq_rel); in __default_memory_resource() 105 &__res, memory_order::memory_order_acquire); in __default_memory_resource()
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_atomic_test.cc | 30 template<typename T, memory_order load_mo, memory_order store_mo>
|
/external/compiler-rt/lib/builtins/ |
D | atomic_signal_fence.c | 23 void atomic_signal_fence(memory_order order) { in atomic_signal_fence()
|
D | atomic_thread_fence.c | 23 void atomic_thread_fence(memory_order order) { in atomic_thread_fence()
|
D | atomic_flag_test_and_set_explicit.c | 24 memory_order order) { in atomic_flag_test_and_set_explicit()
|
D | atomic_flag_clear_explicit.c | 24 memory_order order) { in atomic_flag_clear_explicit()
|
/external/libcxx/test/std/atomics/atomics.order/ |
D | memory_order.pass.cpp | 31 std::memory_order o = std::memory_order_seq_cst; in main()
|