Home
last modified time | relevance | path

Searched refs:poll_unpin (Results 1 – 25 of 25) sorted by relevance

/external/rust/crates/futures/tests/
Dmutex.rs9 assert!(mutex.lock().poll_unpin(&mut panic_context()).is_ready()); in mutex_acquire_uncontested()
22 let lock = mutex.lock().poll_unpin(&mut panic_context()); in mutex_wakes_waiters()
27 assert!(waiter.poll_unpin(&mut cx).is_pending()); in mutex_wakes_waiters()
33 assert!(waiter.poll_unpin(&mut panic_context()).is_ready()); in mutex_wakes_waiters()
Dstream_select_next_some.rs16 assert_eq!(select_next_some.poll_unpin(&mut cx), Poll::Pending); in is_terminated()
25 assert_eq!(select_next_some.poll_unpin(&mut cx), Poll::Ready(1)); in is_terminated()
27 assert_eq!(select_next_some.poll_unpin(&mut cx), Poll::Pending); in is_terminated()
Dfuse.rs10 assert!(future.poll_unpin(&mut cx).is_ready()); in fuse()
11 assert!(future.poll_unpin(&mut cx).is_pending()); in fuse()
Dsink.rs341 assert!(task.poll_unpin(cx).is_pending()); in mpsc_blocking_start_send()
345 unwrap(task.poll_unpin(cx)); in mpsc_blocking_start_send()
379 assert!(task.poll_unpin(cx).is_pending()); in with_flush()
383 unwrap(task.poll_unpin(cx)); in with_flush()
477 assert!(task.poll_unpin(cx).is_pending()); in with_flush_propagate()
482 unwrap(sink.flush().poll_unpin(cx)); in with_flush_propagate()
559 assert!(task.poll_unpin(cx).is_pending()); in buffer()
563 unwrap(task.poll_unpin(cx)); in buffer()
604 assert!(task.poll_unpin(cx).is_pending()); in fanout_backpressure()
607 assert!(task.poll_unpin(cx).is_pending()); in fanout_backpressure()
[all …]
Dabortable.rs27 assert_eq!(Poll::Pending, abortable_rx.poll_unpin(&mut cx)); in abortable_awakens()
31 assert_eq!(Poll::Ready(Err(Aborted)), abortable_rx.poll_unpin(&mut cx)); in abortable_awakens()
Dio_read_to_string.rs35 if let Poll::Ready(x) = f.poll_unpin(&mut cx) { in interleave_pending()
Dio_read_line.rs34 if let Poll::Ready(x) = f.poll_unpin(&mut cx) { in maybe_pending()
Dio_read_until.rs34 if let Poll::Ready(x) = f.poll_unpin(&mut cx) { in maybe_pending()
Dio_lines.rs11 if let Poll::Ready(x) = f.poll_unpin(&mut cx) { in run()
Dstream.rs148 assert!(s.next().poll_unpin(&mut cx).is_pending()); in ready_chunks()
Dio_buf_writer.rs53 if let Poll::Ready(x) = f.poll_unpin(&mut cx) { in run()
Dio_buf_reader.rs25 if let Poll::Ready(x) = f.poll_unpin(&mut cx) { in run()
Dfutures_unordered.rs220 self.future.poll_unpin(cx).map(Some) in iter_cancel()
/external/rust/crates/futures-util/src/future/
Dselect.rs99 match a.poll_unpin(cx) { in poll()
101 Poll::Pending => match b.poll_unpin(cx) { in poll()
Dselect_all.rs50 match f.poll_unpin(cx) { in poll()
/external/rust/crates/tokio/src/process/unix/
Dreap.rs224 assert!(grim.poll_unpin(&mut context).is_pending()); in reaper()
232 assert!(grim.poll_unpin(&mut context).is_pending()); in reaper()
239 if let Poll::Ready(r) = grim.poll_unpin(&mut context) { in reaper()
/external/rust/crates/futures-util/src/async_await/
Dpoll.rs37 Poll::Ready(self.future.poll_unpin(cx)) in poll()
/external/rust/crates/futures-channel/tests/
Dmpsc.rs601 assert_eq!(task.poll_unpin(&mut cx), Poll::Pending); in send_backpressure()
607 assert_eq!(task.poll_unpin(&mut cx), Poll::Ready(Ok(()))); in send_backpressure()
623 assert_eq!(task.poll_unpin(&mut cx), Poll::Pending); in send_backpressure_multi_senders()
629 assert_eq!(task.poll_unpin(&mut cx), Poll::Ready(Ok(()))); in send_backpressure_multi_senders()
Doneshot.rs72 match rx.poll_unpin(cx) { in close()
/external/crosvm/cros_async/src/
Dselect.rs53 complete |= self.$Fut.poll_unpin(cx).is_ready();
/external/rust/crates/tokio/src/process/
Dmod.rs1360 let _ = guard.poll_unpin(&mut context); in no_kill_if_reaped()
1366 let _ = guard.poll_unpin(&mut context); in no_kill_if_reaped()
1372 let _ = guard.poll_unpin(&mut context); in no_kill_if_reaped()
/external/rust/crates/futures-util/src/future/future/
Dremote_handle.rs61 match ready!(self.rx.poll_unpin(cx)) { in poll()
Dmod.rs558 fn poll_unpin(&mut self, cx: &mut Context<'_>) -> Poll<Self::Output> in poll_unpin() method
/external/rust/crates/futures-macro/src/
Dselect.rs209 __futures_crate::Some(__futures_crate::future::FutureExt::poll_unpin( in select_inner()
/external/rust/crates/futures-executor/src/
Dthread_pool.rs326 let res = future.poll_unpin(&mut cx); in run()