Home
last modified time | relevance | path

Searched refs:RawWakerVTable (Results 1 – 17 of 17) sorted by relevance

/external/rust/crates/tokio/src/sync/tests/
Datomic_waker.rs44 use std::task::{RawWaker, RawWakerVTable, Waker}; in atomic_waker_panic_safe()
46 static PANICKING_VTABLE: RawWakerVTable = RawWakerVTable::new( in atomic_waker_panic_safe()
53 static NONPANICKING_VTABLE: RawWakerVTable = RawWakerVTable::new( in atomic_waker_panic_safe()
Dloom_atomic_waker.rs51 use std::task::{RawWaker, RawWakerVTable, Waker}; in test_panicky_waker()
53 static PANICKING_VTABLE: RawWakerVTable = in test_panicky_waker()
54 RawWakerVTable::new(|_| panic!("clone"), |_| (), |_| (), |_| ()); in test_panicky_waker()
Dnotify.rs5 use std::task::{Context, RawWaker, RawWakerVTable, Waker};
12 const VTABLE: &RawWakerVTable = &RawWakerVTable::new(clone_w, wake, wake_by_ref, drop_w); in notify_clones_waker_before_lock()
/external/rust/crates/futures-task/src/
Dnoop_waker.rs4 use core::task::{RawWaker, RawWakerVTable, Waker};
12 const NOOP_WAKER_VTABLE: RawWakerVTable = RawWakerVTable::new(noop_clone, noop, noop, noop);
Dwaker.rs4 use core::task::{RawWaker, RawWakerVTable, Waker};
6 pub(super) fn waker_vtable<W: ArcWake>() -> &'static RawWakerVTable { in waker_vtable() argument
7 &RawWakerVTable::new( in waker_vtable()
Dlib.rs50 pub use core::task::{Context, Poll, RawWaker, RawWakerVTable, Waker};
/external/rust/crates/futures-test/src/task/
Dpanic_waker.rs2 use futures_core::task::{RawWaker, RawWakerVTable, Waker};
16 const PANIC_WAKER_VTABLE: RawWakerVTable =
17 RawWakerVTable::new(clone_panic_waker, wake_panic, wake_panic, noop);
/external/crosvm/cros_async/src/
Dwaker.rs9 use std::task::RawWakerVTable;
25 fn waker_vtable<W: WeakWake>() -> &'static RawWakerVTable { in waker_vtable() argument
26 &RawWakerVTable::new( in waker_vtable()
/external/rust/crates/tokio/src/util/
Dwake.rs6 use std::task::{RawWaker, RawWakerVTable, Waker};
44 fn waker_vtable<W: Wake>() -> &'static RawWakerVTable { in waker_vtable() argument
45 &RawWakerVTable::new( in waker_vtable()
/external/rust/crates/tokio/src/runtime/task/
Dwaker.rs8 use std::task::{RawWaker, RawWakerVTable, Waker};
98 static WAKER_VTABLE: RawWakerVTable =
99 RawWakerVTable::new(clone_waker, wake_by_val, wake_by_ref, drop_waker);
/external/rust/crates/async-trait/tests/executor/
Dmod.rs4 use std::task::{Context, Poll, RawWaker, RawWakerVTable, Waker};
24 let vtable = &RawWakerVTable::new(clone, wake, wake_by_ref, drop); in block_on_simple()
/external/rust/crates/tokio-test/src/
Dtask.rs10 use std::task::{Context, Poll, RawWaker, RawWakerVTable, Waker};
219 static VTABLE: RawWakerVTable = RawWakerVTable::new(clone, wake, wake_by_ref, drop_waker);
/external/rust/crates/futures-core/src/task/
Dmod.rs10 pub use core::task::{Context, Poll, RawWaker, RawWakerVTable, Waker};
/external/rust/crates/futures-util/src/task/
Dmod.rs14 pub use core::task::{Context, Poll, RawWaker, RawWakerVTable, Waker};
/external/rust/crates/tokio/src/runtime/
Dpark.rs227 use std::task::{RawWaker, RawWakerVTable, Waker};
320 &RawWakerVTable::new(clone, wake, wake_by_ref, drop_waker), in unparker_to_raw_waker()
/external/rust/crates/async-task/src/
Draw.rs8 use core::task::{Context, Poll, RawWaker, RawWakerVTable, Waker};
127 const RAW_WAKER_VTABLE: RawWakerVTable = RawWakerVTable::new(
/external/rust/crates/futures-util/src/compat/
Dcompat03as01.rs10 task::{RawWaker, RawWakerVTable},
179 let vtable = &RawWakerVTable::new(clone, wake, wake, drop); in as_waker()