Home
last modified time | relevance | path

Searched defs:RawWaker (Results 1 – 12 of 12) 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.rs40 unsafe fn clone_arc_raw<T: ArcWake>(data: *const ()) -> RawWaker { in clone_arc_raw()
/external/rust/crates/futures-test/src/task/
Dpanic_waker.rs4 unsafe fn clone_panic_waker(_data: *const ()) -> RawWaker { in clone_panic_waker()
59 unsafe { &*(&PANIC_WAKER_INSTANCE.0 as *const RawWaker as *const Waker) } in panic_waker_ref() constant
/external/rust/crates/tokio/src/runtime/task/
Dwaker.rs69 unsafe fn clone_waker(ptr: *const ()) -> RawWaker { in clone_waker()
101 fn raw_waker(header: NonNull<Header>) -> RawWaker { in raw_waker()
/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.rs34 unsafe fn clone_weak_raw<W: WeakWake>(data: *const ()) -> RawWaker { in clone_weak_raw()
/external/rust/crates/tokio/src/sync/tests/
Dnotify.rs14 unsafe fn clone_w(data: *const ()) -> RawWaker { in notify_clones_waker_before_lock()
/external/rust/crates/tokio/src/runtime/
Dpark.rs317 unsafe fn unparker_to_raw_waker(unparker: Arc<Inner>) -> RawWaker { in unparker_to_raw_waker()
324 unsafe fn clone(raw: *const ()) -> RawWaker { in clone()
/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/util/
Dwake.rs61 unsafe fn clone_arc_raw<T: Wake>(data: *const ()) -> RawWaker { in clone_arc_raw()
/external/rust/crates/futures-util/src/compat/
Dcompat03as01.rs165 unsafe fn clone(ptr: *const ()) -> RawWaker { in as_waker()
/external/rust/crates/async-task/src/
Draw.rs335 unsafe fn clone_waker(ptr: *const ()) -> RawWaker { in clone_waker()