HomeSort by relevance Sort by last modified time
    Searched full:atomic_fetch_sub (Results 1 - 25 of 47) sorted by null

1 2

  /external/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)));
Android.mk 79 test_name := atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_sub
80 test_src := atomic_fetch_sub.pass.cpp
  /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 106 u32 prev = atomic_fetch_sub(&state_, kWriteLock, memory_order_release);
119 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 144 TEST(stdatomic, atomic_fetch_sub) {
146 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/qemu/include/qemu/
atomic.h 189 #define atomic_fetch_sub __sync_fetch_and_sub macro
  /prebuilts/gcc/darwin-x86/aarch64/aarch64-linux-android-4.9/lib/gcc/aarch64-linux-android/4.9/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/linux-x86/aarch64/aarch64-linux-android-4.9/lib/gcc/aarch64-linux-android/4.9/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.6/x86_64-linux/include/c++/4.6/
atomic 966 atomic_fetch_sub(__atomic_base<_ITp>* __a, _ITp __i)
971 atomic_fetch_sub(volatile __atomic_base<_ITp>* __a, _ITp __i)
1042 atomic_fetch_sub(volatile atomic<_ITp*>* __a, ptrdiff_t __d)
1047 atomic_fetch_sub(atomic<_ITp*>* __a, ptrdiff_t __d)
  /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-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/
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/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/linux-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

Completed in 794 milliseconds

1 2