Home
last modified time | relevance | path

Searched refs:ptr_eq (Results 1 – 19 of 19) sorted by relevance

/external/rust/crates/tokio/src/task/
Dlocal.rs653 Some(cx) if cx.shared.ptr_eq(self) => { in schedule()
663 fn ptr_eq(&self, other: &Shared) -> bool { in ptr_eq() method
683 assert!(cx.shared.ptr_eq(self)); in release()
/external/rust/crates/syn/src/
Ddiscouraged.rs168 if !Rc::ptr_eq(&self_unexp, &fork_unexp) { in advance_to()
/external/rust/crates/weak-table/tests/
Dsymbols.rs12 Rc::ptr_eq(&self.0, &other.0) in eq()
/external/rust/crates/tokio/src/runtime/thread_pool/
Dworker.rs617 self.shared.ptr_eq(&other.shared) && self.index == other.index in eq()
725 if self.ptr_eq(&cx.worker.shared) { in schedule()
829 fn ptr_eq(&self, other: &Shared) -> bool { in ptr_eq() method
/external/rust/crates/futures-channel/src/mpsc/
Dmod.rs482 Arc::ptr_eq(&self.inner, &other.inner) in same_receiver()
487 Arc::ptr_eq(&self.inner, inner) in is_connected_to()
663 Arc::ptr_eq(&self.inner, &other.inner) in same_receiver()
668 Arc::ptr_eq(&self.inner, receiver) in is_connected_to()
/external/rust/crates/tokio/src/net/unix/
Dsplit_owned.rs70 if Arc::ptr_eq(&read.inner, &write.inner) { in reunite()
/external/rust/crates/tokio/src/net/tcp/
Dsplit_owned.rs71 if Arc::ptr_eq(&read.inner, &write.inner) { in reunite()
/external/rust/crates/weak-table/
DREADME.md54 Rc::ptr_eq(&self.0, &other.0)
/external/rust/crates/tokio/src/io/
Dsplit.rs96 Arc::ptr_eq(&self.inner, &other.inner) in is_pair_of()
/external/rust/crates/futures-util/src/lock/
Dbilock.rs160 if Arc::ptr_eq(&self.arc, &other.arc) { in reunite()
/external/rust/crates/futures-channel/src/
Doneshot.rs387 Arc::ptr_eq(&self.inner, &receiver.inner) in is_connected_to()
/external/rust/crates/tokio/src/sync/mpsc/
Dchan.rs145 Arc::ptr_eq(&self.inner, &other.inner) in same_channel()
/external/rust/crates/crossbeam-epoch/src/
Dcollector.rs67 Arc::ptr_eq(&self.global, &rhs.global) in eq()
/external/crosvm/devices/src/usb/xhci/
Dxhci_transfer.rs215 Some(wt) => Arc::ptr_eq(&wt, t), in remove_transfer()
/external/rust/crates/tokio/src/runtime/
Dbasic_scheduler.rs444 Some(cx) if Arc::ptr_eq(self, &cx.shared) => { in schedule()
/external/rust/crates/crossbeam-channel/src/
Dchannel.rs1127 (ReceiverFlavor::At(a), ReceiverFlavor::At(b)) => Arc::ptr_eq(a, b), in same_channel()
1128 (ReceiverFlavor::Tick(a), ReceiverFlavor::Tick(b)) => Arc::ptr_eq(a, b), in same_channel()
/external/rust/crates/mio/src/sys/windows/
Dselector.rs379 Arc::ptr_eq(&self.inner.cp, other) in same_port()
/external/rust/crates/crossbeam-deque/src/
Ddeque.rs677 if Arc::ptr_eq(&self.inner, &dest.inner) { in steal_batch()
862 if Arc::ptr_eq(&self.inner, &dest.inner) { in steal_batch_and_pop()
/external/crosvm/devices/src/virtio/gpu/
Dvirtio_gpu.rs276 if Rc::ptr_eq(self_display, &self.display) { in import_to_display()