Home
last modified time | relevance | path

Searched refs:fetch_and (Results 1 – 25 of 30) sorted by relevance

12

/external/rust/crates/crossbeam-utils/src/atomic/
Datomic_cell.rs335 pub fn fetch_and(&self, val: $t) -> $t {
338 a.fetch_and(val as usize, Ordering::AcqRel) as $t
456 pub fn fetch_and(&self, val: $t) -> $t {
458 a.fetch_and(val, Ordering::AcqRel)
550 pub fn fetch_and(&self, val: bool) -> bool { in fetch_and() method
552 a.fetch_and(val, Ordering::AcqRel) in fetch_and()
/external/rust/crates/parking_lot/src/
Draw_rwlock.rs726 self.state.fetch_and(!WRITER_PARKED_BIT, Ordering::Relaxed); in unlock_shared_slow()
875 self.state.fetch_and(!PARKED_BIT, Ordering::Relaxed); in downgrade_slow()
891 self.state.fetch_and(!PARKED_BIT, Ordering::Relaxed); in downgrade_to_upgradable_slow()
1039 self.state.fetch_and(!PARKED_BIT, Ordering::Relaxed); in wait_for_readers()
1101 self.state.fetch_and(!PARKED_BIT, Ordering::Relaxed); in lock_common()
Draw_mutex.rs254 self.state.fetch_and(!PARKED_BIT, Ordering::Relaxed); in lock_slow()
/external/perfetto/src/tracing/
Dtrack_event_category_registry.cc60 state_storage_[category_index].fetch_and( in DisableCategoryForInstance()
/external/rust/crates/futures-core/src/task/__internal/
Datomic_waker.rs381 self.state.fetch_and(!WAKING, Release); in take()
/external/rust/crates/tokio/src/sync/task/
Datomic_waker.rs264 self.state.fetch_and(!WAKING, Release); in take_waker()
/external/rust/crates/futures-util/src/lock/
Dmutex.rs161 self.state.fetch_and(!HAS_WAITERS, Ordering::Relaxed); // released by mutex unlock in remove_waker()
169 let old_state = self.state.fetch_and(!IS_LOCKED, Ordering::AcqRel); in unlock()
/external/rust/crates/async-task/src/
Dheader.rs57 .fetch_and(!NOTIFYING & !AWAITER, Ordering::Release); in take()
Drunnable.rs376 let state = (*header).state.fetch_and(!SCHEDULED, Ordering::AcqRel); in drop()
Draw.rs452 let state = (*raw.header).state.fetch_and(!SCHEDULED, Ordering::AcqRel); in run()
634 .fetch_and(!RUNNING & !SCHEDULED, Ordering::AcqRel); in run()
/external/rust/crates/tokio/src/sync/
Doneshot.rs872 let val = cell.fetch_and(!RX_TASK_SET, AcqRel); in unset_rx_task()
893 let val = cell.fetch_and(!TX_TASK_SET, AcqRel); in unset_tx_task()
/external/rust/crates/parking_lot_core/src/
Dword_lock.rs274 self.state.fetch_and(!QUEUE_LOCKED_BIT, Ordering::Release); in unlock_slow()
/external/libcxx/include/
Datomic171 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/openscreen/third_party/abseil/src/absl/container/internal/
Dhashtablez_sampler.cc236 info->hashes_bitwise_and.fetch_and(hash, std::memory_order_relaxed); in RecordInsertSlow()
/external/libtextclassifier/abseil-cpp/absl/container/internal/
Dhashtablez_sampler.cc236 info->hashes_bitwise_and.fetch_and(hash, std::memory_order_relaxed); in RecordInsertSlow()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/container/internal/
Dhashtablez_sampler.cc236 info->hashes_bitwise_and.fetch_and(hash, std::memory_order_relaxed); in RecordInsertSlow()
/external/webrtc/third_party/abseil-cpp/absl/container/internal/
Dhashtablez_sampler.cc235 info->hashes_bitwise_and.fetch_and(hash, std::memory_order_relaxed); in RecordInsertSlow()
/external/angle/third_party/abseil-cpp/absl/container/internal/
Dhashtablez_sampler.cc239 info->hashes_bitwise_and.fetch_and(hash, std::memory_order_relaxed); in RecordInsertSlow()
/external/abseil-cpp/absl/container/internal/
Dhashtablez_sampler.cc235 info->hashes_bitwise_and.fetch_and(hash, std::memory_order_relaxed); in RecordInsertSlow()
/external/llvm-project/llvm/tools/dsymutil/
Ddsymutil.cpp655 AllOK.fetch_and( in main()
659 AllOK.fetch_and(verify(OutputFile, Map->getTriple().getArchName(), in main()
/external/rust/crates/spin/src/
Drw_lock.rs261 self.lock.fetch_and(!(WRITER | UPGRADED), Ordering::Release); in force_write_unlock()
703 self.inner.lock.fetch_and(!(WRITER | UPGRADED), Ordering::Release); in drop()
/external/rust/crates/futures-channel/src/mpsc/
Dmod.rs1301 self.state.fetch_and(!OPEN_MASK, SeqCst); in set_closed()
1319 self.state.fetch_and(!OPEN_MASK, SeqCst); in set_closed()
/external/rust/crates/crossbeam-epoch/src/
Datomic.rs712 pub fn fetch_and<'g>(&self, val: usize, ord: Ordering, _: &'g Guard) -> Shared<'g, T> { in fetch_and() method
713 unsafe { Shared::from_usize(self.data.fetch_and(val | !low_bits::<T>(), ord)) } in fetch_and()
/external/llvm-project/libcxx/include/
Datomic160 integral fetch_and(integral op, memory_order m = memory_order_seq_cst) volatile noexcept;
161 integral fetch_and(integral op, memory_order m = memory_order_seq_cst) noexcept;
1731 _Tp fetch_and(_Tp __op, memory_order __m = memory_order_seq_cst) volatile _NOEXCEPT
1734 _Tp fetch_and(_Tp __op, memory_order __m = memory_order_seq_cst) _NOEXCEPT
1774 _Tp operator&=(_Tp __op) volatile _NOEXCEPT {return fetch_and(__op) & __op;}
1776 _Tp operator&=(_Tp __op) _NOEXCEPT {return fetch_and(__op) & __op;}
2351 return __o->fetch_and(__op);
2363 return __o->fetch_and(__op);
2377 return __o->fetch_and(__op, __m);
2389 return __o->fetch_and(__op, __m);
/external/compiler-rt/lib/tsan/rtl/
Dtsan_interceptors_mac.cc91 OSATOMIC_INTERCEPTORS_BITWISE(OSAtomicAnd, fetch_and, in OSATOMIC_INTERCEPTORS_ARITHMETIC()

12