/external/llvm-project/libcxx/test/libcxx/atomics/ |
D | diagnose_invalid_memory_order.verify.cpp | 30 …x.load(std::memory_order_acq_rel); // expected-warning {{memory order argument to atomic operation… in main() 32 …vx.load(std::memory_order_acq_rel); // expected-warning {{memory order argument to atomic operatio… in main() 41 …std::atomic_load_explicit(&x, std::memory_order_acq_rel); // expected-warning {{memory order argum… in main() 43 …std::atomic_load_explicit(&vx, std::memory_order_acq_rel); // expected-warning {{memory order argu… in main() 54 …x.store(42, std::memory_order_acq_rel); // expected-warning {{memory order argument to atomic oper… in main() 57 …vx.store(42, std::memory_order_acq_rel); // expected-warning {{memory order argument to atomic ope… in main() 66 …std::atomic_store_explicit(&x, 42, std::memory_order_acq_rel); // expected-warning {{memory order … in main() 69 …std::atomic_store_explicit(&vx, 42, std::memory_order_acq_rel); // expected-warning {{memory order… in main() 78 …x.compare_exchange_weak(val1, val2, std::memory_order_seq_cst, std::memory_order_acq_rel); // expe… in main() 80 …vx.compare_exchange_weak(val1, val2, std::memory_order_seq_cst, std::memory_order_acq_rel); // exp… in main() [all …]
|
/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/llvm-project/clang/test/Sema/ |
D | atomic-ops.c | 265 k = atomic_fetch_and_explicit(&n, k, memory_order_acq_rel); in f() 298 …(void)__c11_atomic_load(Ap, memory_order_acq_rel); // expected-warning {{memory order argument to … in memory_checks() 308 …(void)__c11_atomic_store(Ap, val, memory_order_acq_rel); // expected-warning {{memory order argume… in memory_checks() 315 (void)__c11_atomic_fetch_add(Ap, 1, memory_order_acq_rel); in memory_checks() 333 (void)__c11_atomic_fetch_sub(Ap, val, memory_order_acq_rel); in memory_checks() 340 (void)__c11_atomic_fetch_and(Ap, val, memory_order_acq_rel); in memory_checks() 347 (void)__c11_atomic_fetch_or(Ap, val, memory_order_acq_rel); in memory_checks() 354 (void)__c11_atomic_fetch_xor(Ap, val, memory_order_acq_rel); in memory_checks() 361 (void)__c11_atomic_fetch_min(Ap, val, memory_order_acq_rel); in memory_checks() 368 (void)__c11_atomic_fetch_max(Ap, val, memory_order_acq_rel); in memory_checks() [all …]
|
/external/llvm-project/libcxx/test/std/atomics/atomics.general/ |
D | replace_failure_order.pass.cpp | 33 (void) i.compare_exchange_weak(exp, 0, std::memory_order_acq_rel); in main() 35 i.compare_exchange_strong(exp, 0, std::memory_order_acq_rel); in main() 38 (void) v.compare_exchange_weak(exp, 0, std::memory_order_acq_rel); in main() 40 v.compare_exchange_strong(exp, 0, std::memory_order_acq_rel); in main()
|
/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/llvm-project/compiler-rt/lib/xray/ |
D | xray_profiling.cpp | 90 memory_order_acq_rel)) { in getThreadLocalData() 139 if (atomic_compare_exchange_strong(&TLD.FCT, &FCT, 1, memory_order_acq_rel)) { in getThreadLocalData() 155 auto FCT = atomic_exchange(&TLD.FCT, 0, memory_order_acq_rel); in cleanupTLD() 160 auto Allocators = atomic_exchange(&TLD.Allocators, 0, memory_order_acq_rel); in cleanupTLD() 172 uptr P = atomic_exchange(&T.FCT, 0, memory_order_acq_rel); in postCurrentThreadFCT() 180 uptr A = atomic_exchange(&T.Allocators, 0, memory_order_acq_rel); in postCurrentThreadFCT() 227 memory_order_acq_rel); in profilingFlush() 361 memory_order_acq_rel)) { in profilingLoggingInit() 431 if (atomic_exchange(&ThreadExitingLatch, 1, memory_order_acq_rel)) in profilingLoggingInit() 457 if (atomic_exchange(&ThreadExitingLatch, 1, memory_order_acq_rel)) in profilingLoggingInit()
|
D | xray_fdr_log_writer.h | 88 atomic_fetch_add(Buffer.Extents, sizeof(T), memory_order_acq_rel); 118 atomic_fetch_add(Buffer.Extents, Size, memory_order_acq_rel); 163 memory_order_acq_rel); 188 memory_order_acq_rel); 210 atomic_fetch_add(Buffer.Extents, EventSize, memory_order_acq_rel); 224 atomic_fetch_sub(Buffer.Extents, B, memory_order_acq_rel);
|
D | xray_buffer_queue.cpp | 46 if (atomic_fetch_sub(&C->RefCount, 1, memory_order_acq_rel) == 1) in decRefCount() 53 atomic_fetch_add(&C->RefCount, 1, memory_order_acq_rel); in incRefCount() 111 atomic_fetch_add(&Generation, 1, memory_order_acq_rel); in init() 219 if (atomic_exchange(&Finalizing, 1, memory_order_acq_rel)) in finalize()
|
/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/tensorflow/tensorflow/core/platform/ |
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/llvm-project/libcxx/test/std/atomics/atomics.flag/ |
D | test_and_set.pass.cpp | 58 assert(f.test_and_set(std::memory_order_acq_rel) == 0); in main() 59 assert(f.test_and_set(std::memory_order_acq_rel) == 1); in main() 100 assert(f.test_and_set(std::memory_order_acq_rel) == 0); in main() 101 assert(f.test_and_set(std::memory_order_acq_rel) == 1); in main()
|
D | atomic_flag_test_explicit.pass.cpp | 57 assert(atomic_flag_test_explicit(&f, std::memory_order_acq_rel) == 0); in main() 59 assert(atomic_flag_test_explicit(&f, std::memory_order_acq_rel) == 1); in main() 101 assert(atomic_flag_test_explicit(&f, std::memory_order_acq_rel) == 0); in main() 103 assert(atomic_flag_test_explicit(&f, std::memory_order_acq_rel) == 1); in main()
|
D | atomic_flag_test_and_set_explicit.pass.cpp | 52 assert(atomic_flag_test_and_set_explicit(&f, std::memory_order_acq_rel) == 0); in main() 88 assert(atomic_flag_test_and_set_explicit(&f, std::memory_order_acq_rel) == 0); in main()
|
/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()
|
/external/llvm-project/libcxx/src/ |
D | barrier.cpp | 57 …ent].__tickets[__round].__phase.compare_exchange_strong(expect, __full_step, memory_order_acq_rel)) in __arrive() 60 …ent].__tickets[__round].__phase.compare_exchange_strong(expect, __half_step, memory_order_acq_rel)) in __arrive() 66 …ent].__tickets[__round].__phase.compare_exchange_strong(expect, __full_step, memory_order_acq_rel)) in __arrive()
|
/external/llvm-project/clang/test/SemaOpenCL/ |
D | atomic-ops.cl | 16 memory_order_acq_rel = __ATOMIC_ACQ_REL, 116 …(void)__opencl_atomic_load(Ap, memory_order_acq_rel, memory_scope_work_group); // expected-warning… 122 …(void)__opencl_atomic_store(Ap, val, memory_order_acq_rel, memory_scope_work_group); // expected-w… 128 (void)__opencl_atomic_fetch_add(Ap, 1, memory_order_acq_rel, memory_scope_work_group); 136 (void)__opencl_atomic_fetch_sub(Ap, val, memory_order_acq_rel, memory_scope_work_group); 142 (void)__opencl_atomic_fetch_and(Ap, val, memory_order_acq_rel, memory_scope_work_group); 148 (void)__opencl_atomic_fetch_or(Ap, val, memory_order_acq_rel, memory_scope_work_group); 154 (void)__opencl_atomic_fetch_xor(Ap, val, memory_order_acq_rel, memory_scope_work_group); 160 (void)__opencl_atomic_exchange(Ap, val, memory_order_acq_rel, memory_scope_work_group); 166 …(void)__opencl_atomic_compare_exchange_strong(Ap, p, val, memory_order_acq_rel, memory_order_relax… [all …]
|
/external/llvm-project/compiler-rt/test/xray/TestCases/Posix/ |
D | fdr-thread-order.cpp | 36 std::atomic_thread_fence(std::memory_order_acq_rel); in main() 45 std::atomic_thread_fence(std::memory_order_acq_rel); in main()
|
/external/tensorflow/tensorflow/core/util/ |
D | incremental_barrier.cc | 34 if (left_.fetch_sub(1, std::memory_order_acq_rel) - 1 == 0) { in operator ()() 43 left_.fetch_add(1, std::memory_order_acq_rel); in Inc()
|
/external/oboe/src/fifo/ |
D | FifoController.h | 43 mReadCounter.fetch_add(n, std::memory_order_acq_rel); in incrementReadCounter() 52 mWriteCounter.fetch_add(n, std::memory_order_acq_rel); in incrementWriteCounter()
|
D | FifoControllerIndirect.h | 45 mReadCounterAddress->fetch_add(n, std::memory_order_acq_rel); in incrementReadCounter() 54 mWriteCounterAddress->fetch_add(n, std::memory_order_acq_rel); in incrementWriteCounter()
|
/external/swiftshader/src/Reactor/ |
D | LLVMReactor.hpp | 130 case llvm::AtomicOrdering::AcquireRelease: return std::memory_order_acq_rel; in atomicOrdering() 134 return std::memory_order_acq_rel; in atomicOrdering() 151 case std::memory_order_acq_rel: return llvm::AtomicOrdering::AcquireRelease; in atomicOrdering()
|
/external/abseil-cpp/absl/strings/internal/ |
D | cord_internal.h | 50 return refcount != 1 && count_.fetch_sub(1, std::memory_order_acq_rel) != 1; in Decrement() 55 int32_t refcount = count_.fetch_sub(1, std::memory_order_acq_rel); in DecrementExpectHighRefcount()
|
/external/webrtc/third_party/abseil-cpp/absl/strings/internal/ |
D | cord_internal.h | 50 return refcount != 1 && count_.fetch_sub(1, std::memory_order_acq_rel) != 1; in Decrement() 55 int32_t refcount = count_.fetch_sub(1, std::memory_order_acq_rel); in DecrementExpectHighRefcount()
|
/external/llvm-project/compiler-rt/lib/xray/tests/unit/ |
D | buffer_queue_test.cpp | 185 Counter.fetch_add(1, std::memory_order_acq_rel); in TEST() 192 Counter.fetch_sub(1, std::memory_order_acq_rel); in TEST() 201 Counter.fetch_add(1, std::memory_order_acq_rel); in TEST() 207 Counter.fetch_sub(1, std::memory_order_acq_rel); in TEST()
|