/external/libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/ |
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);
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/atomics/atomics.types.operations/atomics.types.operations.req/ |
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/std/utilities/memory/util.smartptr/util.smartptr.shared.atomic/ |
atomic_compare_exchange_weak.pass.cpp | 23 // atomic_compare_exchange_weak(shared_ptr<T>* p, shared_ptr<T>* v, 39 bool b = std::atomic_compare_exchange_weak(&p, &v, w); 49 bool b = std::atomic_compare_exchange_weak(&p, &v, w);
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/memory/util.smartptr/util.smartptr.shared.atomic/ |
atomic_compare_exchange_weak.pass.cpp | 23 // atomic_compare_exchange_weak(shared_ptr<T>* p, shared_ptr<T>* v, 39 bool b = std::atomic_compare_exchange_weak(&p, &v, w); 49 bool b = std::atomic_compare_exchange_weak(&p, &v, w);
|
/external/boringssl/src/crypto/ |
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/ |
sanitizer_lfstack.h | 42 if (atomic_compare_exchange_weak(&head_, &cmp, xch, 57 if (atomic_compare_exchange_weak(&head_, &cmp, xch,
|
sanitizer_persistent_allocator.h | 41 if (atomic_compare_exchange_weak(®ion_pos, &cmp, cmp + size,
|
sanitizer_atomic_clang.h | 89 INLINE bool atomic_compare_exchange_weak(volatile T *a, function in namespace:__sanitizer
|
sanitizer_mutex.h | 152 atomic_compare_exchange_weak(&state_, &cmp, kWriteLock,
|
sanitizer_stackdepotbase.h | 80 atomic_compare_exchange_weak(p, &cmp, cmp | 1, memory_order_acquire))
|
/external/drrickorang/LoopbackApp/app/src/main/jni/audio_utils/ |
atomic.c | 39 return atomic_compare_exchange_weak(a, expect, desire);
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
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,
|
/bionic/libc/bionic/ |
pthread_detach.cpp | 44 !atomic_compare_exchange_weak(&thread->join_state, &old_state, THREAD_DETACHED)) {
|
pthread_join.cpp | 48 !atomic_compare_exchange_weak(&thread->join_state, &old_state, THREAD_JOINED)) {
|
semaphore.cpp | 156 } while (!atomic_compare_exchange_weak(sem_count_ptr, &old_value, 176 } while (!atomic_compare_exchange_weak(sem_count_ptr, &old_value, 209 } while (!atomic_compare_exchange_weak(sem_count_ptr, &old_value,
|
pthread_exit.cpp | 108 !atomic_compare_exchange_weak(&thread->join_state, &old_state, THREAD_EXITED_NOT_JOINED)) {
|
/external/libcxx/test/support/ |
cmpxchg_loop.h | 40 if (std::atomic_compare_exchange_weak(atomic, expected, desired) == true) {
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/support/ |
cmpxchg_loop.h | 40 if (std::atomic_compare_exchange_weak(atomic, expected, desired) == true) {
|
/bionic/tests/ |
stdatomic_test.cpp | 132 } while(!atomic_compare_exchange_weak(&i, &expected, 456)); 133 ASSERT_FALSE(atomic_compare_exchange_weak(&i, &expected, 456));
|
/external/clang/lib/Headers/ |
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/spirv-llvm/test/SPIRV/transcoding/ |
AtomicCompareExchange_cl20.ll | 10 ; Check 'LLVM ==> SPIR-V ==> LLVM' conversion of atomic_compare_exchange_strong and atomic_compare_exchange_weak.
|
/prebuilts/clang/host/darwin-x86/clang-4479392/lib64/clang/5.0.2/include/ |
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
|
/prebuilts/clang/host/linux-x86/clang-4479392/lib64/clang/5.0.2/include/ |
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
|
/prebuilts/gcc/darwin-x86/aarch64/aarch64-linux-android-4.9/lib/gcc/aarch64-linux-android/4.9.x/include/ |
stdatomic.h | 200 #define atomic_compare_exchange_weak(PTR, VAL, DES) \ macro
|
/prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.9/lib/gcc/arm-linux-androideabi/4.9.x/include/ |
stdatomic.h | 200 #define atomic_compare_exchange_weak(PTR, VAL, DES) \ macro
|