/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() 34 (void) i.compare_exchange_weak(exp, 0, std::memory_order_release); in main() 38 (void) v.compare_exchange_weak(exp, 0, std::memory_order_acq_rel); in main() 39 (void) v.compare_exchange_weak(exp, 0, std::memory_order_release); 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() 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/rust/crates/parking_lot/src/ |
D | raw_rwlock.rs | 71 .compare_exchange_weak(0, WRITER_BIT, Ordering::Acquire, Ordering::Relaxed) in lock_exclusive() 234 .compare_exchange_weak(0, WRITER_BIT, Ordering::Acquire, Ordering::Relaxed) in try_lock_exclusive_for() 251 .compare_exchange_weak(0, WRITER_BIT, Ordering::Acquire, Ordering::Relaxed) in try_lock_exclusive_until() 347 .compare_exchange_weak( in unlock_upgradable() 377 .compare_exchange_weak( in try_upgrade() 400 .compare_exchange_weak( in unlock_upgradable_fair() 526 .compare_exchange_weak(state, new_state, Ordering::Acquire, Ordering::Relaxed) in try_lock_shared_fast() 549 match self.state.compare_exchange_weak( in try_lock_shared_slow() 576 .compare_exchange_weak(state, new_state, Ordering::Acquire, Ordering::Relaxed) in try_lock_upgradable_fast() 592 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/llvm-project/libcxx/test/libcxx/atomics/ |
D | diagnose_invalid_memory_order.verify.cpp | 77 …x.compare_exchange_weak(val1, val2, std::memory_order_seq_cst, std::memory_order_release); // expe… in main() 78 …x.compare_exchange_weak(val1, val2, std::memory_order_seq_cst, std::memory_order_acq_rel); // expe… in main() 79 …vx.compare_exchange_weak(val1, val2, std::memory_order_seq_cst, std::memory_order_release); // exp… in main() 80 …vx.compare_exchange_weak(val1, val2, std::memory_order_seq_cst, std::memory_order_acq_rel); // exp… in main() 82 x.compare_exchange_weak(val1, val2, std::memory_order_seq_cst, std::memory_order_relaxed); in main() 83 x.compare_exchange_weak(val1, val2, std::memory_order_seq_cst, std::memory_order_consume); in main() 84 x.compare_exchange_weak(val1, val2, std::memory_order_seq_cst, std::memory_order_acquire); in main() 85 x.compare_exchange_weak(val1, val2, std::memory_order_seq_cst, std::memory_order_seq_cst); in main() 88 x.compare_exchange_weak(val1, val2, 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/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 | 207 match (*raw.header).state.compare_exchange_weak( in wake() 222 match (*raw.header).state.compare_exchange_weak( in wake() 263 match (*raw.header).state.compare_exchange_weak( in wake_by_ref() 281 match (*raw.header).state.compare_exchange_weak( in wake_by_ref() 471 match (*raw.header).state.compare_exchange_weak( in run() 508 match (*raw.header).state.compare_exchange_weak( in run() 562 match (*raw.header).state.compare_exchange_weak( in run() 653 match (*raw.header).state.compare_exchange_weak( in run()
|
D | task.rs | 163 match (*header).state.compare_exchange_weak( in set_canceled() 201 if let Err(mut state) = (*header).state.compare_exchange_weak( in set_detached() 212 match (*header).state.compare_exchange_weak( in set_detached() 239 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/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/llvm-project/libcxx/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/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/eigen/unsupported/Eigen/CXX11/src/ThreadPool/ |
D | EventCount.h | 98 if (state_.compare_exchange_weak(state, newstate, in CommitWait() 123 if (state_.compare_exchange_weak(state, state - kWaiterInc + kEpochInc, in CancelWait() 158 if (state_.compare_exchange_weak(state, newstate, in Notify()
|
/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/llvm-project/libcxx/test/std/atomics/atomics.types.generic/ |
D | bool.pass.cpp | 86 assert(obj.compare_exchange_weak(x, true, in main() 141 assert(obj.compare_exchange_weak(x, true, in main() 196 assert(obj.compare_exchange_weak(x, true, in main()
|
/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/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-epoch/ |
D | CHANGELOG.md | 7 - Add `Atomic::compare_exchange` and `Atomic::compare_exchange_weak`. (#628) 8 …compare_and_set_weak`. Use `Atomic::compare_exchange` or `Atomic::compare_exchange_weak` instead. …
|
/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 …]
|
/external/skia/include/private/ |
D | SkWeakRefCnt.h | 87 } while(!fRefCnt.compare_exchange_weak(prev, prev+1, std::memory_order_acquire, in atomic_conditional_acquire_strong_ref()
|
/external/skqp/include/private/ |
D | SkWeakRefCnt.h | 87 } while(!fRefCnt.compare_exchange_weak(prev, prev+1, std::memory_order_acquire, in atomic_conditional_acquire_strong_ref()
|
/external/skia/src/core/ |
D | SkSemaphore.cpp | 77 return fCount.compare_exchange_weak(count, count-1, std::memory_order_acquire); in try_wait()
|
/external/rust/crates/tokio/src/loom/std/ |
D | atomic_u64.rs | 65 pub(crate) fn compare_exchange_weak( in compare_exchange_weak() method
|