Home
last modified time | relevance | path

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

12

/external/llvm-project/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared.atomic/
Datomic_compare_exchange_weak.pass.cpp33 bool b = std::atomic_compare_exchange_weak(&p, &v, w); in main()
43 bool b = std::atomic_compare_exchange_weak(&p, &v, w); in main()
/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/rust/crates/quiche/deps/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/llvm-project/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/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_lfstack.h41 if (atomic_compare_exchange_weak(&head_, &cmp, xch, in Push()
56 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.h87 inline bool atomic_compare_exchange_weak(volatile T *a, in atomic_compare_exchange_weak() function
Dsanitizer_mutex.h156 atomic_compare_exchange_weak(&state_, &cmp, kWriteLock, in LockSlow()
/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()
/external/llvm-project/mlir/test/Dialect/SPIRV/
Davailability.mlir13 // CHECK: atomic_compare_exchange_weak
14 func @atomic_compare_exchange_weak(%ptr: !spv.ptr<i32, Workgroup>, %value: i32, %comparator: i32) -…
Datomic-ops.mlir36 func @atomic_compare_exchange_weak(%ptr: !spv.ptr<i32, Workgroup>, %value: i32, %comparator: i32) -…
44 func @atomic_compare_exchange_weak(%ptr: !spv.ptr<i32, Workgroup>, %value: i64, %comparator: i32) -…
52 func @atomic_compare_exchange_weak(%ptr: !spv.ptr<i32, Workgroup>, %value: i32, %comparator: i16) -…
60 func @atomic_compare_exchange_weak(%ptr: !spv.ptr<i64, Workgroup>, %value: i32, %comparator: i32) -…
/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/llvm-project/mlir/test/Dialect/SPIRV/Serialization/
Datomic-ops.mlir4 // CHECK-LABEL: @atomic_compare_exchange_weak
5 …spv.func @atomic_compare_exchange_weak(%ptr: !spv.ptr<i32, Workgroup>, %value: i32, %comparator: i…
/external/llvm-project/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_atomic_test.cpp126 EXPECT_TRUE(atomic_compare_exchange_weak((T*)&var, &old_val, new_val, in CheckAtomicCompareExchange()
128 EXPECT_FALSE(atomic_compare_exchange_weak((T*)&var, &old_val, new_val, in CheckAtomicCompareExchange()
/external/drrickorang/LoopbackApp/app/src/main/cpp/audio_utils/
Datomic.c40 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/llvm-project/libcxx/test/support/
Dcmpxchg_loop.h39 if (std::atomic_compare_exchange_weak(atomic, expected, desired) == true) { in c_cmpxchg_weak_loop()
/external/llvm-project/clang/lib/Headers/
Dstdatomic.h129 #define atomic_compare_exchange_weak(object, expected, desired) __c11_atomic_compare_exchange_weak(… macro
/external/clang/lib/Headers/
Dstdatomic.h143 #define atomic_compare_exchange_weak(object, expected, desired) __c11_atomic_compare_exchange_weak(… macro

12