Searched refs:atomic_fetch_sub (Results 1 – 13 of 13) sorted by relevance
/external/libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/ |
D | atomic_fetch_sub.pass.cpp | 43 assert(std::atomic_fetch_sub(&t, T(2)) == T(3)); in test() 50 assert(std::atomic_fetch_sub(&t, T(2)) == T(3)); in test() 64 assert(std::atomic_fetch_sub(&t, 2) == T(3*sizeof(X))); in testp() 72 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 | 132 INLINE u32 atomic_fetch_sub(volatile atomic_uint32_t *a, in atomic_fetch_sub() function 140 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 | 379 atomic_fetch_sub(&g_total_mmaped, size, memory_order_relaxed); in DecreaseTotalMmap()
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_mutex.cc | 249 uptr prev = atomic_fetch_sub(&state_, kWriteLock, memory_order_release); in Unlock() 276 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
|
/external/libcxx/include/ |
D | atomic | 380 atomic_fetch_sub(volatile atomic<Integral>* obj, Integral op) noexcept; 384 atomic_fetch_sub(atomic<Integral>* obj, Integral op) noexcept; 461 atomic_fetch_sub(volatile atomic<T*>* obj, ptrdiff_t op) noexcept; 465 atomic_fetch_sub(atomic<T*>* obj, ptrdiff_t op) noexcept; 1382 // atomic_fetch_sub 1391 atomic_fetch_sub(volatile atomic<_Tp>* __o, _Tp __op) _NOEXCEPT 1403 atomic_fetch_sub(atomic<_Tp>* __o, _Tp __op) _NOEXCEPT 1411 atomic_fetch_sub(volatile atomic<_Tp*>* __o, ptrdiff_t __op) _NOEXCEPT 1419 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 | 131 if (atomic_fetch_sub(&buf->ref, 1) > 1) in ReleaseBuffer()
|
/external/clang/test/Sema/ |
D | atomic-ops.c | 237 k = atomic_fetch_sub(&n, k); in f()
|