/external/libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/ |
atomic_fetch_sub.pass.cpp | 17 // atomic_fetch_sub(volatile atomic<Integral>* obj, Integral op); 21 // atomic_fetch_sub(atomic<Integral>* obj, Integral op); 25 // atomic_fetch_sub(volatile atomic<T*>* obj, ptrdiff_t op); 29 // atomic_fetch_sub(atomic<T*>* obj, ptrdiff_t op); 43 assert(std::atomic_fetch_sub(&t, T(2)) == T(3)); 50 assert(std::atomic_fetch_sub(&t, T(2)) == T(3)); 64 assert(std::atomic_fetch_sub(&t, 2) == T(3*sizeof(X))); 72 assert(std::atomic_fetch_sub(&t, 2) == T(3*sizeof(X)));
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/atomics/atomics.types.operations/atomics.types.operations.req/ |
atomic_fetch_sub.pass.cpp | 14 // atomic_fetch_sub(volatile atomic<Integral>* obj, Integral op); 18 // atomic_fetch_sub(atomic<Integral>* obj, Integral op); 22 // atomic_fetch_sub(volatile atomic<T*>* obj, ptrdiff_t op); 26 // atomic_fetch_sub(atomic<T*>* obj, ptrdiff_t op); 40 assert(std::atomic_fetch_sub(&t, T(2)) == T(3)); 47 assert(std::atomic_fetch_sub(&t, T(2)) == T(3)); 61 assert(std::atomic_fetch_sub(&t, 2) == T(3*sizeof(X))); 69 assert(std::atomic_fetch_sub(&t, 2) == T(3*sizeof(X)));
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_mutex.h | 112 u32 prev = atomic_fetch_sub(&state_, kWriteLock, memory_order_release); 125 u32 prev = atomic_fetch_sub(&state_, kReadLock, memory_order_release);
|
sanitizer_atomic_clang.h | 55 INLINE typename T::Type atomic_fetch_sub(volatile T *a, function in namespace:__sanitizer
|
sanitizer_atomic_msvc.h | 123 INLINE u32 atomic_fetch_sub(volatile atomic_uint32_t *a, function in namespace:__sanitizer 131 INLINE uptr atomic_fetch_sub(volatile atomic_uintptr_t *a, function in namespace:__sanitizer
|
sanitizer_tls_get_addr.cc | 50 atomic_fetch_sub(&number_of_live_dtls, 1, memory_order_relaxed);
|
/prebuilts/ndk/5/sources/cxx-stl/gnu-libstdc++/include/bits/ |
atomicfwd_c.h | 155 #define atomic_fetch_sub(__a, __m) \ macro
|
/prebuilts/ndk/6/sources/cxx-stl/gnu-libstdc++/include/bits/ |
atomicfwd_c.h | 155 #define atomic_fetch_sub(__a, __m) \ macro
|
/prebuilts/ndk/7/sources/cxx-stl/gnu-libstdc++/include/bits/ |
atomicfwd_c.h | 155 #define atomic_fetch_sub(__a, __m) \ macro
|
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.4.3/include/bits/ |
atomicfwd_c.h | 155 #define atomic_fetch_sub(__a, __m) \ macro
|
/bionic/tests/ |
stdatomic_test.cpp | 146 TEST(stdatomic, atomic_fetch_sub) { 148 ASSERT_EQ(123, atomic_fetch_sub(&i, 1));
|
/external/compiler-rt/lib/tsan/rtl/ |
tsan_mutex.cc | 247 uptr prev = atomic_fetch_sub(&state_, kWriteLock, memory_order_release); 274 uptr prev = atomic_fetch_sub(&state_, kReadLock, memory_order_release);
|
/external/libcxx/include/ |
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; [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/ |
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; [all...] |
/prebuilts/ndk/9/sources/cxx-stl/llvm-libc++/libcxx/include/ |
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; [all...] |
/external/jemalloc/include/jemalloc/internal/ |
atomic.h | 140 return (atomic_fetch_sub(a, x) - x); 364 return (atomic_fetch_sub(a, x) - x);
|
/external/clang/lib/Headers/ |
stdatomic.h | 149 #define atomic_fetch_sub(object, operand) __c11_atomic_fetch_sub(object, operand, __ATOMIC_SEQ_CST) macro
|
/external/drm_hwcomposer/ |
nvimporter.cpp | 130 if (atomic_fetch_sub(&buf->ref, 1) > 1)
|
/prebuilts/gcc/darwin-x86/aarch64/aarch64-linux-android-4.9/lib/gcc/aarch64-linux-android/4.9.x-google/include/ |
stdatomic.h | 211 #define atomic_fetch_sub(PTR, VAL) __atomic_fetch_sub ((PTR), (VAL), \ macro
|
/prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.9/lib/gcc/arm-linux-androideabi/4.9.x-google/include/ |
stdatomic.h | 211 #define atomic_fetch_sub(PTR, VAL) __atomic_fetch_sub ((PTR), (VAL), \ macro
|
/prebuilts/gcc/darwin-x86/mips/mips64el-linux-android-4.9/lib/gcc/mips64el-linux-android/4.9/include/ |
stdatomic.h | 211 #define atomic_fetch_sub(PTR, VAL) __atomic_fetch_sub ((PTR), (VAL), \ macro
|
/prebuilts/gcc/darwin-x86/x86/x86_64-linux-android-4.9/lib/gcc/x86_64-linux-android/4.9/include/ |
stdatomic.h | 211 #define atomic_fetch_sub(PTR, VAL) __atomic_fetch_sub ((PTR), (VAL), \ macro
|
/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/lib/gcc/aarch64-linux-android/4.9.x-google/include/ |
stdatomic.h | 211 #define atomic_fetch_sub(PTR, VAL) __atomic_fetch_sub ((PTR), (VAL), \ macro
|
/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/lib/gcc/arm-linux-androideabi/4.9.x-google/include/ |
stdatomic.h | 211 #define atomic_fetch_sub(PTR, VAL) __atomic_fetch_sub ((PTR), (VAL), \ macro
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/x86_64-linux/include/c++/4.8/ |
atomic | 1034 atomic_fetch_sub(__atomic_base<_ITp>* __a, _ITp __i) noexcept 1039 atomic_fetch_sub(volatile __atomic_base<_ITp>* __a, _ITp __i) noexcept [all...] |