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

1 2 3 4 5

  /external/libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/
atomic_fetch_add.pass.cpp 17 // atomic_fetch_add(volatile atomic<Integral>* obj, Integral op);
21 // atomic_fetch_add(atomic<Integral>* obj, Integral op);
25 // atomic_fetch_add(volatile atomic<T*>* obj, ptrdiff_t op);
29 // atomic_fetch_add(atomic<T*>* obj, ptrdiff_t op);
43 assert(std::atomic_fetch_add(&t, T(2)) == T(1));
50 assert(std::atomic_fetch_add(&t, T(2)) == T(1));
64 assert(std::atomic_fetch_add(&t, 2) == T(1*sizeof(X)));
72 assert(std::atomic_fetch_add(&t, 2) == T(1*sizeof(X)));
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/atomics/atomics.types.operations/atomics.types.operations.req/
atomic_fetch_add.pass.cpp 14 // atomic_fetch_add(volatile atomic<Integral>* obj, Integral op);
18 // atomic_fetch_add(atomic<Integral>* obj, Integral op);
22 // atomic_fetch_add(volatile atomic<T*>* obj, ptrdiff_t op);
26 // atomic_fetch_add(atomic<T*>* obj, ptrdiff_t op);
40 assert(std::atomic_fetch_add(&t, T(2)) == T(1));
47 assert(std::atomic_fetch_add(&t, T(2)) == T(1));
61 assert(std::atomic_fetch_add(&t, 2) == T(1*sizeof(X)));
69 assert(std::atomic_fetch_add(&t, 2) == T(1*sizeof(X)));
  /external/compiler-rt/lib/tsan/rtl/
tsan_suppressions.cc 105 atomic_fetch_add(&(*sp)->hit_count, 1, memory_order_relaxed);
143 atomic_fetch_add(&s->hit_count, 1, memory_order_relaxed);
  /external/compiler-rt/lib/sanitizer_common/
sanitizer_atomic_clang.h 47 INLINE typename T::Type atomic_fetch_add(volatile T *a, function in namespace:__sanitizer
sanitizer_atomic_msvc.h 111 INLINE u32 atomic_fetch_add(volatile atomic_uint32_t *a, function in namespace:__sanitizer
119 INLINE uptr atomic_fetch_add(volatile atomic_uintptr_t *a, function in namespace:__sanitizer
sanitizer_mutex.h 118 u32 prev = atomic_fetch_add(&state_, kReadLock, memory_order_acquire);
sanitizer_stackdepot.cc 97 atomic_fetch_add(&node_->hash_and_use_count, 1, memory_order_relaxed) &
sanitizer_stackdepotbase.h 119 u32 id = atomic_fetch_add(&seq[part], 1, memory_order_relaxed) + 1;
sanitizer_tls_get_addr.cc 60 atomic_fetch_add(&number_of_live_dtls, 1, memory_order_relaxed);
  /bionic/tests/
stdatomic_test.cpp 139 TEST(stdatomic, atomic_fetch_add) {
141 ASSERT_EQ(123, atomic_fetch_add(&i, 1));
  /external/libcxx/include/
atomic 364 atomic_fetch_add(volatile atomic<Integral>* obj, Integral op) noexcept;
368 atomic_fetch_add(atomic<Integral>* obj, Integral op) noexcept;
445 atomic_fetch_add(volatile atomic<T*>* obj, ptrdiff_t op) noexcept;
449 atomic_fetch_add(atomic<T*>* obj, ptrdiff_t op) noexcept;
733 // atomic_fetch_add. Force a failure rather than creating bad behavior.
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/include/
atomic 364 atomic_fetch_add(volatile atomic<Integral>* obj, Integral op) noexcept;
368 atomic_fetch_add(atomic<Integral>* obj, Integral op) noexcept;
445 atomic_fetch_add(volatile atomic<T*>* obj, ptrdiff_t op) noexcept;
449 atomic_fetch_add(atomic<T*>* obj, ptrdiff_t op) noexcept;
730 // atomic_fetch_add. Force a failure rather than creating bad behavior.
    [all...]
  /prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/libcxx/include/
atomic 364 atomic_fetch_add(volatile atomic<Integral>* obj, Integral op) noexcept;
368 atomic_fetch_add(atomic<Integral>* obj, Integral op) noexcept;
445 atomic_fetch_add(volatile atomic<T*>* obj, ptrdiff_t op) noexcept;
449 atomic_fetch_add(atomic<T*>* obj, ptrdiff_t op) noexcept;
730 // atomic_fetch_add. Force a failure rather than creating bad behavior.
    [all...]
  /external/jemalloc/include/jemalloc/internal/
atomic.h 133 return (atomic_fetch_add(a, x) + x);
357 return (atomic_fetch_add(a, x) + x);
  /external/clang/lib/Headers/
stdatomic.h 146 #define atomic_fetch_add(object, operand) __c11_atomic_fetch_add(object, operand, __ATOMIC_SEQ_CST) macro
  /external/compiler-rt/lib/tsan/dd/
dd_rtl.cc 102 uptr id = atomic_fetch_add(&id_gen, 1, memory_order_relaxed);
  /prebuilts/gcc/darwin-x86/aarch64/aarch64-linux-android-4.9/lib/gcc/aarch64-linux-android/4.9/include/
stdatomic.h 206 #define atomic_fetch_add(PTR, VAL) __atomic_fetch_add ((PTR), (VAL), \ macro
  /prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.9/lib/gcc/arm-linux-androideabi/4.9/include/
stdatomic.h 206 #define atomic_fetch_add(PTR, VAL) __atomic_fetch_add ((PTR), (VAL), \ macro
  /prebuilts/gcc/darwin-x86/mips/mips64el-linux-android-4.9/lib/gcc/mips64el-linux-android/4.9/include/
stdatomic.h 206 #define atomic_fetch_add(PTR, VAL) __atomic_fetch_add ((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 206 #define atomic_fetch_add(PTR, VAL) __atomic_fetch_add ((PTR), (VAL), \ macro
  /prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/lib/gcc/aarch64-linux-android/4.9/include/
stdatomic.h 206 #define atomic_fetch_add(PTR, VAL) __atomic_fetch_add ((PTR), (VAL), \ macro
  /prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/lib/gcc/arm-linux-androideabi/4.9/include/
stdatomic.h 206 #define atomic_fetch_add(PTR, VAL) __atomic_fetch_add ((PTR), (VAL), \ macro
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/x86_64-linux/include/c++/4.8/
atomic 1024 atomic_fetch_add(__atomic_base<_ITp>* __a, _ITp __i) noexcept
1029 atomic_fetch_add(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 1024 atomic_fetch_add(__atomic_base<_ITp>* __a, _ITp __i) noexcept
1029 atomic_fetch_add(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 1024 atomic_fetch_add(__atomic_base<_ITp>* __a, _ITp __i) noexcept
1029 atomic_fetch_add(volatile __atomic_base<_ITp>* __a, _ITp __i) noexcept
    [all...]

Completed in 959 milliseconds

1 2 3 4 5