/external/libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/ |
D | atomic_compare_exchange_strong.pass.cpp | 36 assert(std::atomic_compare_exchange_strong(&a, &t, T(2)) == true); in test() 39 assert(std::atomic_compare_exchange_strong(&a, &t, T(3)) == false); in test() 48 assert(std::atomic_compare_exchange_strong(&a, &t, T(2)) == true); in test() 51 assert(std::atomic_compare_exchange_strong(&a, &t, T(3)) == false); in test()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_atomic_msvc.h | 176 INLINE bool atomic_compare_exchange_strong(volatile atomic_uint8_t *a, in atomic_compare_exchange_strong() function 199 INLINE bool atomic_compare_exchange_strong(volatile atomic_uintptr_t *a, in atomic_compare_exchange_strong() function 212 INLINE bool atomic_compare_exchange_strong(volatile atomic_uint16_t *a, in atomic_compare_exchange_strong() function 225 INLINE bool atomic_compare_exchange_strong(volatile atomic_uint32_t *a, in atomic_compare_exchange_strong() function 238 INLINE bool atomic_compare_exchange_strong(volatile atomic_uint64_t *a, in atomic_compare_exchange_strong() function 256 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 | 432 if (atomic_compare_exchange_strong(&atomic_callee_cache[0], &zero, caller, in IndirCall() 443 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 | 36 bool b = std::atomic_compare_exchange_strong(&p, &v, w); in main() 46 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 | 231 if (atomic_compare_exchange_strong(&state_, &cmp, kWriteLock, in Lock()
|
D | tsan_sync.cc | 238 if (atomic_compare_exchange_strong((atomic_uint32_t*)meta, &idx0, in GetAndLock()
|
D | tsan_libdispatch_mac.cc | 168 atomic_compare_exchange_strong(a, &v, 1, memory_order_relaxed)) { in DISPATCH_INTERCEPT_B()
|
D | tsan_fd.cc | 85 if (atomic_compare_exchange_strong(pl1, &l1, (uptr)p, memory_order_acq_rel)) in fddesc()
|
D | tsan_interceptors.cc | 865 if (atomic_compare_exchange_strong(g, &cmp, 1<<16, memory_order_relaxed)) in STDCXX_INTERCEPTOR() 1062 if (atomic_compare_exchange_strong(p, &cond, (uptr)newcond, in init_cond() 1380 if (v == 0 && atomic_compare_exchange_strong(a, &v, 1, in TSAN_INTERCEPTOR()
|
D | tsan_interface_atomic.cc | 399 return atomic_compare_exchange_strong(to_atomic(a), c, v, to_mo(mo)); in NoTsanAtomicCAS()
|
/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/asan/ |
D | asan_thread.cc | 136 if (atomic_compare_exchange_strong( in AsyncSignalSafeLazyInitFakeStack()
|
D | asan_allocator.cc | 464 if (!atomic_compare_exchange_strong((atomic_uint8_t*)m, &old_chunk_state, in AtomicallySetQuarantineFlag()
|
D | asan_report.cc | 1011 if (cmp == 0 && atomic_compare_exchange_strong(&AsanBuggyPcPool[i], &cmp, in SuppressErrorReport()
|
/external/compiler-rt/lib/tsan/dd/ |
D | dd_interceptors.cc | 172 if (atomic_compare_exchange_strong(p, &cond, (uptr)newcond, in init_cond()
|
/external/libcxx/include/ |
D | atomic | 333 atomic_compare_exchange_strong(volatile atomic<T>* obj, T* expc, T desr) noexcept; 337 atomic_compare_exchange_strong(atomic<T>* obj, T* expc, T desr) noexcept; 1236 // atomic_compare_exchange_strong 1241 atomic_compare_exchange_strong(volatile atomic<_Tp>* __o, _Tp* __e, _Tp __d) _NOEXCEPT 1249 atomic_compare_exchange_strong(atomic<_Tp>* __o, _Tp* __e, _Tp __d) _NOEXCEPT
|
D | memory | 568 atomic_compare_exchange_strong( shared_ptr<T>* p, shared_ptr<T>* v, shared_ptr<T> w); 5469 atomic_compare_exchange_strong(shared_ptr<_Tp>* __p, shared_ptr<_Tp>* __v, shared_ptr<_Tp> __w) 5489 return atomic_compare_exchange_strong(__p, __v, __w); 5498 return atomic_compare_exchange_strong(__p, __v, __w);
|
/external/clang/test/Sema/ |
D | atomic-ops.c | 230 atomic_compare_exchange_strong(&n, k, k); // expected-warning {{take the address with &}} in f()
|