/external/clang/test/Sema/ |
D | atomic-ops.c | 123 __atomic_load(s1, s2, memory_order_acquire); in f() 212 …__c11_atomic_load(ci, memory_order_acquire); // expected-error {{address argument to atomic operat… in f() 242 atomic_compare_exchange_weak_explicit(&n, &k, k, memory_order_seq_cst, memory_order_acquire); in f() 250 k = atomic_fetch_add_explicit(&n, k, memory_order_acquire); in f() 282 (void)__c11_atomic_load(Ap, memory_order_acquire); in memory_checks() 292 …(void)__c11_atomic_store(Ap, val, memory_order_acquire); // expected-warning {{memory order argume… in memory_checks() 299 (void)__c11_atomic_fetch_add(Ap, 1, memory_order_acquire); in memory_checks() 317 (void)__c11_atomic_fetch_sub(Ap, val, memory_order_acquire); in memory_checks() 324 (void)__c11_atomic_fetch_and(Ap, val, memory_order_acquire); in memory_checks() 331 (void)__c11_atomic_fetch_or(Ap, val, memory_order_acquire); in memory_checks() [all …]
|
/external/clang/test/CodeGen/ |
D | atomic-ops.c | 125 …eturn __c11_atomic_compare_exchange_strong(i, &cmp, 1, memory_order_acquire, memory_order_acquire); in fi4() 137 …return __atomic_compare_exchange(i, &cmp, &desired, 0, memory_order_acquire, memory_order_acquire); in fi4a() 148 return __atomic_compare_exchange_n(i, &cmp, 1, 1, memory_order_acquire, memory_order_acquire); in fi4b() 163 …eturn __c11_atomic_compare_exchange_strong(i, ptr2, 1, memory_order_acquire, memory_order_acquire); in fi4d() 313 __atomic_test_and_set(&flag2, memory_order_acquire); in test_and_set() 451 __c11_atomic_compare_exchange_strong(ptr, ptr2, 43, memory_order_acquire, memory_order_relaxed); in failureOrder() 454 __c11_atomic_compare_exchange_weak(ptr, ptr2, 43, memory_order_seq_cst, memory_order_acquire); in failureOrder()
|
D | big-atomic-ops.c | 13 memory_order_relaxed, memory_order_consume, memory_order_acquire, enumerator 96 …eturn __c11_atomic_compare_exchange_strong(i, &cmp, 1, memory_order_acquire, memory_order_acquire); in fi4() 104 …return __atomic_compare_exchange(i, &cmp, &desired, 0, memory_order_acquire, memory_order_acquire); in fi4a() 111 return __atomic_compare_exchange_n(i, &cmp, 1, 1, memory_order_acquire, memory_order_acquire); in fi4b() 184 __atomic_test_and_set(&flag2, memory_order_acquire); in test_and_set()
|
/external/libcxx/test/libcxx/atomics/ |
D | diagnose_invalid_memory_order.fail.cpp | 37 x.load(std::memory_order_acquire); in main() 48 std::atomic_load_explicit(&x, std::memory_order_acquire); in main() 54 …x.store(42, std::memory_order_acquire); // expected-warning {{memory order argument to atomic oper… in main() 57 …vx.store(42, std::memory_order_acquire); // expected-warning {{memory order argument to atomic ope… in main() 66 …std::atomic_store_explicit(&x, 42, std::memory_order_acquire); // expected-warning {{memory order … in main() 69 …std::atomic_store_explicit(&vx, 42, std::memory_order_acquire); // expected-warning {{memory order… in main() 85 x.compare_exchange_weak(val1, val2, std::memory_order_seq_cst, std::memory_order_acquire); in main() 99 …pare_exchange_weak_explicit(&x, &val1, val2, std::memory_order_seq_cst, std::memory_order_acquire); in main() 111 x.compare_exchange_strong(val1, val2, std::memory_order_seq_cst, std::memory_order_acquire); in main() 125 …re_exchange_strong_explicit(&x, &val1, val2, std::memory_order_seq_cst, std::memory_order_acquire); in main()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_mutex.h | 36 return atomic_exchange(&state_, 1, memory_order_acquire) == 0; in TryLock() 57 && atomic_exchange(&state_, 1, memory_order_acquire) == 0) in LockSlow() 106 memory_order_acquire)) in Lock() 118 u32 prev = atomic_fetch_add(&state_, kReadLock, memory_order_acquire); in ReadLock() 153 memory_order_acquire)) in LockSlow() 164 u32 prev = atomic_load(&state_, memory_order_acquire); in ReadLockSlow()
|
D | sanitizer_persistent_allocator.h | 38 uptr cmp = atomic_load(®ion_pos, memory_order_acquire); in tryAlloc() 39 uptr end = atomic_load(®ion_end, memory_order_acquire); in tryAlloc() 42 memory_order_acquire)) in tryAlloc()
|
D | sanitizer_lfstack.h | 49 u64 cmp = atomic_load(&head_, memory_order_acquire); in Pop() 58 memory_order_acquire)) in Pop()
|
D | sanitizer_atomic_clang_other.h | 28 | memory_order_acquire | memory_order_seq_cst)); in atomic_load() 42 } else if (mo == memory_order_acquire) { in atomic_load()
|
D | sanitizer_atomic_clang_x86.h | 31 | memory_order_acquire | memory_order_seq_cst)); in atomic_load() 45 } else if (mo == memory_order_acquire) { in atomic_load()
|
/external/eigen/unsupported/Eigen/CXX11/src/ThreadPool/ |
D | RunQueue.h | 59 !e->state.compare_exchange_strong(s, kBusy, std::memory_order_acquire)) in PushFront() 74 !e->state.compare_exchange_strong(s, kBusy, std::memory_order_acquire)) in PopFront() 91 !e->state.compare_exchange_strong(s, kBusy, std::memory_order_acquire)) in PushBack() 110 !e->state.compare_exchange_strong(s, kBusy, std::memory_order_acquire)) in PopBack() 136 std::memory_order_acquire)) in PopBackHalf() 160 unsigned front = front_.load(std::memory_order_acquire); in Size() 161 unsigned back = back_.load(std::memory_order_acquire); in Size()
|
/external/protobuf/src/google/protobuf/stubs/ |
D | atomicops_internals_pnacl.h | 100 std::memory_order_acquire, in Acquire_CompareAndSwap() 101 std::memory_order_acquire); in Acquire_CompareAndSwap() 134 return ((AtomicLocation32)ptr)->load(std::memory_order_acquire); in Acquire_Load() 183 std::memory_order_acquire, in Acquire_CompareAndSwap() 184 std::memory_order_acquire); in Acquire_CompareAndSwap() 217 return ((AtomicLocation64)ptr)->load(std::memory_order_acquire); in Acquire_Load()
|
/external/libchrome/base/ |
D | atomicops_internals_portable.h | 100 std::memory_order_acquire, in Acquire_CompareAndSwap() 101 std::memory_order_acquire); in Acquire_CompareAndSwap() 134 return ((AtomicLocation32)ptr)->load(std::memory_order_acquire); in Acquire_Load() 183 std::memory_order_acquire, in Acquire_CompareAndSwap() 184 std::memory_order_acquire); in Acquire_CompareAndSwap() 217 return ((AtomicLocation64)ptr)->load(std::memory_order_acquire); in Acquire_Load()
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_atomic_test.cc | 57 CheckStoreLoad<atomic_uint8_t, memory_order_acquire, memory_order_relaxed>(); in TEST() 63 CheckStoreLoad<atomic_uint16_t, memory_order_acquire, memory_order_relaxed>(); in TEST() 69 CheckStoreLoad<atomic_uint32_t, memory_order_acquire, memory_order_relaxed>(); in TEST() 75 CheckStoreLoad<atomic_uint64_t, memory_order_acquire, memory_order_relaxed>(); in TEST() 83 CheckStoreLoad<atomic_uintptr_t, memory_order_acquire, memory_order_relaxed> in TEST()
|
/external/libcxx/test/std/atomics/atomics.flag/ |
D | test_and_set.pass.cpp | 45 assert(f.test_and_set(std::memory_order_acquire) == 0); in main() 46 assert(f.test_and_set(std::memory_order_acquire) == 1); in main() 87 assert(f.test_and_set(std::memory_order_acquire) == 0); in main() 88 assert(f.test_and_set(std::memory_order_acquire) == 1); in main()
|
D | atomic_flag_test_and_set_explicit.pass.cpp | 39 assert(atomic_flag_test_and_set_explicit(&f, std::memory_order_acquire) == 0); in main() 75 assert(atomic_flag_test_and_set_explicit(&f, std::memory_order_acquire) == 0); in main()
|
/external/libchrome/base/metrics/ |
D | persistent_memory_allocator.cc | 200 uint32_t count = record_count_.load(std::memory_order_acquire); in GetNext() 202 Reference last = last_record_.load(std::memory_order_acquire); in GetNext() 221 next = block->next.load(std::memory_order_acquire); in GetNext() 237 last, next, std::memory_order_acq_rel, std::memory_order_acquire)) { in GetNext() 560 from_type_id, kTypeIdTransitioning, std::memory_order_acquire, in ChangeType() 561 std::memory_order_acquire)) { in ChangeType() 597 std::memory_order_acquire); in ChangeType() 642 shared_meta()->freeptr.load(std::memory_order_acquire); in AllocateImpl() 678 std::memory_order_acquire)) { in AllocateImpl() 703 std::memory_order_acquire)) { in AllocateImpl() [all …]
|
/external/skia/include/private/ |
D | SkSpinlock.h | 20 if (fLocked.exchange(true, std::memory_order_acquire)) { in acquire() 29 if (fLocked.exchange(true, std::memory_order_acquire)) { in tryAcquire()
|
D | SkOnce.h | 26 auto state = fState.load(std::memory_order_acquire); in operator() 43 while (fState.load(std::memory_order_acquire) != Done) { /*spin*/ } in operator()
|
/external/skqp/include/private/ |
D | SkSpinlock.h | 20 if (fLocked.exchange(true, std::memory_order_acquire)) { in acquire() 29 if (fLocked.exchange(true, std::memory_order_acquire)) { in tryAcquire()
|
D | SkOnce.h | 26 auto state = fState.load(std::memory_order_acquire); in operator() 43 while (fState.load(std::memory_order_acquire) != Done) { /*spin*/ } in operator()
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_mutex.cc | 233 memory_order_acquire)) in Lock() 239 memory_order_acquire)) { in Lock() 262 uptr prev = atomic_fetch_add(&state_, kReadLock, memory_order_acquire); in ReadLock() 266 prev = atomic_load(&state_, memory_order_acquire); in ReadLock()
|
/external/pdfium/third_party/base/allocator/partition_allocator/ |
D | spin_lock.cc | 72 LIKELY(!lock_.exchange(true, std::memory_order_acquire))) in LockSlow() 79 } while (UNLIKELY(lock_.exchange(true, std::memory_order_acquire))); in LockSlow()
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | ManagedStatic.h | 67 void *Tmp = Ptr.load(std::memory_order_acquire); 77 void *Tmp = Ptr.load(std::memory_order_acquire);
|
/external/llvm/include/llvm/Support/ |
D | ManagedStatic.h | 66 void *Tmp = Ptr.load(std::memory_order_acquire); 76 void *Tmp = Ptr.load(std::memory_order_acquire);
|
/external/libcxx/test/std/atomics/atomics.types.generic/ |
D | bool.pass.cpp | 78 assert(obj.load(std::memory_order_acquire) == true); in main() 133 assert(obj.load(std::memory_order_acquire) == true); in main() 188 assert(obj.load(std::memory_order_acquire) == true); in main()
|