Home
last modified time | relevance | path

Searched refs:atomic_compare_exchange_weak (Results 1 – 19 of 19) sorted by relevance

/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared.atomic/
Datomic_compare_exchange_weak.pass.cpp39 bool b = std::atomic_compare_exchange_weak(&p, &v, w); in main()
49 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/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 operator ()()
53 assert(std::atomic_compare_exchange_weak(&a, &t, T(3)) == false); in operator ()()
/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.h41 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.h80 atomic_compare_exchange_weak(p, &cmp, cmp | 1, memory_order_acquire)) in lock()
Dsanitizer_atomic_msvc.h257 INLINE bool atomic_compare_exchange_weak(volatile T *a, in atomic_compare_exchange_weak() function
/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/drrickorang/LoopbackApp/app/src/main/jni/audio_utils/
Datomic.c39 return atomic_compare_exchange_weak(a, expect, desire); in android_atomic_compare_exchange()
/external/libcxx/test/support/
Dcmpxchg_loop.h40 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
Dopencl-c.h15009 bool __ovld atomic_compare_exchange_weak(volatile atomic_int *object, int *expected, int desired);
15014 bool __ovld atomic_compare_exchange_weak(volatile atomic_uint *object, uint *expected, uint desired…
15024 bool __ovld atomic_compare_exchange_weak(volatile atomic_float *object, float *expected, float desi…
15036 bool __ovld atomic_compare_exchange_weak(volatile atomic_double *object, double *expected, double d…
15047 bool __ovld atomic_compare_exchange_weak(volatile atomic_long *object, long *expected, long desired…
15057 bool __ovld atomic_compare_exchange_weak(volatile atomic_ulong *object, ulong *expected, ulong desi…
/external/compiler-rt/lib/tsan/rtl/
Dtsan_mutex.cc238 if (atomic_compare_exchange_weak(&state_, &cmp, kWriteLock, in Lock()
/external/spirv-llvm/test/SPIRV/transcoding/
DAtomicCompareExchange_cl20.ll10 …==> SPIR-V ==> LLVM' conversion of atomic_compare_exchange_strong and atomic_compare_exchange_weak.
/external/libcxx/include/
Datomic332 atomic_compare_exchange_weak(volatile atomic<T>* obj, T* expc, T desr) noexcept;
336 atomic_compare_exchange_weak(atomic<T>* obj, T* expc, T desr) noexcept;
1296 // atomic_compare_exchange_weak
1301 atomic_compare_exchange_weak(volatile atomic<_Tp>* __o, _Tp* __e, _Tp __d) _NOEXCEPT
1309 atomic_compare_exchange_weak(atomic<_Tp>* __o, _Tp* __e, _Tp __d) _NOEXCEPT
Dmemory594 atomic_compare_exchange_weak(shared_ptr<T>* p, shared_ptr<T>* v, shared_ptr<T> w);
5333 atomic_compare_exchange_weak(shared_ptr<_Tp>* __p, shared_ptr<_Tp>* __v, shared_ptr<_Tp> __w)
5353 return atomic_compare_exchange_weak(__p, __v, __w);
/external/clang/test/Sema/
Datomic-ops.c240 atomic_compare_exchange_weak(&n, &k, k); in f()