/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared.atomic/ |
H A D | atomic_compare_exchange_weak.pass.cpp | 23 // 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 D | refcount_c11.c | 43 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 D | sanitizer_lfstack.h | 42 if (atomic_compare_exchange_weak(&head_, &cmp, xch, 57 if (atomic_compare_exchange_weak(&head_, &cmp, xch,
|
H A D | sanitizer_persistent_allocator.h | 40 if (atomic_compare_exchange_weak(®ion_pos, &cmp, cmp + size,
|
H A D | sanitizer_atomic_clang.h | 89 INLINE bool atomic_compare_exchange_weak(volatile T *a, function in namespace:__sanitizer
|
H A D | sanitizer_mutex.h | 152 atomic_compare_exchange_weak(&state_, &cmp, kWriteLock,
|
H A D | sanitizer_atomic_msvc.h | 244 INLINE bool atomic_compare_exchange_weak(volatile T *a, function in namespace:__sanitizer
|
H A D | sanitizer_stackdepotbase.h | 79 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 D | atomic_compare_exchange_weak.pass.cpp | 17 // 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 D | cmpxchg_loop.h | 31 if (std::atomic_compare_exchange_weak(atomic, expected, desired) == true) {
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
H A D | sanitizer_atomic_test.cc | 111 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 D | stdatomic.h | 143 #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 D | tsan_mutex.cc | 235 if (atomic_compare_exchange_weak(&state_, &cmp, kWriteLock,
|
/external/clang/test/Sema/ |
H A D | atomic-ops.c | 206 atomic_compare_exchange_weak(&n, &k, k); member in struct:s2
|