Home
last modified time | relevance | path

Searched refs:poll_elapsed (Results 1 – 3 of 3) sorted by relevance

/external/rust/crates/tokio/src/time/driver/tests/
Dmod.rs56 entry.as_mut().poll_elapsed(cx) in single_timer()
88 .poll_elapsed(&mut Context::from_waker(futures::task::noop_waker_ref())); in drop_timer()
91 .poll_elapsed(&mut Context::from_waker(futures::task::noop_waker_ref())); in drop_timer()
119 .poll_elapsed(&mut Context::from_waker(futures::task::noop_waker_ref())); in change_waker()
122 entry.as_mut().poll_elapsed(cx) in change_waker()
157 .poll_elapsed(&mut Context::from_waker(futures::task::noop_waker_ref())); in reset_future()
163 entry.as_mut().poll_elapsed(cx) in reset_future()
206 .poll_elapsed(&mut Context::from_waker(noop_waker_ref())); in poll_process_levels()
216 assert!(future.as_mut().poll_elapsed(&mut context).is_ready()); in poll_process_levels()
218 assert!(future.as_mut().poll_elapsed(&mut context).is_pending()); in poll_process_levels()
[all …]
/external/rust/crates/tokio/src/time/driver/
Dsleep.rs225 fn poll_elapsed(self: Pin<&mut Self>, cx: &mut task::Context<'_>) -> Poll<Result<(), Error>> { in poll_elapsed() method
231 me.entry.poll_elapsed(cx).map(move |r| { in poll_elapsed()
251 match ready!(self.as_mut().poll_elapsed(cx)) { in poll()
Dentry.rs542 pub(crate) fn poll_elapsed( in poll_elapsed() method