HomeSort by relevance Sort by last modified time
    Searched refs:atomic (Results 151 - 175 of 3015) sorted by null

1 2 3 4 5 67 8 91011>>

  /prebuilts/go/linux-x86/src/runtime/race/testdata/
atomic_test.go 10 "sync/atomic"
21 if atomic.AddInt64(&s, 1) == 2 {
28 if atomic.AddInt64(&s, 1) == 2 {
43 if atomic.AddInt64(&s, 1) == 1 {
50 if atomic.AddInt64(&s, 1) == 1 {
65 if atomic.AddInt32(&s, 1) == 2 {
72 if atomic.AddInt32(&s, 1) == 2 {
86 atomic.AddInt32(&s, 1)
88 for atomic.LoadInt32(&s) != 1 {
99 atomic.StoreInt32(&s, 1
    [all...]
  /art/test/1905-suspend-native/
native_suspend.cc 17 #include <atomic>
33 std::atomic<bool> done(false);
34 std::atomic<bool> started(false);
  /prebuilts/go/darwin-x86/test/
intrinsic_atomic.go 10 import "sync/atomic"
15 _ = atomic.LoadUint32(&x) // ERROR "intrinsic substitution for LoadUint32"
16 atomic.StoreUint32(&x, 1) // ERROR "intrinsic substitution for StoreUint32"
17 atomic.AddUint32(&x, 1) // ERROR "intrinsic substitution for AddUint32"
18 atomic.SwapUint32(&x, 1) // ERROR "intrinsic substitution for SwapUint32"
19 atomic.CompareAndSwapUint32(&x, 1, 2) // ERROR "intrinsic substitution for CompareAndSwapUint32"
  /prebuilts/go/linux-x86/test/
intrinsic_atomic.go 10 import "sync/atomic"
15 _ = atomic.LoadUint32(&x) // ERROR "intrinsic substitution for LoadUint32"
16 atomic.StoreUint32(&x, 1) // ERROR "intrinsic substitution for StoreUint32"
17 atomic.AddUint32(&x, 1) // ERROR "intrinsic substitution for AddUint32"
18 atomic.SwapUint32(&x, 1) // ERROR "intrinsic substitution for SwapUint32"
19 atomic.CompareAndSwapUint32(&x, 1, 2) // ERROR "intrinsic substitution for CompareAndSwapUint32"
  /external/libcxx/test/std/atomics/atomics.flag/
copy_assign.fail.cpp 10 // <atomic>
16 #include <atomic>
copy_volatile_assign.fail.cpp 10 // <atomic>
16 #include <atomic>
  /external/libcxx/test/support/
cmpxchg_loop.h 10 #include <atomic>
13 bool cmpxchg_weak_loop(A& atomic, T& expected, T desired) {
15 if (atomic.compare_exchange_weak(expected, desired) == true) {
24 bool cmpxchg_weak_loop(A& atomic, T& expected, T desired,
28 if (atomic.compare_exchange_weak(expected, desired, success,
38 bool c_cmpxchg_weak_loop(A* atomic, T* expected, T desired) {
40 if (std::atomic_compare_exchange_weak(atomic, expected, desired) == true) {
49 bool c_cmpxchg_weak_loop(A* atomic, T* expected, T desired,
53 if (std::atomic_compare_exchange_weak_explicit(atomic, expected, desired,
  /prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/atomics/atomics.flag/
copy_assign.fail.cpp 10 // <atomic>
16 #include <atomic>
copy_volatile_assign.fail.cpp 10 // <atomic>
16 #include <atomic>
  /prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/atomics/atomics.flag/
copy_assign.fail.cpp 10 // <atomic>
16 #include <atomic>
copy_volatile_assign.fail.cpp 10 // <atomic>
16 #include <atomic>
  /prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/support/
cmpxchg_loop.h 10 #include <atomic>
13 bool cmpxchg_weak_loop(A& atomic, T& expected, T desired) {
15 if (atomic.compare_exchange_weak(expected, desired) == true) {
24 bool cmpxchg_weak_loop(A& atomic, T& expected, T desired,
28 if (atomic.compare_exchange_weak(expected, desired, success,
38 bool c_cmpxchg_weak_loop(A* atomic, T* expected, T desired) {
40 if (std::atomic_compare_exchange_weak(atomic, expected, desired) == true) {
49 bool c_cmpxchg_weak_loop(A* atomic, T* expected, T desired,
53 if (std::atomic_compare_exchange_weak_explicit(atomic, expected, desired,
  /toolchain/binutils/binutils-2.25/gas/testsuite/gas/xc16x/
syscontrol2.s 8 atomic #0x4
9 atomic #0x3
10 atomic #0x2
11 atomic #0x1
  /bionic/linker/
linker_sdk_versions.cpp 31 #include <atomic>
33 static std::atomic<uint32_t> g_target_sdk_version(__ANDROID_API__);
  /external/libcxx/test/std/atomics/atomics.types.generic/
trivially_copyable.fail.cpp 10 // <atomic>
13 // struct atomic
41 // atomic() noexcept = default;
42 // constexpr atomic(T desr) noexcept;
43 // atomic(const atomic&) = delete;
44 // atomic& operator=(const atomic&) = delete;
45 // atomic& operator=(const atomic&) volatile = delete
    [all...]
trivially_copyable.pass.cpp 12 // NOTE: atomic<> of a TriviallyCopyable class is wrongly rejected by older
16 // <atomic>
19 // struct atomic
47 // atomic() noexcept = default;
48 // constexpr atomic(T desr) noexcept;
49 // atomic(const atomic&) = delete;
50 // atomic& operator=(const atomic&) = delete;
51 // atomic& operator=(const atomic&) volatile = delete
    [all...]
  /external/libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/
atomic_init.pass.cpp 13 // <atomic>
17 // atomic_init(volatile atomic<T>* obj, T desr);
21 // atomic_init(atomic<T>* obj, T desr);
23 #include <atomic>
32 typedef std::atomic<T> A;
atomic_store.pass.cpp 12 // <atomic>
16 // atomic_store(volatile atomic<T>* obj, T desr);
20 // atomic_store(atomic<T>* obj, T desr);
22 #include <atomic>
31 typedef std::atomic<T> A;
  /external/skia/include/private/
SkSpinlock.h 12 #include <atomic>
44 std::atomic<bool> fLocked{false};
  /prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/atomics/atomics.types.generic/
trivially_copyable.fail.cpp 10 // <atomic>
13 // struct atomic
41 // atomic() noexcept = default;
42 // constexpr atomic(T desr) noexcept;
43 // atomic(const atomic&) = delete;
44 // atomic& operator=(const atomic&) = delete;
45 // atomic& operator=(const atomic&) volatile = delete
    [all...]
trivially_copyable.pass.cpp 12 // NOTE: atomic<> of a TriviallyCopyable class is wrongly rejected by older
16 // <atomic>
19 // struct atomic
47 // atomic() noexcept = default;
48 // constexpr atomic(T desr) noexcept;
49 // atomic(const atomic&) = delete;
50 // atomic& operator=(const atomic&) = delete;
51 // atomic& operator=(const atomic&) volatile = delete
    [all...]
  /prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/atomics/atomics.types.operations/atomics.types.operations.req/
atomic_init.pass.cpp 13 // <atomic>
17 // atomic_init(volatile atomic<T>* obj, T desr);
21 // atomic_init(atomic<T>* obj, T desr);
23 #include <atomic>
32 typedef std::atomic<T> A;
atomic_store.pass.cpp 12 // <atomic>
16 // atomic_store(volatile atomic<T>* obj, T desr);
20 // atomic_store(atomic<T>* obj, T desr);
22 #include <atomic>
31 typedef std::atomic<T> A;
  /art/test/1908-suspend-native-resume-self/
native_suspend_resume.cc 17 #include <atomic>
33 std::atomic<bool> done(false);
34 std::atomic<bool> started(false);
35 std::atomic<bool> resumed(false);
36 std::atomic<bool> resuming(false);
  /frameworks/av/media/libaaudio/src/fifo/
FifoControllerIndirect.h 21 #include <atomic>
41 , mReadCounterAddress((std::atomic<fifo_counter_t> *) readCounterAddress)
42 , mWriteCounterAddress((std::atomic<fifo_counter_t> *) writeCounterAddress)
67 std::atomic<fifo_counter_t> * mReadCounterAddress;
68 std::atomic<fifo_counter_t> * mWriteCounterAddress;

Completed in 654 milliseconds

1 2 3 4 5 67 8 91011>>