/external/libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/ |
D | atomic_compare_exchange_strong.pass.cpp | 37 assert(std::atomic_compare_exchange_strong(&a, &t, T(2)) == true); in operator ()() 40 assert(std::atomic_compare_exchange_strong(&a, &t, T(3)) == false); in operator ()() 49 assert(std::atomic_compare_exchange_strong(&a, &t, T(2)) == true); in operator ()() 52 assert(std::atomic_compare_exchange_strong(&a, &t, T(3)) == false); in operator ()()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_atomic_msvc.h | 178 INLINE bool atomic_compare_exchange_strong(volatile atomic_uint8_t *a, in atomic_compare_exchange_strong() function 204 INLINE bool atomic_compare_exchange_strong(volatile atomic_uintptr_t *a, in atomic_compare_exchange_strong() function 217 INLINE bool atomic_compare_exchange_strong(volatile atomic_uint16_t *a, in atomic_compare_exchange_strong() function 230 INLINE bool atomic_compare_exchange_strong(volatile atomic_uint32_t *a, in atomic_compare_exchange_strong() function 243 INLINE bool atomic_compare_exchange_strong(volatile atomic_uint64_t *a, in atomic_compare_exchange_strong() function 261 return atomic_compare_exchange_strong(a, cmp, xchg, mo); in atomic_compare_exchange_weak()
|
D | sanitizer_atomic_clang.h | 75 INLINE bool atomic_compare_exchange_strong(volatile T *a, in atomic_compare_exchange_strong() function 93 return atomic_compare_exchange_strong(a, cmp, xchg, mo); in atomic_compare_exchange_weak()
|
D | sanitizer_mutex.h | 105 if (atomic_compare_exchange_strong(&state_, &cmp, kWriteLock, in Lock()
|
D | sanitizer_coverage_libcdep.cc | 449 if (atomic_compare_exchange_strong(&atomic_callee_cache[0], &zero, caller, in IndirCall() 460 if (atomic_compare_exchange_strong(&atomic_callee_cache[i], &was, callee, in IndirCall()
|
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared.atomic/ |
D | atomic_compare_exchange_strong.pass.cpp | 39 bool b = std::atomic_compare_exchange_strong(&p, &v, w); in main() 49 bool b = std::atomic_compare_exchange_strong(&p, &v, w); in main()
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_atomic_test.cc | 101 EXPECT_TRUE(atomic_compare_exchange_strong((T*)&var, &old_val, new_val, in CheckAtomicCompareExchange() 103 EXPECT_FALSE(atomic_compare_exchange_strong((T*)&var, &old_val, new_val, in CheckAtomicCompareExchange()
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_platform_mac.cc | 56 if (!atomic_compare_exchange_strong(a, (uintptr_t *)&cmp, (uintptr_t)val, in SignalSafeGetOrAllocate()
|
D | tsan_mutex.cc | 232 if (atomic_compare_exchange_strong(&state_, &cmp, kWriteLock, in Lock()
|
D | tsan_sync.cc | 247 if (atomic_compare_exchange_strong((atomic_uint32_t*)meta, &idx0, in GetAndLock()
|
D | tsan_fd.cc | 85 if (atomic_compare_exchange_strong(pl1, &l1, (uptr)p, memory_order_acq_rel)) in fddesc()
|
D | tsan_interceptors.cc | 807 if (atomic_compare_exchange_strong(g, &cmp, 1<<16, memory_order_relaxed)) in STDCXX_INTERCEPTOR() 1010 if (atomic_compare_exchange_strong(p, &cond, (uptr)newcond, in init_cond() 1330 if (v == 0 && atomic_compare_exchange_strong(a, &v, 1, in TSAN_INTERCEPTOR()
|
D | tsan_libdispatch_mac.cc | 242 atomic_compare_exchange_strong(a, &v, 1, memory_order_relaxed)) { in TSAN_INTERCEPTOR()
|
/external/spirv-llvm/test/SPIRV/transcoding/ |
D | AtomicCompareExchange_cl12.ll | 10 ; Check conversion of atomic_cmpxchng to atomic_compare_exchange_strong.
|
D | AtomicCompareExchange_cl20.ll | 10 ; Check 'LLVM ==> SPIR-V ==> LLVM' conversion of atomic_compare_exchange_strong and atomic_compare_…
|
/external/clang/lib/Headers/ |
D | stdatomic.h | 140 #define atomic_compare_exchange_strong(object, expected, desired) __c11_atomic_compare_exchange_str… macro
|
/external/jemalloc/include/jemalloc/internal/ |
D | atomic.h | 147 return (!atomic_compare_exchange_strong(a, &c, s)); in atomic_cas_uint64() 371 return (!atomic_compare_exchange_strong(a, &c, s)); in atomic_cas_uint32()
|
/external/clang/test/CodeGen/ |
D | atomic-ops.c | 155 return atomic_compare_exchange_strong(i, &cmp, 1); in fi4c()
|
/external/compiler-rt/lib/dfsan/ |
D | dfsan.cc | 161 if (atomic_compare_exchange_strong(table_ent, &label, kInitializingLabel, in __dfsan_union()
|
/external/compiler-rt/lib/tsan/dd/ |
D | dd_interceptors.cc | 169 if (atomic_compare_exchange_strong(p, &cond, (uptr)newcond, in init_cond()
|
/external/compiler-rt/lib/asan/ |
D | asan_thread.cc | 201 if (atomic_compare_exchange_strong( in AsyncSignalSafeLazyInitFakeStack()
|
D | asan_allocator.cc | 466 if (!atomic_compare_exchange_strong((atomic_uint8_t *)m, &old_chunk_state, in AtomicallySetQuarantineFlagIfAllocated()
|
D | asan_report.cc | 1041 if (cmp == 0 && atomic_compare_exchange_strong(&AsanBuggyPcPool[i], &cmp, in SuppressErrorReport()
|
/external/libcxx/include/ |
D | atomic | 340 atomic_compare_exchange_strong(volatile atomic<T>* obj, T* expc, T desr) noexcept; 344 atomic_compare_exchange_strong(atomic<T>* obj, T* expc, T desr) noexcept; 1327 // atomic_compare_exchange_strong 1332 atomic_compare_exchange_strong(volatile atomic<_Tp>* __o, _Tp* __e, _Tp __d) _NOEXCEPT 1340 atomic_compare_exchange_strong(atomic<_Tp>* __o, _Tp* __e, _Tp __d) _NOEXCEPT
|
/external/clang/test/Sema/ |
D | atomic-ops.c | 239 atomic_compare_exchange_strong(&n, k, k); // expected-warning {{take the address with &}} in f()
|