/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); 44 assert(std::atomic_fetch_sub(&t, T(2)) == T(3)); 51 assert(std::atomic_fetch_sub(&t, T(2)) == T(3)); 65 assert(std::atomic_fetch_sub(&t, 2) == T(3*sizeof(X))); 73 assert(std::atomic_fetch_sub(&t, 2) == T(3*sizeof(X)));
|
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/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); 44 assert(std::atomic_fetch_sub(&t, T(2)) == T(3)); 51 assert(std::atomic_fetch_sub(&t, T(2)) == T(3)); 65 assert(std::atomic_fetch_sub(&t, 2) == T(3*sizeof(X))); 73 assert(std::atomic_fetch_sub(&t, 2) == T(3*sizeof(X)));
|
/prebuilts/ndk/r11/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 | 136 INLINE u32 atomic_fetch_sub(volatile atomic_uint32_t *a, function in namespace:__sanitizer 144 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);
|
/bionic/tests/ |
stdatomic_test.cpp | 157 TEST(stdatomic, atomic_fetch_sub) { 159 ASSERT_EQ(123, atomic_fetch_sub(&i, 1));
|
/external/compiler-rt/lib/tsan/rtl/ |
tsan_mutex.cc | 250 uptr prev = atomic_fetch_sub(&state_, kWriteLock, memory_order_release); 277 uptr prev = atomic_fetch_sub(&state_, kReadLock, memory_order_release);
|
/external/libcxx/include/ |
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; [all...] |
/prebuilts/clang/host/darwin-x86/clang-4053586/include/c++/v1/ |
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; [all...] |
/prebuilts/clang/host/linux-x86/clang-4053586/include/c++/v1/ |
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; [all...] |
/prebuilts/ndk/r10/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/r11/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/r13/sources/cxx-stl/llvm-libc++/include/ |
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; [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
|
/prebuilts/gcc/darwin-x86/aarch64/aarch64-linux-android-4.9/lib/gcc/aarch64-linux-android/4.9.x/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/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.x/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.x/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/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/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...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-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...] |