/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() 33 i.compare_exchange_weak(exp, 0, std::memory_order_release); in main() 37 v.compare_exchange_weak(exp, 0, std::memory_order_acq_rel); in main() 38 v.compare_exchange_weak(exp, 0, std::memory_order_release); in main()
|
/external/cronet/buildtools/third_party/libc++/trunk/test/std/atomics/atomics.general/ |
D | replace_failure_order.pass.cpp | 31 (void) i.compare_exchange_weak(exp, 0, std::memory_order_acq_rel); in main() 32 (void) i.compare_exchange_weak(exp, 0, std::memory_order_release); in main() 36 (void) v.compare_exchange_weak(exp, 0, std::memory_order_acq_rel); in main() 37 (void) v.compare_exchange_weak(exp, 0, std::memory_order_release); in main()
|
/external/libcxx/test/libcxx/atomics/ |
D | diagnose_invalid_memory_order.fail.cpp | 78 …x.compare_exchange_weak(val1, val2, std::memory_order_seq_cst, std::memory_order_release); // expe… in main() 79 …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_release); // exp… in main() 81 …vx.compare_exchange_weak(val1, val2, std::memory_order_seq_cst, std::memory_order_acq_rel); // exp… in main() 83 x.compare_exchange_weak(val1, val2, std::memory_order_seq_cst, std::memory_order_relaxed); in main() 84 x.compare_exchange_weak(val1, val2, std::memory_order_seq_cst, std::memory_order_consume); in main() 85 x.compare_exchange_weak(val1, val2, std::memory_order_seq_cst, std::memory_order_acquire); in main() 86 x.compare_exchange_weak(val1, val2, std::memory_order_seq_cst, std::memory_order_seq_cst); in main() 89 x.compare_exchange_weak(val1, val2, std::memory_order_release); in main()
|
/external/cronet/buildtools/third_party/libc++/trunk/test/libcxx/atomics/ |
D | diagnose_invalid_memory_order.verify.cpp | 76 …x.compare_exchange_weak(val1, val2, std::memory_order_seq_cst, std::memory_order_release); // expe… in f() 77 …x.compare_exchange_weak(val1, val2, std::memory_order_seq_cst, std::memory_order_acq_rel); // expe… in f() 78 …vx.compare_exchange_weak(val1, val2, std::memory_order_seq_cst, std::memory_order_release); // exp… in f() 79 …vx.compare_exchange_weak(val1, val2, std::memory_order_seq_cst, std::memory_order_acq_rel); // exp… in f() 81 x.compare_exchange_weak(val1, val2, std::memory_order_seq_cst, std::memory_order_relaxed); in f() 82 x.compare_exchange_weak(val1, val2, std::memory_order_seq_cst, std::memory_order_consume); in f() 83 x.compare_exchange_weak(val1, val2, std::memory_order_seq_cst, std::memory_order_acquire); in f() 84 x.compare_exchange_weak(val1, val2, std::memory_order_seq_cst, std::memory_order_seq_cst); in f() 87 x.compare_exchange_weak(val1, val2, std::memory_order_release); in f()
|
/external/rust/crates/parking_lot/src/ |
D | raw_rwlock.rs | 70 .compare_exchange_weak(0, WRITER_BIT, Ordering::Acquire, Ordering::Relaxed) in lock_exclusive() 239 .compare_exchange_weak(0, WRITER_BIT, Ordering::Acquire, Ordering::Relaxed) in try_lock_exclusive_for() 256 .compare_exchange_weak(0, WRITER_BIT, Ordering::Acquire, Ordering::Relaxed) in try_lock_exclusive_until() 352 .compare_exchange_weak( in unlock_upgradable() 382 .compare_exchange_weak( in try_upgrade() 405 .compare_exchange_weak( in unlock_upgradable_fair() 531 .compare_exchange_weak(state, new_state, Ordering::Acquire, Ordering::Relaxed) in try_lock_shared_fast() 554 match self.state.compare_exchange_weak( in try_lock_shared_slow() 581 .compare_exchange_weak(state, new_state, Ordering::Acquire, Ordering::Relaxed) in try_lock_upgradable_fast() 597 match self.state.compare_exchange_weak( in try_lock_upgradable_slow() [all …]
|
D | raw_mutex.rs | 69 .compare_exchange_weak(0, LOCKED_BIT, Ordering::Acquire, Ordering::Relaxed) in lock() 84 match self.state.compare_exchange_weak( in try_lock() 149 .compare_exchange_weak(0, LOCKED_BIT, Ordering::Acquire, Ordering::Relaxed) in try_lock_until() 166 .compare_exchange_weak(0, LOCKED_BIT, Ordering::Acquire, Ordering::Relaxed) in try_lock_for() 190 match self.state.compare_exchange_weak( in mark_parked_if_locked() 216 match self.state.compare_exchange_weak( in lock_slow() 236 if let Err(x) = self.state.compare_exchange_weak( in lock_slow()
|
/external/rust/crates/parking_lot_core/src/ |
D | word_lock.rs | 92 .compare_exchange_weak(0, LOCKED_BIT, Ordering::Acquire, Ordering::Relaxed) in lock() 117 match self.state.compare_exchange_weak( in lock_slow() 154 if let Err(x) = self.state.compare_exchange_weak( in lock_slow() 189 match self.state.compare_exchange_weak( in unlock_slow() 230 match self.state.compare_exchange_weak( in unlock_slow() 249 match self.state.compare_exchange_weak( in unlock_slow()
|
/external/rust/crates/async-task/src/ |
D | raw.rs | 229 match (*raw.header).state.compare_exchange_weak( in wake() 244 match (*raw.header).state.compare_exchange_weak( in wake() 285 match (*raw.header).state.compare_exchange_weak( in wake_by_ref() 303 match (*raw.header).state.compare_exchange_weak( in wake_by_ref() 493 match (*raw.header).state.compare_exchange_weak( in run() 530 match (*raw.header).state.compare_exchange_weak( in run() 584 match (*raw.header).state.compare_exchange_weak( in run() 675 match (*raw.header).state.compare_exchange_weak( in run()
|
D | task.rs | 202 match (*header).state.compare_exchange_weak( in set_canceled() 240 if let Err(mut state) = (*header).state.compare_exchange_weak( in set_detached() 251 match (*header).state.compare_exchange_weak( in set_detached() 278 match (*header).state.compare_exchange_weak( in set_detached()
|
D | header.rs | 93 match self.state.compare_exchange_weak( in register() 134 .compare_exchange_weak(state, new, Ordering::AcqRel, Ordering::Acquire) in register()
|
/external/eigen/unsupported/Eigen/CXX11/src/ThreadPool/ |
D | EventCount.h | 72 if (state_.compare_exchange_weak(state, newstate, in Prewait() 97 if (state_.compare_exchange_weak(state, newstate, in CommitWait() 122 if (state_.compare_exchange_weak(state, newstate, in CancelWait() 154 if (state_.compare_exchange_weak(state, newstate, in Notify()
|
/external/cronet/buildtools/third_party/libc++/trunk/test/std/atomics/atomics.types.generic/ |
D | general.compile.pass.cpp | 86 TEST_IGNORE_NODISCARD a.compare_exchange_weak(v, v, m, m); in test() 88 TEST_IGNORE_NODISCARD a.compare_exchange_weak(v, v); in test()
|
D | pointer.compile.pass.cpp | 108 TEST_IGNORE_NODISCARD a.compare_exchange_weak(v, v, m, m); in test() 110 TEST_IGNORE_NODISCARD a.compare_exchange_weak(v, v); in test()
|
D | bool.pass.cpp | 80 assert(obj.compare_exchange_weak(x, true, in main() 131 assert(obj.compare_exchange_weak(x, true, in main() 182 assert(obj.compare_exchange_weak(x, true, in main()
|
/external/libcxx/test/support/ |
D | cmpxchg_loop.h | 15 if (atomic.compare_exchange_weak(expected, desired) == true) { in cmpxchg_weak_loop() 28 if (atomic.compare_exchange_weak(expected, desired, success, in cmpxchg_weak_loop()
|
/external/rust/crates/grpcio/src/ |
D | cq.rs | 46 match self.ref_cnt.compare_exchange_weak( in add_ref() 64 match self.ref_cnt.compare_exchange_weak( in unref() 92 match self.ref_cnt.compare_exchange_weak( in shutdown()
|
/external/cronet/buildtools/third_party/libc++/trunk/test/support/ |
D | cmpxchg_loop.h | 14 if (atomic.compare_exchange_weak(expected, desired) == true) { in cmpxchg_weak_loop() 27 if (atomic.compare_exchange_weak(expected, desired, success, in cmpxchg_weak_loop()
|
/external/libcxx/test/std/atomics/atomics.types.generic/ |
D | bool.pass.cpp | 87 assert(obj.compare_exchange_weak(x, true, in main() 142 assert(obj.compare_exchange_weak(x, true, in main() 197 assert(obj.compare_exchange_weak(x, true, in main()
|
/external/cronet/buildtools/third_party/libc++/trunk/include/ |
D | atomic | 88 bool compare_exchange_weak(T& expc, T desr, 90 bool compare_exchange_weak(T& expc, T desr, memory_order s, memory_order f) noexcept; 95 bool compare_exchange_weak(T& expc, T desr, 97 bool compare_exchange_weak(T& expc, T desr, 140 bool compare_exchange_weak(integral& expc, integral desr, 142 bool compare_exchange_weak(integral& expc, integral desr, 148 bool compare_exchange_weak(integral& expc, integral desr, 150 bool compare_exchange_weak(integral& expc, integral desr, 223 bool compare_exchange_weak(T*& expc, T* desr, 225 bool compare_exchange_weak(T*& expc, T* desr, [all …]
|
/external/eigen/unsupported/test/ |
D | cxx11_eventcount.cpp | 55 if (val_.compare_exchange_weak(val, val + 1, std::memory_order_relaxed)) in Push() 66 if (val_.compare_exchange_weak(val, val - 1, std::memory_order_relaxed)) in Pop()
|
/external/cronet/buildtools/third_party/libc++/trunk/include/__atomic/ |
D | atomic_base.h | 73 compare_exchange_weak(_Tp& __e, _Tp __d, memory_order __s, memory_order __f) volatile _NOEXCEPT in compare_exchange_weak() function 77 …_LIBCPP_HIDE_FROM_ABI bool compare_exchange_weak(_Tp& __e, _Tp __d, memory_order __s, memory_order… in compare_exchange_weak() function 91 …compare_exchange_weak(_Tp& __e, _Tp __d, memory_order __m = memory_order_seq_cst) volatile _NOEXCE… 95 compare_exchange_weak(_Tp& __e, _Tp __d, memory_order __m = memory_order_seq_cst) _NOEXCEPT {
|
/external/rust/crates/grpcio/src/task/ |
D | executor.rs | 112 match self.state.compare_exchange_weak( in mark_notified() 119 Err(POLLING) => match self.state.compare_exchange_weak( in mark_notified()
|
/external/rust/crates/crossbeam-queue/src/ |
D | array_queue.rs | 155 match self.tail.compare_exchange_weak( in push_or_else() 240 .compare_exchange_weak(head, new_head, Ordering::SeqCst, Ordering::Relaxed) in force_push() 302 match self.head.compare_exchange_weak( in pop()
|
/external/libcxx/include/ |
D | atomic | 107 bool compare_exchange_weak(T& expc, T desr, 109 bool compare_exchange_weak(T& expc, T desr, memory_order s, memory_order f) noexcept; 114 bool compare_exchange_weak(T& expc, T desr, 116 bool compare_exchange_weak(T& expc, T desr, 147 bool compare_exchange_weak(integral& expc, integral desr, 149 bool compare_exchange_weak(integral& expc, integral desr, 155 bool compare_exchange_weak(integral& expc, integral desr, 157 bool compare_exchange_weak(integral& expc, integral desr, 222 bool compare_exchange_weak(T*& expc, T* desr, 224 bool compare_exchange_weak(T*& expc, T* desr, [all …]
|
/external/libchromeos-rs/src/sync/ |
D | mu.rs | 208 .compare_exchange_weak(0, LOCKED, Ordering::Acquire, Ordering::Relaxed) in lock() 217 .compare_exchange_weak( in lock() 236 .compare_exchange_weak(0, READ_LOCK, Ordering::Acquire, Ordering::Relaxed) in read_lock() 243 .compare_exchange_weak( in read_lock() 274 .compare_exchange_weak( in lock_slow() 292 .compare_exchange_weak( in lock_slow() 328 match self.state.compare_exchange_weak( in lock_slow() 443 .compare_exchange_weak( in unlock_slow() 479 match self.state.compare_exchange_weak( in unlock_slow() 534 .compare_exchange_weak( in transfer_waiters() [all …]
|