Home
last modified time | relevance | path

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

/external/rust/crates/futures-task/src/
Dlib.rs41 mod waker_ref;
43 pub use crate::waker_ref::{waker_ref, WakerRef};
Dwaker_ref.rs58 pub fn waker_ref<W>(wake: &Arc<W>) -> WakerRef<'_> in waker_ref() function
/external/rust/crates/futures-util/src/stream/futures_unordered/
Dtask.rs6 use crate::task::{ArcWake, WakerRef, waker_ref};
73 pub(super) fn waker_ref(this: &Arc<Self>) -> WakerRef<'_> { in waker_ref() method
74 waker_ref(this) in waker_ref()
Dmod.rs536 let waker = Task::waker_ref(bomb.task.as_ref().unwrap()); in poll_next()
/external/rust/crates/tokio/tests/
Dio_driver.rs8 use futures::task::{waker_ref, ArcWake};
71 let waker = waker_ref(&task); in test_drop_on_notify()
/external/rust/crates/tokio/src/runtime/task/
Dharness.rs3 use crate::runtime::task::waker::waker_ref;
87 let waker_ref = waker_ref::<T, S>(self.header()); in poll_inner() localVariable
88 let cx = Context::from_waker(&*waker_ref); in poll_inner()
Dwaker.rs18 pub(super) fn waker_ref<T, S>(header: &Header) -> WakerRef<'_, S> in waker_ref() function
/external/rust/crates/futures-executor/src/
Dlocal_pool.rs5 use futures_task::{waker_ref, ArcWake};
84 let waker = waker_ref(thread_notify); in run_executor()
113 let waker = waker_ref(thread_notify); in poll_executor()
Dthread_pool.rs6 use futures_task::{ArcWake, waker_ref};
317 let waker = waker_ref(&wake_handle); in run()
/external/rust/crates/tokio/src/runtime/
Dshell.rs7 use crate::util::{waker_ref, Wake};
107 let waker = waker_ref(&self.shell.unpark); in block_on()
Dbasic_scheduler.rs8 use crate::util::{waker_ref, Wake, WakerRef};
204 let waker = scheduler.spawner.waker_ref(); in block_on()
396 fn waker_ref(&self) -> WakerRef<'_> { in waker_ref() method
399 waker_ref(&self.shared) in waker_ref()
/external/libchromeos-rs/src/sync/
Dblocking.rs12 use futures::task::{waker_ref, ArcWake};
66 let waker = waker_ref(thread_waker); in block_on()
Dmu.rs1019 use futures::task::{waker_ref, ArcWake};
1509 let waker = waker_ref(&arc_waker); in wake_all_readers()
1596 let waker = waker_ref(&arc_waker); in long_wait()
1654 let waker = waker_ref(&arc_waker); in cancel_long_wait_before_wake()
1701 let waker = waker_ref(&arc_waker); in cancel_long_wait_after_wake()
1754 let waker = waker_ref(&arc_waker); in designated_waker()
1824 let waker = waker_ref(&arc_waker); in cancel_designated_waker()
1855 let waker = waker_ref(&arc_waker); in cancel_before_wake()
1918 let waker = waker_ref(&arc_waker); in cancel_after_wake()
1987 let waker = waker_ref(&arc_waker); in timeout()
[all …]
Dcv.rs490 use futures::task::{waker_ref, ArcWake};
975 let waker = waker_ref(&arc_waker); in wake_all_readers()
1018 let waker = waker_ref(&arc_waker); in cancel_before_notify()
1063 let waker = waker_ref(&arc_waker); in cancel_after_notify()
1107 let waker = waker_ref(&arc_waker); in cancel_after_transfer()
1162 let waker = waker_ref(&arc_waker); in cancel_after_transfer_and_wake()
1228 let waker = waker_ref(&arc_waker); in timed_wait()
/external/crosvm/cros_async/src/sync/
Dblocking.rs12 use futures::task::{waker_ref, ArcWake};
66 let waker = waker_ref(thread_waker); in block_on()
Dmu.rs896 use futures::task::{waker_ref, ArcWake};
1388 let waker = waker_ref(&arc_waker); in wake_all_readers()
1476 let waker = waker_ref(&arc_waker); in long_wait()
1534 let waker = waker_ref(&arc_waker); in cancel_long_wait_before_wake()
1581 let waker = waker_ref(&arc_waker); in cancel_long_wait_after_wake()
1634 let waker = waker_ref(&arc_waker); in designated_waker()
1704 let waker = waker_ref(&arc_waker); in cancel_designated_waker()
1735 let waker = waker_ref(&arc_waker); in cancel_before_wake()
1798 let waker = waker_ref(&arc_waker); in cancel_after_wake()
1867 let waker = waker_ref(&arc_waker); in timeout()
[all …]
Dcv.rs455 use futures::task::{waker_ref, ArcWake};
939 let waker = waker_ref(&arc_waker); in wake_all_readers()
982 let waker = waker_ref(&arc_waker); in cancel_before_notify()
1027 let waker = waker_ref(&arc_waker); in cancel_after_notify_one()
1071 let waker = waker_ref(&arc_waker); in cancel_after_notify_all()
1136 let waker = waker_ref(&arc_waker); in timed_wait()
/external/rust/crates/grpcio/src/task/
Dexecutor.rs16 use futures::task::{waker_ref, ArcWake, Context, Poll};
197 let waker = waker_ref(&task); in poll()
/external/rust/crates/futures-util/src/task/
Dmod.rs33 pub use futures_task::{waker_ref, WakerRef};
/external/rust/crates/tokio/src/util/
Dmod.rs23 pub(crate) use wake::{waker_ref, Wake};
Dwake.rs32 pub(crate) fn waker_ref<W: Wake>(wake: &Arc<W>) -> WakerRef<'_> { in waker_ref() function
/external/rust/crates/futures/tests/
Darc_wake.rs54 let w2 = task::waker_ref(&some_w); in ref_wake_same()
Dsink.rs66 let waker = task::waker_ref(&flag); in flag_cx()
/external/rust/crates/futures-util/src/future/future/
Dshared.rs1 use crate::task::{waker_ref, ArcWake};
262 let waker = waker_ref(&inner.notifier); in poll()