/external/clang/test/Sema/ |
D | atomic-ops.c | 132 __atomic_store_n(I, 4, memory_order_release); in f() 133 __atomic_store_n(I, 4.0, memory_order_release); in f() 134 …__atomic_store_n(CI, 4, memory_order_release); // expected-error {{address argument to atomic oper… in f() 135 __atomic_store_n(I, P, memory_order_release); // expected-warning {{parameter of type 'int'}} in f() 136 …__atomic_store_n(i, 1, memory_order_release); // expected-error {{must be a pointer to integer or … in f() 137 …__atomic_store_n(s1, *s2, memory_order_release); // expected-error {{must be a pointer to integer … in f() 138 …__atomic_store_n(I, I, memory_order_release); // expected-warning {{incompatible pointer to intege… in f() 140 __atomic_store(I, *P, memory_order_release); in f() 141 …__atomic_store(CI, I, memory_order_release); // expected-error {{address argument to atomic operat… in f() 142 __atomic_store(s1, s2, memory_order_release); in f() [all …]
|
/external/libcxx/test/libcxx/atomics/ |
D | diagnose_invalid_memory_order.fail.cpp | 30 …x.load(std::memory_order_release); // expected-warning {{memory order argument to atomic operation… in main() 32 …vx.load(std::memory_order_release); // expected-warning {{memory order argument to atomic operatio… in main() 41 …std::atomic_load_explicit(&x, std::memory_order_release); // expected-warning {{memory order argum… in main() 43 …std::atomic_load_explicit(&vx, std::memory_order_release); // expected-warning {{memory order argu… in main() 61 x.store(42, std::memory_order_release); in main() 73 std::atomic_store_explicit(&x, 42, std::memory_order_release); in main() 78 …x.compare_exchange_weak(val1, val2, std::memory_order_seq_cst, std::memory_order_release); // expe… in main() 80 …vx.compare_exchange_weak(val1, val2, std::memory_order_seq_cst, std::memory_order_release); // exp… in main() 89 x.compare_exchange_weak(val1, val2, std::memory_order_release); in main() 92 …ge_weak_explicit(&x, &val1, val2, std::memory_order_seq_cst, std::memory_order_release); // expect… in main() [all …]
|
/external/libcxx/test/std/atomics/atomics.general/ |
D | replace_failure_order.pass.cpp | 33 i.compare_exchange_weak(exp, 0, std::memory_order_release); in main() 35 i.compare_exchange_strong(exp, 0, std::memory_order_release); in main() 38 v.compare_exchange_weak(exp, 0, std::memory_order_release); in main() 40 v.compare_exchange_strong(exp, 0, std::memory_order_release); in main()
|
/external/libcxx/test/std/atomics/atomics.flag/ |
D | atomic_flag_clear_explicit.pass.cpp | 33 atomic_flag_clear_explicit(&f, std::memory_order_release); in main() 35 atomic_flag_clear_explicit(&f, std::memory_order_release); in main() 54 atomic_flag_clear_explicit(&f, std::memory_order_release); in main() 56 atomic_flag_clear_explicit(&f, std::memory_order_release); in main()
|
D | clear.pass.cpp | 40 f.clear(std::memory_order_release); in main() 42 f.clear(std::memory_order_release); in main() 68 f.clear(std::memory_order_release); in main() 70 f.clear(std::memory_order_release); in main()
|
D | test_and_set.pass.cpp | 51 assert(f.test_and_set(std::memory_order_release) == 0); in main() 52 assert(f.test_and_set(std::memory_order_release) == 1); in main() 93 assert(f.test_and_set(std::memory_order_release) == 0); in main() 94 assert(f.test_and_set(std::memory_order_release) == 1); in main()
|
D | atomic_flag_test_and_set_explicit.pass.cpp | 45 assert(atomic_flag_test_and_set_explicit(&f, std::memory_order_release) == 0); in main() 81 assert(atomic_flag_test_and_set_explicit(&f, std::memory_order_release) == 0); in main()
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_atomic_test.cc | 58 CheckStoreLoad<atomic_uint8_t, memory_order_relaxed, memory_order_release>(); in TEST() 64 CheckStoreLoad<atomic_uint16_t, memory_order_relaxed, memory_order_release>(); in TEST() 70 CheckStoreLoad<atomic_uint32_t, memory_order_relaxed, memory_order_release>(); in TEST() 76 CheckStoreLoad<atomic_uint64_t, memory_order_relaxed, memory_order_release>(); in TEST() 85 CheckStoreLoad<atomic_uintptr_t, memory_order_relaxed, memory_order_release> in TEST()
|
/external/eigen/unsupported/Eigen/CXX11/src/ThreadPool/ |
D | RunQueue.h | 63 e->state.store(kReady, std::memory_order_release); in PushFront() 77 e->state.store(kEmpty, std::memory_order_release); in PopFront() 96 e->state.store(kReady, std::memory_order_release); in PushBack() 113 e->state.store(kEmpty, std::memory_order_release); in PopBack() 145 e->state.store(kEmpty, std::memory_order_release); in PopBackHalf()
|
/external/protobuf/src/google/protobuf/stubs/ |
D | atomicops_internals_pnacl.h | 111 std::memory_order_release, in Release_CompareAndSwap() 126 ((AtomicLocation32)ptr)->store(value, std::memory_order_release); in Release_Store() 194 std::memory_order_release, in Release_CompareAndSwap() 209 ((AtomicLocation64)ptr)->store(value, std::memory_order_release); in Release_Store()
|
/external/libchrome/base/ |
D | atomicops_internals_portable.h | 111 std::memory_order_release, in Release_CompareAndSwap() 126 ((AtomicLocation32)ptr)->store(value, std::memory_order_release); in Release_Store() 194 std::memory_order_release, in Release_CompareAndSwap() 209 ((AtomicLocation64)ptr)->store(value, std::memory_order_release); in Release_Store()
|
/external/libchrome/base/metrics/ |
D | persistent_memory_allocator.cc | 174 last_record_.store(kReferenceQueue, std::memory_order_release); in Reset() 264 record_count_.fetch_add(1, std::memory_order_release); in GetNext() 380 std::memory_order_release); in PersistentMemoryAllocator() 385 shared_meta()->queue.next.store(kReferenceQueue, std::memory_order_release); in PersistentMemoryAllocator() 386 shared_meta()->tailptr.store(kReferenceQueue, std::memory_order_release); in PersistentMemoryAllocator() 398 std::memory_order_release); in PersistentMemoryAllocator() 576 data->store(0, std::memory_order_release); in ChangeType() 587 from_type_id, to_type_id, std::memory_order_release, in ChangeType() 749 block->next.store(kReferenceQueue, std::memory_order_release); // New tail. in MakeIterable() 781 std::memory_order_release, in MakeIterable()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_mutex.h | 40 atomic_store(&state_, 0, memory_order_release); in Unlock() 112 u32 prev = atomic_fetch_sub(&state_, kWriteLock, memory_order_release); in Unlock() 125 u32 prev = atomic_fetch_sub(&state_, kReadLock, memory_order_release); in ReadUnlock()
|
D | sanitizer_persistent_allocator.h | 60 atomic_store(®ion_end, mem + allocsz, memory_order_release); in alloc() 61 atomic_store(®ion_pos, mem, memory_order_release); in alloc()
|
D | sanitizer_atomic_clang_other.h | 64 DCHECK(mo & (memory_order_relaxed | memory_order_release in atomic_store() 72 } else if (mo == memory_order_release) { in atomic_store()
|
D | sanitizer_atomic_clang_x86.h | 76 DCHECK(mo & (memory_order_relaxed | memory_order_release in atomic_store() 84 } else if (mo == memory_order_release) { in atomic_store()
|
D | sanitizer_addrhashmap.h | 295 atomic_store(&c->addr, h->addr_, memory_order_release); in release() 300 atomic_store(&c->addr, 0, memory_order_release); in release() 310 atomic_store(&c->addr, addr1, memory_order_release); in release() 311 atomic_store(&c1->addr, 0, memory_order_release); in release()
|
D | sanitizer_quarantine.h | 52 atomic_store(&max_size_, size, memory_order_release); in Init() 54 memory_order_release); // 90% of max size. in Init()
|
/external/skia/src/core/ |
D | SkTaskGroup.cpp | 17 fPending.fetch_add(-1, std::memory_order_release); in add() 27 fPending.fetch_add(-1, std::memory_order_release); in batch()
|
/external/skqp/src/core/ |
D | SkTaskGroup.cpp | 17 fPending.fetch_add(-1, std::memory_order_release); in add() 27 fPending.fetch_add(-1, std::memory_order_release); in batch()
|
/external/clang/test/CodeGen/ |
D | big-atomic-ops.c | 14 memory_order_release, memory_order_acq_rel, memory_order_seq_cst enumerator 123 __c11_atomic_store(d, 1, memory_order_release); in ff2() 186 __atomic_clear(&flag2, memory_order_release); in test_and_set()
|
/external/libcxx/test/std/atomics/atomics.types.generic/ |
D | bool.pass.cpp | 75 obj.store(true, std::memory_order_release); in main() 130 obj.store(true, std::memory_order_release); in main() 185 obj.store(true, std::memory_order_release); in main()
|
/external/compiler-rt/lib/asan/ |
D | asan_thread.cc | 132 atomic_store(&stack_switching_, 1, memory_order_release); in StartSwitchFiber() 157 atomic_store(&stack_switching_, 0, memory_order_release); in FinishSwitchFiber() 219 atomic_store(&stack_switching_, false, memory_order_release); in Init() 238 atomic_store(signal_thread_is_registered, 1, memory_order_release); in ThreadStart()
|
D | asan_stack.cc | 23 atomic_store(&malloc_context_size, size, memory_order_release); in SetMallocContextSize()
|
/external/libcxx/test/std/atomics/atomics.order/ |
D | memory_order.pass.cpp | 28 assert(std::memory_order_release == 3); in main()
|