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

1 2

  /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/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/sdk/renderscript/clang-include/
stdatomic.h 149 #define atomic_fetch_sub(object, operand) __c11_atomic_fetch_sub(object, operand, __ATOMIC_SEQ_CST) macro
  /bionic/libc/include/
stdatomic.h 84 using std::atomic_fetch_sub;
526 #define atomic_fetch_sub(object, operand) \
  /development/ndk/platforms/android-21/include/
stdatomic.h 78 using std::atomic_fetch_sub;
520 #define atomic_fetch_sub(object, operand) \
  /prebuilts/clang/darwin-x86/host/3.6/lib/clang/3.6/include/
stdatomic.h 84 using std::atomic_fetch_sub;
526 #define atomic_fetch_sub(object, operand) \
  /prebuilts/clang/linux-x86/host/3.6/lib/clang/3.6/include/
stdatomic.h 84 using std::atomic_fetch_sub;
526 #define atomic_fetch_sub(object, operand) \
  /prebuilts/ndk/9/platforms/android-21/arch-arm/usr/include/
stdatomic.h 78 using std::atomic_fetch_sub;
520 #define atomic_fetch_sub(object, operand) \
  /prebuilts/ndk/9/platforms/android-21/arch-arm64/usr/include/
stdatomic.h 78 using std::atomic_fetch_sub;
520 #define atomic_fetch_sub(object, operand) \
  /prebuilts/ndk/9/platforms/android-21/arch-mips/usr/include/
stdatomic.h 78 using std::atomic_fetch_sub;
520 #define atomic_fetch_sub(object, operand) \
  /prebuilts/ndk/9/platforms/android-21/arch-mips64/usr/include/
stdatomic.h 78 using std::atomic_fetch_sub;
520 #define atomic_fetch_sub(object, operand) \
  /prebuilts/ndk/9/platforms/android-21/arch-x86/usr/include/
stdatomic.h 78 using std::atomic_fetch_sub;
520 #define atomic_fetch_sub(object, operand) \
  /prebuilts/ndk/9/platforms/android-21/arch-x86_64/usr/include/
stdatomic.h 78 using std::atomic_fetch_sub;
520 #define atomic_fetch_sub(object, operand) \

Completed in 707 milliseconds

1 2