/external/rust/crates/atomic/src/ |
D | lib.rs | 277 pub fn fetch_and(&self, val: bool, order: Ordering) -> bool { in fetch_and() method 321 pub fn fetch_and(&self, val: $t, order: Ordering) -> $t { 404 assert_eq!(a.fetch_and(false, SeqCst), true); in atomic_bool() 423 assert_eq!(a.fetch_and(7, SeqCst), -74); in atomic_i8() 443 assert_eq!(a.fetch_and(7, SeqCst), 182); in atomic_i16() 463 assert_eq!(a.fetch_and(7, SeqCst), 182); in atomic_i32() 486 assert_eq!(a.fetch_and(7, SeqCst), 182); in atomic_i64() 506 assert_eq!(a.fetch_and(7, SeqCst), 182); in atomic_i128() 525 assert_eq!(a.fetch_and(7, SeqCst), 182); in atomic_isize() 545 assert_eq!(a.fetch_and(7, SeqCst), 70); in atomic_u8() [all …]
|
/external/cronet/buildtools/third_party/libc++/trunk/include/__atomic/ |
D | atomic_base.h | 173 …_LIBCPP_HIDE_FROM_ABI _Tp fetch_and(_Tp __op, memory_order __m = memory_order_seq_cst) volatile _N… 176 … _LIBCPP_HIDE_FROM_ABI _Tp fetch_and(_Tp __op, memory_order __m = memory_order_seq_cst) _NOEXCEPT { 217 _Tp operator&=(_Tp __op) volatile _NOEXCEPT {return fetch_and(__op) & __op;} 219 _Tp operator&=(_Tp __op) _NOEXCEPT {return fetch_and(__op) & __op;}
|
D | atomic.h | 517 return __o->fetch_and(__op); 529 return __o->fetch_and(__op); 543 return __o->fetch_and(__op, __m); 555 return __o->fetch_and(__op, __m);
|
/external/rust/crates/crossbeam-utils/src/atomic/ |
D | atomic_cell.rs | 387 pub fn fetch_and(&self, val: $t) -> $t { 574 pub fn fetch_and(&self, val: $t) -> $t { 577 a.fetch_and(val, Ordering::AcqRel) 770 pub fn fetch_and(&self, val: bool) -> bool { in fetch_and() method 772 a.fetch_and(val, Ordering::AcqRel) in fetch_and()
|
/external/rust/crates/parking_lot/src/ |
D | raw_rwlock.rs | 731 self.state.fetch_and(!WRITER_PARKED_BIT, Ordering::Relaxed); in unlock_shared_slow() 880 self.state.fetch_and(!PARKED_BIT, Ordering::Relaxed); in downgrade_slow() 896 self.state.fetch_and(!PARKED_BIT, Ordering::Relaxed); in downgrade_to_upgradable_slow() 1044 self.state.fetch_and(!PARKED_BIT, Ordering::Relaxed); in wait_for_readers() 1106 self.state.fetch_and(!PARKED_BIT, Ordering::Relaxed); in lock_common()
|
D | raw_mutex.rs | 254 self.state.fetch_and(!PARKED_BIT, Ordering::Relaxed); in lock_slow()
|
/external/perfetto/src/tracing/ |
D | track_event_category_registry.cc | 60 state_storage_[category_index].fetch_and( in DisableCategoryForInstance()
|
/external/cronet/base/task/sequence_manager/ |
D | work_deduplicator.cc | 71 return (state_.fetch_and(~kInDoWorkFlag) & kPendingDoWorkFlag) in DidCheckForMoreWork()
|
D | atomic_flag_set.cc | 54 group_->flags.fetch_and(~flag_bit_, std::memory_order_relaxed); in SetActive()
|
/external/cronet/base/task/thread_pool/ |
D | job_task_source.cc | 81 return value_.fetch_and(kWaitingForWorkerToSignal, in ShouldWorkerYield() 319 uint32_t previous_task_ids = assigned_task_ids_.fetch_and( in ReleaseTaskId()
|
/external/rust/crates/futures-core/src/task/__internal/ |
D | atomic_waker.rs | 382 self.state.fetch_and(!WAKING, Release); in take()
|
/external/cronet/base/allocator/partition_allocator/starscan/ |
D | state_bitmap.h | 236 const CellType cell_before = cell.fetch_and(mask, std::memory_order_relaxed); in Quarantine() 293 cell.fetch_and(mask, std::memory_order_relaxed); in Free() 427 .fetch_and(clear_value_mask, std::memory_order_relaxed); in IterateImpl()
|
/external/rust/crates/async-task/src/ |
D | header.rs | 57 .fetch_and(!NOTIFYING & !AWAITER, Ordering::Release); in take()
|
D | raw.rs | 474 let state = (*raw.header).state.fetch_and(!SCHEDULED, Ordering::AcqRel); in run() 656 .fetch_and(!RUNNING & !SCHEDULED, Ordering::AcqRel); in run()
|
D | runnable.rs | 376 let state = (*header).state.fetch_and(!SCHEDULED, Ordering::AcqRel); in drop()
|
/external/rust/crates/crossbeam-utils/ |
D | CHANGELOG.md | 49 - Re-add `AtomicCell<{i,u}64>::{fetch_add,fetch_sub,fetch_and,fetch_or,fetch_xor}` that were accide… 50 - Re-add `AtomicCell<{i,u}128>::{fetch_add,fetch_sub,fetch_and,fetch_or,fetch_xor}` that were accid…
|
/external/rust/crates/tokio/src/sync/task/ |
D | atomic_waker.rs | 323 self.state.fetch_and(!WAKING, Release); in take_waker()
|
/external/rust/crates/spin/src/mutex/ |
D | fair.rs | 247 self.lock.fetch_and(!LOCKED, Ordering::Release); in force_unlock() 434 self.lock.fetch_and(!LOCKED, Ordering::Release); in drop()
|
/external/crosvm/devices/src/virtio/ |
D | interrupt.rs | 197 .fetch_and(!(mask as usize), Ordering::SeqCst); in clear_interrupt_status_bits()
|
/external/rust/crates/futures-util/src/lock/ |
D | mutex.rs | 179 self.state.fetch_and(!HAS_WAITERS, Ordering::Relaxed); // released by mutex unlock in remove_waker() 187 let old_state = self.state.fetch_and(!IS_LOCKED, Ordering::AcqRel); in unlock()
|
/external/libcxx/include/ |
D | atomic | 171 fetch_and(integral op, memory_order m = memory_order_seq_cst) volatile noexcept; 172 integral fetch_and(integral op, memory_order m = memory_order_seq_cst) noexcept; 1025 _Tp fetch_and(_Tp __op, memory_order __m = memory_order_seq_cst) volatile _NOEXCEPT 1028 _Tp fetch_and(_Tp __op, memory_order __m = memory_order_seq_cst) _NOEXCEPT 1068 _Tp operator&=(_Tp __op) volatile _NOEXCEPT {return fetch_and(__op) & __op;} 1070 _Tp operator&=(_Tp __op) _NOEXCEPT {return fetch_and(__op) & __op;} 1573 return __o->fetch_and(__op); 1585 return __o->fetch_and(__op); 1599 return __o->fetch_and(__op, __m); 1611 return __o->fetch_and(__op, __m);
|
/external/tensorflow/third_party/absl/abseil-cpp/absl/container/internal/ |
D | hashtablez_sampler.cc | 172 info->hashes_bitwise_and.fetch_and(hash, std::memory_order_relaxed); in RecordInsertSlow()
|
/external/webrtc/third_party/abseil-cpp/absl/container/internal/ |
D | hashtablez_sampler.cc | 172 info->hashes_bitwise_and.fetch_and(hash, std::memory_order_relaxed); in RecordInsertSlow()
|
/external/abseil-cpp/absl/container/internal/ |
D | hashtablez_sampler.cc | 172 info->hashes_bitwise_and.fetch_and(hash, std::memory_order_relaxed); in RecordInsertSlow()
|
/external/rust/crates/parking_lot_core/src/ |
D | word_lock.rs | 274 self.state.fetch_and(!QUEUE_LOCKED_BIT, Ordering::Release); in unlock_slow()
|