Home
last modified time | relevance | path

Searched refs:ArcWake (Results 1 – 24 of 24) sorted by relevance

/external/rust/crates/futures-task/src/
Dwaker.rs1 use super::arc_wake::ArcWake;
6 pub(super) fn waker_vtable<W: ArcWake>() -> &'static RawWakerVTable { in waker_vtable()
21 W: ArcWake + 'static, in waker()
34 unsafe fn increase_refcount<T: ArcWake>(data: *const ()) { in increase_refcount()
42 unsafe fn clone_arc_raw<T: ArcWake>(data: *const ()) -> RawWaker { in clone_arc_raw()
47 unsafe fn wake_arc_raw<T: ArcWake>(data: *const ()) { in wake_arc_raw()
49 ArcWake::wake(arc); in wake_arc_raw()
53 unsafe fn wake_by_ref_arc_raw<T: ArcWake>(data: *const ()) { in wake_by_ref_arc_raw()
56 ArcWake::wake_by_ref(&arc); in wake_by_ref_arc_raw()
59 unsafe fn drop_arc_raw<T: ArcWake>(data: *const ()) { in drop_arc_raw()
Dwaker_ref.rs1 use super::arc_wake::{ArcWake};
60 W: ArcWake in waker_ref()
Darc_wake.rs20 pub trait ArcWake: Send + Sync { trait
Dlib.rs33 pub use crate::arc_wake::ArcWake;
/external/rust/crates/futures/tests/
Darc_wake.rs2 use futures::task::{self, ArcWake, Waker};
21 impl ArcWake for CountingWaker {
64 use futures::task::{self, ArcWake, Waker}; in proper_refcount_on_wake_panic()
69 impl ArcWake for PanicWaker { in proper_refcount_on_wake_panic()
Dsink.rs34 use futures::task::{self, ArcWake, Context};
55 impl ArcWake for Flag {
/external/rust/crates/futures-util/benches_disabled/
Dbilock.rs10 use futures_util::task::ArcWake;
18 impl ArcWake for Noop { in notify_noop()
22 ArcWake::into_waker(Arc::new(Noop)) in notify_noop()
/external/rust/crates/futures-util/src/stream/futures_unordered/
Dtask.rs6 use crate::task::{ArcWake, WakerRef, waker_ref};
44 impl<Fut> ArcWake for Task<Fut> {
/external/rust/crates/tokio/tests/
Dio_driver.rs8 use futures::task::{waker_ref, ArcWake};
19 impl<T: Send> ArcWake for Task<T> {
Dsync_notify.rs106 use futures::task::ArcWake; in notify_in_drop_after_wake()
114 impl ArcWake for NotifyOnDrop { in notify_in_drop_after_wake()
Dtime_sleep.rs375 impl futures::task::ArcWake for DropWaker { in drop_from_wake()
Dio_async_fd.rs34 impl futures::task::ArcWake for TestWakerInner {
/external/libchromeos-rs/src/sync/
Dblocking.rs12 use futures::task::{waker_ref, ArcWake};
32 impl ArcWake for Waker {
Dcv.rs490 use futures::task::{waker_ref, ArcWake};
499 impl ArcWake for TestWaker {
Dmu.rs1019 use futures::task::{waker_ref, ArcWake};
1031 impl ArcWake for TestWaker {
/external/crosvm/cros_async/src/sync/
Dblocking.rs12 use futures::task::{waker_ref, ArcWake};
32 impl ArcWake for Waker {
Dcv.rs455 use futures::task::{waker_ref, ArcWake};
464 impl ArcWake for TestWaker {
Dmu.rs896 use futures::task::{waker_ref, ArcWake};
908 impl ArcWake for TestWaker {
/external/rust/crates/grpcio/src/task/
Dexecutor.rs16 use futures::task::{waker_ref, ArcWake, Context, Poll};
148 impl ArcWake for SpawnTask {
/external/rust/crates/futures-util/src/task/
Dmod.rs27 pub use futures_task::ArcWake;
/external/rust/crates/futures-executor/src/
Dlocal_pool.rs5 use futures_task::{waker_ref, ArcWake};
60 impl ArcWake for ThreadNotify {
Dthread_pool.rs6 use futures_task::{ArcWake, waker_ref};
356 impl ArcWake for WakeHandle {
/external/rust/crates/futures-util/src/future/future/
Dshared.rs1 use crate::task::{waker_ref, ArcWake};
357 impl ArcWake for Notifier {
/external/rust/crates/futures-util/src/compat/
Dcompat03as01.rs18 ArcWake as ArcWake03,