/external/libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/ |
D | atomic_fetch_sub.pass.cpp | 44 assert(std::atomic_fetch_sub(&t, T(2)) == T(3)); in operator ()() 51 assert(std::atomic_fetch_sub(&t, T(2)) == T(3)); in operator ()() 65 assert(std::atomic_fetch_sub(&t, 2) == T(3*sizeof(X))); in testp() 73 assert(std::atomic_fetch_sub(&t, 2) == T(3*sizeof(X))); in testp()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_mutex.h | 112 u32 prev = atomic_fetch_sub(&state_, kWriteLock, memory_order_release); in Unlock() 125 u32 prev = atomic_fetch_sub(&state_, kReadLock, memory_order_release); in ReadUnlock()
|
D | sanitizer_atomic_msvc.h | 136 INLINE u32 atomic_fetch_sub(volatile atomic_uint32_t *a, in atomic_fetch_sub() function 144 INLINE uptr atomic_fetch_sub(volatile atomic_uintptr_t *a, in atomic_fetch_sub() function
|
D | sanitizer_atomic_clang.h | 55 INLINE typename T::Type atomic_fetch_sub(volatile T *a, in atomic_fetch_sub() function
|
D | sanitizer_tls_get_addr.cc | 50 atomic_fetch_sub(&number_of_live_dtls, 1, memory_order_relaxed); in DTLS_Deallocate()
|
D | sanitizer_common.cc | 294 atomic_fetch_sub(&g_total_mmaped, size, memory_order_relaxed); in DecreaseTotalMmap()
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_mutex.cc | 250 uptr prev = atomic_fetch_sub(&state_, kWriteLock, memory_order_release); in Unlock() 277 uptr prev = atomic_fetch_sub(&state_, kReadLock, memory_order_release); in ReadUnlock()
|
D | tsan_fd.cc | 65 if (atomic_fetch_sub(&s->rc, 1, memory_order_acq_rel) == 1) { in unref()
|
/external/clang/lib/Headers/ |
D | stdatomic.h | 149 #define atomic_fetch_sub(object, operand) __c11_atomic_fetch_sub(object, operand, __ATOMIC_SEQ_CST) macro
|
D | opencl-c.h | 14783 int __ovld atomic_fetch_sub(volatile atomic_int *object, int operand); 14786 uint __ovld atomic_fetch_sub(volatile atomic_uint *object, uint operand); 14833 long __ovld atomic_fetch_sub(volatile atomic_long *object, long operand); 14836 ulong __ovld atomic_fetch_sub(volatile atomic_ulong *object, ulong operand); 14885 uintptr_t __ovld atomic_fetch_sub(volatile atomic_uintptr_t *object, ptrdiff_t operand);
|
/external/jemalloc/include/jemalloc/internal/ |
D | atomic.h | 140 return (atomic_fetch_sub(a, x) - x); in atomic_sub_uint64() 364 return (atomic_fetch_sub(a, x) - x); in atomic_sub_uint32()
|
/external/libcxx/include/ |
D | atomic | 387 atomic_fetch_sub(volatile atomic<Integral>* obj, Integral op) noexcept; 391 atomic_fetch_sub(atomic<Integral>* obj, Integral op) noexcept; 468 atomic_fetch_sub(volatile atomic<T*>* obj, ptrdiff_t op) noexcept; 472 atomic_fetch_sub(atomic<T*>* obj, ptrdiff_t op) noexcept; 1477 // atomic_fetch_sub 1486 atomic_fetch_sub(volatile atomic<_Tp>* __o, _Tp __op) _NOEXCEPT 1498 atomic_fetch_sub(atomic<_Tp>* __o, _Tp __op) _NOEXCEPT 1506 atomic_fetch_sub(volatile atomic<_Tp*>* __o, ptrdiff_t __op) _NOEXCEPT 1514 atomic_fetch_sub(atomic<_Tp*>* __o, ptrdiff_t __op) _NOEXCEPT
|
/external/v8/src/wasm/ |
D | wasm-interpreter.cc | 1544 ATOMIC_BINOP_CASE(I32AtomicSub, uint32_t, uint32_t, atomic_fetch_sub); in ExecuteAtomicOp() 1545 ATOMIC_BINOP_CASE(I32AtomicSub8U, uint8_t, uint32_t, atomic_fetch_sub); in ExecuteAtomicOp() 1546 ATOMIC_BINOP_CASE(I32AtomicSub16U, uint16_t, uint32_t, atomic_fetch_sub); in ExecuteAtomicOp() 1565 ATOMIC_BINOP_CASE(I64AtomicSub, uint64_t, uint64_t, atomic_fetch_sub); in ExecuteAtomicOp() 1566 ATOMIC_BINOP_CASE(I64AtomicSub8U, uint8_t, uint64_t, atomic_fetch_sub); in ExecuteAtomicOp() 1567 ATOMIC_BINOP_CASE(I64AtomicSub16U, uint16_t, uint64_t, atomic_fetch_sub); in ExecuteAtomicOp() 1568 ATOMIC_BINOP_CASE(I64AtomicSub32U, uint32_t, uint64_t, atomic_fetch_sub); in ExecuteAtomicOp()
|
/external/clang/test/Sema/ |
D | atomic-ops.c | 246 k = atomic_fetch_sub(&n, k); in f()
|