/external/rust/crates/tokio/src/sync/tests/ |
D | atomic_waker.rs | 44 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()
|
D | loom_atomic_waker.rs | 51 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()
|
D | notify.rs | 5 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/ |
D | noop_waker.rs | 4 use core::task::{RawWaker, RawWakerVTable, Waker}; 12 const NOOP_WAKER_VTABLE: RawWakerVTable = RawWakerVTable::new(noop_clone, noop, noop, noop);
|
D | waker.rs | 4 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()
|
D | lib.rs | 50 pub use core::task::{Context, Poll, RawWaker, RawWakerVTable, Waker};
|
/external/rust/crates/futures-test/src/task/ |
D | panic_waker.rs | 2 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/ |
D | waker.rs | 9 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/ |
D | wake.rs | 6 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/ |
D | waker.rs | 8 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/ |
D | mod.rs | 4 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/ |
D | task.rs | 10 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/ |
D | mod.rs | 10 pub use core::task::{Context, Poll, RawWaker, RawWakerVTable, Waker};
|
/external/rust/crates/futures-util/src/task/ |
D | mod.rs | 14 pub use core::task::{Context, Poll, RawWaker, RawWakerVTable, Waker};
|
/external/rust/crates/tokio/src/runtime/ |
D | park.rs | 227 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/ |
D | raw.rs | 8 use core::task::{Context, Poll, RawWaker, RawWakerVTable, Waker}; 127 const RAW_WAKER_VTABLE: RawWakerVTable = RawWakerVTable::new(
|
/external/rust/crates/futures-util/src/compat/ |
D | compat03as01.rs | 10 task::{RawWaker, RawWakerVTable}, 179 let vtable = &RawWakerVTable::new(clone, wake, wake, drop); in as_waker()
|