Searched refs:atomic_compare_exchange_weak (Results 1 - 14 of 14) sorted by relevance

/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared.atomic/
H A Datomic_compare_exchange_weak.pass.cpp23 // atomic_compare_exchange_weak(shared_ptr<T>* p, shared_ptr<T>* v,
36 bool b = std::atomic_compare_exchange_weak(&p, &v, w);
46 bool b = std::atomic_compare_exchange_weak(&p, &v, w);
/external/boringssl/src/crypto/
H A Drefcount_c11.c43 if (atomic_compare_exchange_weak(count, &expected, new_value)) {
60 if (atomic_compare_exchange_weak(count, &expected, new_value)) {
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_lfstack.h42 if (atomic_compare_exchange_weak(&head_, &cmp, xch,
57 if (atomic_compare_exchange_weak(&head_, &cmp, xch,
H A Dsanitizer_persistent_allocator.h40 if (atomic_compare_exchange_weak(&region_pos, &cmp, cmp + size,
H A Dsanitizer_atomic_clang.h89 INLINE bool atomic_compare_exchange_weak(volatile T *a, function in namespace:__sanitizer
H A Dsanitizer_mutex.h152 atomic_compare_exchange_weak(&state_, &cmp, kWriteLock,
H A Dsanitizer_atomic_msvc.h244 INLINE bool atomic_compare_exchange_weak(volatile T *a, function in namespace:__sanitizer
H A Dsanitizer_stackdepotbase.h79 atomic_compare_exchange_weak(p, &cmp, cmp | 1, memory_order_acquire))
/external/libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/
H A Datomic_compare_exchange_weak.pass.cpp17 // atomic_compare_exchange_weak(volatile atomic<T>* obj, T* expc, T desr);
21 // atomic_compare_exchange_weak(atomic<T>* obj, T* expc, T desr);
41 assert(std::atomic_compare_exchange_weak(&a, &t, T(3)) == false);
53 assert(std::atomic_compare_exchange_weak(&a, &t, T(3)) == false);
/external/libcxx/test/support/
H A Dcmpxchg_loop.h31 if (std::atomic_compare_exchange_weak(atomic, expected, desired) == true) {
/external/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_atomic_test.cc111 EXPECT_TRUE(atomic_compare_exchange_weak((T*)&var, &old_val, new_val,
113 EXPECT_FALSE(atomic_compare_exchange_weak((T*)&var, &old_val, new_val,
/external/clang/lib/Headers/
H A Dstdatomic.h143 #define atomic_compare_exchange_weak(object, expected, desired) __c11_atomic_compare_exchange_weak(object, expected, desired, __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST) macro
/external/compiler-rt/lib/tsan/rtl/
H A Dtsan_mutex.cc235 if (atomic_compare_exchange_weak(&state_, &cmp, kWriteLock,
/external/clang/test/Sema/
H A Datomic-ops.c206 atomic_compare_exchange_weak(&n, &k, k); member in struct:s2

Completed in 173 milliseconds