Searched refs:atomic_fetch_sub (Results 1 – 14 of 14) sorted by relevance
/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/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; 1464 // atomic_fetch_sub 1473 atomic_fetch_sub(volatile atomic<_Tp>* __o, _Tp __op) _NOEXCEPT 1485 atomic_fetch_sub(atomic<_Tp>* __o, _Tp __op) _NOEXCEPT 1493 atomic_fetch_sub(volatile atomic<_Tp*>* __o, ptrdiff_t __op) _NOEXCEPT 1501 atomic_fetch_sub(atomic<_Tp*>* __o, ptrdiff_t __op) _NOEXCEPT
|
/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/drm_hwcomposer/ |
D | platformnv.cpp | 132 if (atomic_fetch_sub(&buf->ref, 1) > 1) in ReleaseBuffer()
|
/external/clang/test/Sema/ |
D | atomic-ops.c | 246 k = atomic_fetch_sub(&n, k); in f()
|