Home
last modified time | relevance | path

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/
Datomic_compare_exchange_weak.pass.cpp36 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/
Drefcount_c11.c43 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/
Dsanitizer_lfstack.h42 if (atomic_compare_exchange_weak(&head_, &cmp, xch, in Push()
57 if (atomic_compare_exchange_weak(&head_, &cmp, xch, in Pop()
Dsanitizer_persistent_allocator.h40 if (atomic_compare_exchange_weak(&region_pos, &cmp, cmp + size, in tryAlloc()
Dsanitizer_atomic_clang.h89 INLINE bool atomic_compare_exchange_weak(volatile T *a, in atomic_compare_exchange_weak() function
Dsanitizer_mutex.h152 atomic_compare_exchange_weak(&state_, &cmp, kWriteLock, in LockSlow()
Dsanitizer_stackdepotbase.h79 atomic_compare_exchange_weak(p, &cmp, cmp | 1, memory_order_acquire)) in lock()
Dsanitizer_atomic_msvc.h244 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/
Datomic_compare_exchange_weak.pass.cpp41 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/
Dsanitizer_atomic_test.cc111 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/
Dcmpxchg_loop.h31 if (std::atomic_compare_exchange_weak(atomic, expected, desired) == true) { in c_cmpxchg_weak_loop()
/external/clang/lib/Headers/
Dstdatomic.h143 #define atomic_compare_exchange_weak(object, expected, desired) __c11_atomic_compare_exchange_weak(… macro
/external/compiler-rt/lib/tsan/rtl/
Dtsan_mutex.cc235 if (atomic_compare_exchange_weak(&state_, &cmp, kWriteLock, in Lock()
/external/libcxx/include/
Datomic325 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
Dmemory563 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/
Datomic-ops.c206 atomic_compare_exchange_weak(&n, &k, k); in f()