Searched refs:atomic_compare_exchange_weak (Results 1 – 16 of 16) sorted by relevance
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared.atomic/ |
D | atomic_compare_exchange_weak.pass.cpp | 36 bool b = std::atomic_compare_exchange_weak(&p, &v, w); in main() 46 bool b = std::atomic_compare_exchange_weak(&p, &v, w); in main()
|
/external/boringssl/src/crypto/ |
D | refcount_c11.c | 43 if (atomic_compare_exchange_weak(count, &expected, new_value)) { in CRYPTO_refcount_inc() 60 if (atomic_compare_exchange_weak(count, &expected, new_value)) { in CRYPTO_refcount_dec_and_test_zero()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_lfstack.h | 42 if (atomic_compare_exchange_weak(&head_, &cmp, xch, in Push() 57 if (atomic_compare_exchange_weak(&head_, &cmp, xch, in Pop()
|
D | sanitizer_persistent_allocator.h | 40 if (atomic_compare_exchange_weak(®ion_pos, &cmp, cmp + size, in tryAlloc()
|
D | sanitizer_atomic_clang.h | 89 INLINE bool atomic_compare_exchange_weak(volatile T *a, in atomic_compare_exchange_weak() function
|
D | sanitizer_mutex.h | 152 atomic_compare_exchange_weak(&state_, &cmp, kWriteLock, in LockSlow()
|
D | sanitizer_stackdepotbase.h | 79 atomic_compare_exchange_weak(p, &cmp, cmp | 1, memory_order_acquire)) in lock()
|
D | sanitizer_atomic_msvc.h | 244 INLINE bool atomic_compare_exchange_weak(volatile T *a, in atomic_compare_exchange_weak() function
|
/external/libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/ |
D | atomic_compare_exchange_weak.pass.cpp | 41 assert(std::atomic_compare_exchange_weak(&a, &t, T(3)) == false); in test() 53 assert(std::atomic_compare_exchange_weak(&a, &t, T(3)) == false); in test()
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_atomic_test.cc | 111 EXPECT_TRUE(atomic_compare_exchange_weak((T*)&var, &old_val, new_val, in CheckAtomicCompareExchange() 113 EXPECT_FALSE(atomic_compare_exchange_weak((T*)&var, &old_val, new_val, in CheckAtomicCompareExchange()
|
/external/libcxx/test/support/ |
D | cmpxchg_loop.h | 31 if (std::atomic_compare_exchange_weak(atomic, expected, desired) == true) { in c_cmpxchg_weak_loop()
|
/external/clang/lib/Headers/ |
D | stdatomic.h | 143 #define atomic_compare_exchange_weak(object, expected, desired) __c11_atomic_compare_exchange_weak(… macro
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_mutex.cc | 235 if (atomic_compare_exchange_weak(&state_, &cmp, kWriteLock, in Lock()
|
/external/libcxx/include/ |
D | atomic | 325 atomic_compare_exchange_weak(volatile atomic<T>* obj, T* expc, T desr) noexcept; 329 atomic_compare_exchange_weak(atomic<T>* obj, T* expc, T desr) noexcept; 1215 // atomic_compare_exchange_weak 1220 atomic_compare_exchange_weak(volatile atomic<_Tp>* __o, _Tp* __e, _Tp __d) _NOEXCEPT 1228 atomic_compare_exchange_weak(atomic<_Tp>* __o, _Tp* __e, _Tp __d) _NOEXCEPT
|
D | memory | 563 atomic_compare_exchange_weak(shared_ptr<T>* p, shared_ptr<T>* v, shared_ptr<T> w); 5383 atomic_compare_exchange_weak(shared_ptr<_Tp>* __p, shared_ptr<_Tp>* __v, shared_ptr<_Tp> __w) 5403 return atomic_compare_exchange_weak(__p, __v, __w);
|
/external/clang/test/Sema/ |
D | atomic-ops.c | 206 atomic_compare_exchange_weak(&n, &k, k); in f()
|