/external/libcxx/test/libcxx/atomics/ |
D | diagnose_invalid_memory_order.fail.cpp | 31 …x.load(std::memory_order_acq_rel); // expected-warning {{memory order argument to atomic operation… in main() 33 …vx.load(std::memory_order_acq_rel); // expected-warning {{memory order argument to atomic operatio… in main() 42 …std::atomic_load_explicit(&x, std::memory_order_acq_rel); // expected-warning {{memory order argum… in main() 44 …std::atomic_load_explicit(&vx, std::memory_order_acq_rel); // expected-warning {{memory order argu… in main() 55 …x.store(42, std::memory_order_acq_rel); // expected-warning {{memory order argument to atomic oper… in main() 58 …vx.store(42, std::memory_order_acq_rel); // expected-warning {{memory order argument to atomic ope… in main() 67 …std::atomic_store_explicit(&x, 42, std::memory_order_acq_rel); // expected-warning {{memory order … in main() 70 …std::atomic_store_explicit(&vx, 42, std::memory_order_acq_rel); // expected-warning {{memory order… in main() 79 …x.compare_exchange_weak(val1, val2, std::memory_order_seq_cst, std::memory_order_acq_rel); // expe… in main() 81 …vx.compare_exchange_weak(val1, val2, std::memory_order_seq_cst, std::memory_order_acq_rel); // exp… in main() [all …]
|
/external/clang/test/Sema/ |
D | atomic-ops.c | 252 k = atomic_fetch_and_explicit(&n, k, memory_order_acq_rel); in f() 285 …(void)__c11_atomic_load(Ap, memory_order_acq_rel); // expected-warning {{memory order argument to … in memory_checks() 295 …(void)__c11_atomic_store(Ap, val, memory_order_acq_rel); // expected-warning {{memory order argume… in memory_checks() 302 (void)__c11_atomic_fetch_add(Ap, 1, memory_order_acq_rel); in memory_checks() 320 (void)__c11_atomic_fetch_sub(Ap, val, memory_order_acq_rel); in memory_checks() 327 (void)__c11_atomic_fetch_and(Ap, val, memory_order_acq_rel); in memory_checks() 334 (void)__c11_atomic_fetch_or(Ap, val, memory_order_acq_rel); in memory_checks() 341 (void)__c11_atomic_fetch_xor(Ap, val, memory_order_acq_rel); in memory_checks() 348 (void)__c11_atomic_exchange(Ap, val, memory_order_acq_rel); in memory_checks() 355 …(void)__c11_atomic_compare_exchange_strong(Ap, p, val, memory_order_acq_rel, memory_order_relaxed); in memory_checks() [all …]
|
/external/libcxx/test/std/atomics/atomics.general/ |
D | replace_failure_order.pass.cpp | 32 i.compare_exchange_weak(exp, 0, std::memory_order_acq_rel); in main() 34 i.compare_exchange_strong(exp, 0, std::memory_order_acq_rel); in main() 37 v.compare_exchange_weak(exp, 0, std::memory_order_acq_rel); in main() 39 v.compare_exchange_strong(exp, 0, std::memory_order_acq_rel); in main()
|
/external/swiftshader/src/Reactor/ |
D | Thread.hpp | 307 inline void operator--() { ai.fetch_sub(1, std::memory_order_acq_rel); } in operator --() 308 inline void operator++() { ai.fetch_add(1, std::memory_order_acq_rel); } in operator ++() 309 inline int operator--(int) { return ai.fetch_sub(1, std::memory_order_acq_rel) - 1; } in operator --() 310 inline int operator++(int) { return ai.fetch_add(1, std::memory_order_acq_rel) + 1; } in operator ++() 311 inline void operator-=(int i) { ai.fetch_sub(i, std::memory_order_acq_rel); } in operator -=() 312 inline void operator+=(int i) { ai.fetch_add(i, std::memory_order_acq_rel); } in operator +=()
|
/external/swiftshader/src/Common/ |
D | Thread.hpp | 307 inline void operator--() { ai.fetch_sub(1, std::memory_order_acq_rel); } in operator --() 308 inline void operator++() { ai.fetch_add(1, std::memory_order_acq_rel); } in operator ++() 309 inline int operator--(int) { return ai.fetch_sub(1, std::memory_order_acq_rel) - 1; } in operator --() 310 inline int operator++(int) { return ai.fetch_add(1, std::memory_order_acq_rel) + 1; } in operator ++() 311 inline void operator-=(int i) { ai.fetch_sub(i, std::memory_order_acq_rel); } in operator -=() 312 inline void operator+=(int i) { ai.fetch_add(i, std::memory_order_acq_rel); } in operator +=()
|
/external/swiftshader/src/System/ |
D | Thread.hpp | 307 inline void operator--() { ai.fetch_sub(1, std::memory_order_acq_rel); } in operator --() 308 inline void operator++() { ai.fetch_add(1, std::memory_order_acq_rel); } in operator ++() 309 inline int operator--(int) { return ai.fetch_sub(1, std::memory_order_acq_rel) - 1; } in operator --() 310 inline int operator++(int) { return ai.fetch_add(1, std::memory_order_acq_rel) + 1; } in operator ++() 311 inline void operator-=(int i) { ai.fetch_sub(i, std::memory_order_acq_rel); } in operator -=() 312 inline void operator+=(int i) { ai.fetch_add(i, std::memory_order_acq_rel); } in operator +=()
|
/external/libcxx/test/std/atomics/atomics.flag/ |
D | test_and_set.pass.cpp | 57 assert(f.test_and_set(std::memory_order_acq_rel) == 0); in main() 58 assert(f.test_and_set(std::memory_order_acq_rel) == 1); in main() 99 assert(f.test_and_set(std::memory_order_acq_rel) == 0); in main() 100 assert(f.test_and_set(std::memory_order_acq_rel) == 1); in main()
|
D | atomic_flag_test_and_set_explicit.pass.cpp | 51 assert(atomic_flag_test_and_set_explicit(&f, std::memory_order_acq_rel) == 0); in main() 87 assert(atomic_flag_test_and_set_explicit(&f, std::memory_order_acq_rel) == 0); in main()
|
/external/tensorflow/tensorflow/core/lib/core/ |
D | blocking_counter.h | 37 unsigned int v = state_.fetch_sub(2, std::memory_order_acq_rel) - 2; in DecrementCount() 49 unsigned int v = state_.fetch_or(1, std::memory_order_acq_rel); in Wait() 59 unsigned int v = state_.fetch_or(1, std::memory_order_acq_rel); in WaitFor()
|
/external/skqp/src/gpu/vk/ |
D | GrVkResource.h | 124 int newRefCount = fRefCnt.fetch_add(-1, std::memory_order_acq_rel); in unref() 137 int newRefCount = fRefCnt.fetch_add(-1, std::memory_order_acq_rel); in unrefAndAbandon()
|
/external/skia/src/gpu/vk/ |
D | GrVkResource.h | 124 int newRefCount = fRefCnt.fetch_add(-1, std::memory_order_acq_rel); in unref() 137 int newRefCount = fRefCnt.fetch_add(-1, std::memory_order_acq_rel); in unrefAndAbandon()
|
/external/perfetto/src/tracing/core/ |
D | shared_memory_abi.cc | 187 std::memory_order_acq_rel)) { in TryAcquireChunk() 211 std::memory_order_acq_rel)) { in TryPartitionPage() 278 std::memory_order_acq_rel)) { in ReleaseChunk()
|
/external/tensorflow/tensorflow/core/profiler/internal/ |
D | traceme_recorder.cc | 204 expected, level, std::memory_order_acq_rel)) { in Start() 223 kTracingDisabled, std::memory_order_acq_rel) == kTracingDisabled) { in Stop()
|
/external/libcxx/test/std/atomics/atomics.order/ |
D | memory_order.pass.cpp | 29 assert(std::memory_order_acq_rel == 4); in main()
|
/external/clang/test/CodeGen/ |
D | arm-atomics.c | 10 memory_order_release, memory_order_acq_rel, memory_order_seq_cst enumerator
|
D | arm-atomics-m0.c | 8 memory_order_release, memory_order_acq_rel, memory_order_seq_cst enumerator
|
D | arm-atomics-m.c | 8 memory_order_release, memory_order_acq_rel, memory_order_seq_cst enumerator
|
D | atomic-arm64.c | 9 memory_order_acq_rel = 4, enumerator
|
D | atomics-inlining.c | 19 memory_order_acq_rel, enumerator
|
/external/libchrome/base/metrics/ |
D | persistent_memory_allocator.cc | 246 last, next, std::memory_order_acq_rel, std::memory_order_acquire)) { in GetNext() 610 std::memory_order_acq_rel, in ChangeType() 691 freeptr, new_freeptr, std::memory_order_acq_rel, in AllocateImpl() 716 freeptr, new_freeptr, std::memory_order_acq_rel, in AllocateImpl() 807 std::memory_order_acq_rel, in MakeIterable() 828 std::memory_order_acq_rel, in MakeIterable()
|
/external/libchrome/base/ |
D | atomic_ref_count.h | 37 return ref_count_.fetch_sub(1, std::memory_order_acq_rel) != 1; in Decrement()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_atomic.h | 26 memory_order_acq_rel = 1 << 4, enumerator
|
/external/skia/include/private/ |
D | SkWeakRefCnt.h | 127 if (1 == fWeakCnt.fetch_add(-1, std::memory_order_acq_rel)) { in weak_unref()
|
/external/skqp/include/private/ |
D | SkWeakRefCnt.h | 127 if (1 == fWeakCnt.fetch_add(-1, std::memory_order_acq_rel)) { in weak_unref()
|
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/ |
D | TensorDeviceThreadPool.h | 38 unsigned int v = state_.fetch_sub(2, std::memory_order_acq_rel) - 2; in Notify() 50 unsigned int v = state_.fetch_or(1, std::memory_order_acq_rel); in Wait()
|