Home
last modified time | relevance | path

Searched refs:pin_mut (Results 1 – 24 of 24) sorted by relevance

/external/rust/crates/async-stream/tests/
Dstream.rs4 use futures_util::pin_mut;
12 pin_mut!(s); in noop_stream()
29 pin_mut!(s); in empty_stream()
56 pin_mut!(s); in fused()
112 pin_mut!(s); in consume_channel()
137 pin_mut!(s); in borrow_self()
151 pin_mut!(s); in stream_in_stream()
/external/rust/crates/pin-utils/tests/
Dstack_pin.rs3 use pin_utils::pin_mut;
10 pin_mut!(foo); in stack_pin()
15 pin_mut!( in stack_pin()
Dprojection.rs1 use pin_utils::{unsafe_pinned, unsafe_unpinned, pin_mut};
20 pin_mut!(foo); in projection()
/external/crosvm/devices/src/virtio/vhost/user/
Dworker.rs7 use futures::pin_mut;
59 pin_mut!(resample); in run()
70 pin_mut!(kill); in run()
/external/rust/crates/async-stream/
DREADME.md24 use futures_util::pin_mut;
35 pin_mut!(s); // needed for iteration
49 use futures_util::pin_mut;
63 pin_mut!(s); // needed for iteration
77 use futures_util::pin_mut;
92 pin_mut!(input);
102 pin_mut!(s); // needed for iteration
/external/rust/crates/futures/tests/
Dstream_peekable.rs4 use futures::pin_mut; in peekable()
9 pin_mut!(peekable); in peekable()
Dasync_await_macros.rs3 use futures::{pending, pin_mut, poll}; in poll_and_pending()
9 pin_mut!(pending_once); in poll_and_pending()
17 use futures::{pin_mut, poll, join}; in join()
31 pin_mut!(fut); in join()
Dsink.rs665 futures::pin_mut!(unfold); in sink_unfold()
/external/rust/crates/async-stream/examples/
Dtcp_accept.rs2 use futures_util::pin_mut;
16 pin_mut!(incoming); in main()
/external/crosvm/devices/src/virtio/
Dballoon.rs11 use futures::{channel::mpsc, pin_mut, StreamExt};
336 pin_mut!(inflate); in run_worker()
348 pin_mut!(deflate); in run_worker()
363 pin_mut!(stats); in run_worker()
367 pin_mut!(command); in run_worker()
371 pin_mut!(resample); in run_worker()
376 pin_mut!(kill); in run_worker()
Dblock_async.rs16 use futures::pin_mut;
531 pin_mut!(disk_flush); in run_worker()
535 pin_mut!(control); in run_worker()
539 pin_mut!(resample); in run_worker()
544 pin_mut!(kill); in run_worker()
/external/rust/cxx/tests/
Dtest.rs231 assert_eq!(2021, unique_ptr.pin_mut().set(2021)); in test_c_method_calls()
235 assert_eq!(2021, *unique_ptr.pin_mut().getMut()); in test_c_method_calls()
236 assert_eq!(2022, unique_ptr.pin_mut().set_succeed(2022).unwrap()); in test_c_method_calls()
237 assert!(unique_ptr.pin_mut().get_fail().is_err()); in test_c_method_calls()
331 check!(e.pin_mut().c_take_opaque_mut_ref_method()); in test_extern_opaque()
343 assert_eq!(2023, c_unique.pin_mut().set_succeed(2023).unwrap()); in test_raw_ptr()
/external/rust/crates/futures-executor/src/
Dlocal_pool.rs7 use futures_util::pin_mut;
172 pin_mut!(future); in run_until()
316 pin_mut!(f); in block_on()
/external/rust/crates/pin-utils/src/
Dstack_pin.rs14 macro_rules! pin_mut { macro
/external/libchromeos-rs/src/sync/
Dblocking.rs11 use futures::pin_mut;
63 pin_mut!(f); in block_on()
/external/crosvm/cros_async/src/sync/
Dblocking.rs11 use futures::pin_mut;
63 pin_mut!(f); in block_on()
/external/rust/crates/pin-utils/
DREADME.md22 use pin_utils::pin_mut; // And more...
/external/rust/crates/futures-util/src/future/future/
Dmod.rs21 use pin_utils::pin_mut;
604 pin_mut!(this); in now_or_never()
/external/rust/crates/futures/src/
Dlib.rs127 pub use futures_util::pin_mut;
/external/crosvm/cros_async/src/
Dfd_executor.rs23 use pin_utils::pin_mut;
317 pin_mut!(done); in run()
During_executor.rs70 use pin_utils::pin_mut;
353 pin_mut!(done); in run()
/external/rust/cxx/src/
Dunique_ptr.rs78 pub fn pin_mut(&mut self) -> Pin<&mut T> { in pin_mut() function
/external/rust/crates/futures-channel/tests/
Dmpsc.rs7 use futures::pin_mut;
32 pin_mut!(tx, rx); in send_recv_no_buffer()
/external/rust/crates/futures-util/src/
Dlib.rs34 pub use pin_utils::pin_mut;