Home
last modified time | relevance | path

Searched defs:RawWaker (Results 1 – 10 of 10) sorted by relevance

/external/rust/crates/futures-task/src/
Dnoop_waker.rs6 unsafe fn noop_clone(_data: *const ()) -> RawWaker { in noop_clone()
52 unsafe { &*(&NOOP_WAKER_INSTANCE.0 as *const RawWaker as *const Waker) } in noop_waker_ref() constant
Dwaker.rs42 unsafe fn clone_arc_raw<T: ArcWake>(data: *const ()) -> RawWaker { in clone_arc_raw()
/external/rust/crates/async-trait/tests/executor/
Dmod.rs9 unsafe fn clone(_null: *const ()) -> RawWaker { in block_on_simple()
/external/crosvm/cros_async/src/
Dwaker.rs31 unsafe fn clone_weak_raw<W: WeakWake>(data: *const ()) -> RawWaker { in clone_weak_raw()
/external/rust/crates/tokio/src/util/
Dwake.rs64 unsafe fn clone_arc_raw<T: Wake>(data: *const ()) -> RawWaker { in clone_arc_raw()
/external/rust/crates/tokio-test/src/
Dtask.rs221 unsafe fn to_raw(waker: Arc<ThreadWaker>) -> RawWaker { in to_raw()
229 unsafe fn clone(raw: *const ()) -> RawWaker { in clone()
/external/rust/crates/tokio/src/park/
Dthread.rs315 unsafe fn unparker_to_raw_waker(unparker: Arc<Inner>) -> RawWaker { in unparker_to_raw_waker()
322 unsafe fn clone(raw: *const ()) -> RawWaker { in clone()
/external/rust/crates/tokio/src/signal/unix/
Ddriver.rs133 unsafe fn noop_clone(_data: *const ()) -> RawWaker { in noop_clone()
/external/rust/crates/async-task/src/
Draw.rs313 unsafe fn clone_waker(ptr: *const ()) -> RawWaker { in clone_waker()
/external/rust/crates/futures-util/src/compat/
Dcompat03as01.rs189 unsafe fn clone(ptr: *const ()) -> RawWaker { in as_waker()