Searched refs:ArcWake (Results 1 – 24 of 24) sorted by relevance
/external/rust/crates/futures-task/src/ |
D | waker.rs | 1 use super::arc_wake::ArcWake; 6 pub(super) fn waker_vtable<W: ArcWake>() -> &'static RawWakerVTable { in waker_vtable() 21 W: ArcWake + 'static, in waker() 34 unsafe fn increase_refcount<T: ArcWake>(data: *const ()) { in increase_refcount() 42 unsafe fn clone_arc_raw<T: ArcWake>(data: *const ()) -> RawWaker { in clone_arc_raw() 47 unsafe fn wake_arc_raw<T: ArcWake>(data: *const ()) { in wake_arc_raw() 49 ArcWake::wake(arc); in wake_arc_raw() 53 unsafe fn wake_by_ref_arc_raw<T: ArcWake>(data: *const ()) { in wake_by_ref_arc_raw() 56 ArcWake::wake_by_ref(&arc); in wake_by_ref_arc_raw() 59 unsafe fn drop_arc_raw<T: ArcWake>(data: *const ()) { in drop_arc_raw()
|
D | waker_ref.rs | 1 use super::arc_wake::{ArcWake}; 60 W: ArcWake in waker_ref()
|
D | arc_wake.rs | 20 pub trait ArcWake: Send + Sync { trait
|
D | lib.rs | 33 pub use crate::arc_wake::ArcWake;
|
/external/rust/crates/futures/tests/ |
D | arc_wake.rs | 2 use futures::task::{self, ArcWake, Waker}; 21 impl ArcWake for CountingWaker { 64 use futures::task::{self, ArcWake, Waker}; in proper_refcount_on_wake_panic() 69 impl ArcWake for PanicWaker { in proper_refcount_on_wake_panic()
|
D | sink.rs | 34 use futures::task::{self, ArcWake, Context}; 55 impl ArcWake for Flag {
|
/external/rust/crates/futures-util/benches_disabled/ |
D | bilock.rs | 10 use futures_util::task::ArcWake; 18 impl ArcWake for Noop { in notify_noop() 22 ArcWake::into_waker(Arc::new(Noop)) in notify_noop()
|
/external/rust/crates/futures-util/src/stream/futures_unordered/ |
D | task.rs | 6 use crate::task::{ArcWake, WakerRef, waker_ref}; 44 impl<Fut> ArcWake for Task<Fut> {
|
/external/rust/crates/tokio/tests/ |
D | io_driver.rs | 8 use futures::task::{waker_ref, ArcWake}; 19 impl<T: Send> ArcWake for Task<T> {
|
D | sync_notify.rs | 106 use futures::task::ArcWake; in notify_in_drop_after_wake() 114 impl ArcWake for NotifyOnDrop { in notify_in_drop_after_wake()
|
D | time_sleep.rs | 375 impl futures::task::ArcWake for DropWaker { in drop_from_wake()
|
D | io_async_fd.rs | 34 impl futures::task::ArcWake for TestWakerInner {
|
/external/libchromeos-rs/src/sync/ |
D | blocking.rs | 12 use futures::task::{waker_ref, ArcWake}; 32 impl ArcWake for Waker {
|
D | cv.rs | 490 use futures::task::{waker_ref, ArcWake}; 499 impl ArcWake for TestWaker {
|
D | mu.rs | 1019 use futures::task::{waker_ref, ArcWake}; 1031 impl ArcWake for TestWaker {
|
/external/crosvm/cros_async/src/sync/ |
D | blocking.rs | 12 use futures::task::{waker_ref, ArcWake}; 32 impl ArcWake for Waker {
|
D | cv.rs | 455 use futures::task::{waker_ref, ArcWake}; 464 impl ArcWake for TestWaker {
|
D | mu.rs | 896 use futures::task::{waker_ref, ArcWake}; 908 impl ArcWake for TestWaker {
|
/external/rust/crates/grpcio/src/task/ |
D | executor.rs | 16 use futures::task::{waker_ref, ArcWake, Context, Poll}; 148 impl ArcWake for SpawnTask {
|
/external/rust/crates/futures-util/src/task/ |
D | mod.rs | 27 pub use futures_task::ArcWake;
|
/external/rust/crates/futures-executor/src/ |
D | local_pool.rs | 5 use futures_task::{waker_ref, ArcWake}; 60 impl ArcWake for ThreadNotify {
|
D | thread_pool.rs | 6 use futures_task::{ArcWake, waker_ref}; 356 impl ArcWake for WakeHandle {
|
/external/rust/crates/futures-util/src/future/future/ |
D | shared.rs | 1 use crate::task::{waker_ref, ArcWake}; 357 impl ArcWake for Notifier {
|
/external/rust/crates/futures-util/src/compat/ |
D | compat03as01.rs | 18 ArcWake as ArcWake03,
|