Home
last modified time | relevance | path

Searched refs:async_from (Results 1 – 21 of 21) sorted by relevance

/external/crosvm/cros_async/src/
Dio_source.rs226 let source = ex.async_from(f).unwrap(); in readvec()
244 let source = ex.async_from(f.try_clone().unwrap()).unwrap(); in writevec()
278 let source = ex.async_from(f).unwrap(); in readmem()
304 let source = ex.async_from(f.try_clone().unwrap()).unwrap(); in writemem()
327 let source = ex.async_from(f).unwrap(); in fsync()
358 let source = ex.async_from(f).unwrap(); in readmulti()
381 let source = ex.async_from(f).unwrap(); in writemulti()
405 let source = ex.async_from(f).unwrap(); in read_current_file_position()
431 let source = ex.async_from(f.try_clone().unwrap()).unwrap(); in write_current_file_position()
Dexecutor.rs215 fn async_from<'a, F: IntoAsync + 'a>(&self, f: F) -> AsyncResult<IoSource<F>>; in async_from() method
403 pub fn async_from<'a, F: IntoAsync + 'a>(&self, f: F) -> AsyncResult<IoSource<F>> { in async_from() method
406 Executor::Fd(ex) => ex.async_from(f), in async_from()
408 Executor::Uring(ex) => ex.async_from(f), in async_from()
410 Executor::Handle(ex) => ex.async_from(f), in async_from()
412 Executor::Overlapped(ex) => ex.async_from(f), in async_from()
414 Executor::Tokio(ex) => ex.async_from(f), in async_from()
428 _ => self.async_from(f), in async_overlapped_from()
Daudio_streams_async.rs88 source: self.async_from(AsyncWrapper::new(stream))?, in async_unix_stream()
108 self.async_from(AsyncWrapper::new(Descriptor(fd)))? in wait_fd_readable()
Dtimer.rs24 ex.async_from(timer) in new()
Dtokio_executor.rs82 fn async_from<'a, F: IntoAsync + 'a>(&self, f: F) -> AsyncResult<IoSource<F>> { in async_from() method
Dcommon_executor.rs152 fn async_from<'a, F: IntoAsync + 'a>(&self, f: F) -> AsyncResult<IoSource<F>> { in async_from() method
/external/crosvm/cros_async/src/sys/linux/
Devent.rs14 ex.async_from(event) in new()
48 ex.async_from(event) in new_poll()
56 ex.async_from(event) in new_uring()
Dtimer.rs46 ex.async_from(timer) in new_poll()
54 ex.async_from(timer) in new_uring()
Dasync_types.rs22 inner: ex.async_from(tube)?, in new()
During_source.rs391 let source = uring_ex.async_from(f).unwrap(); in await_uring_from_poll()
426 let source = poll_ex.async_from(f).unwrap(); in await_poll_from_uring()
/external/crosvm/cros_async/src/sys/windows/
Devent.rs18 ex.async_from(event).map(|io_source| EventAsync { in new()
27 ex.async_from(event).map(|io_source| EventAsync { in new_without_reset()
/external/crosvm/devices/src/virtio/vhost/user/device/handler/sys/
Dlinux.rs24 .async_from(h) in run_handler()
/external/crosvm/devices/src/virtio/vhost/user/device/gpu/sys/
Dlinux.rs90 .async_from(bridge) in start_platform_workers()
106 .async_from(ctx) in start_platform_workers()
/external/crosvm/devices/src/virtio/vhost/user/device/connection/sys/linux/
Dlistener.rs63 .async_from(AsyncWrapper::new(listener)) in run_with_handler()
/external/crosvm/disk/src/sys/
Dlinux.rs65 ex.async_from(disk) in new()
/external/crosvm/devices/src/virtio/vhost/user/device/net/sys/
Dwindows.rs198 .async_from(tap) in start_queue()
Dlinux.rs216 .async_from(tap) in start_queue()
/external/crosvm/devices/src/virtio/video/
Dworker.rs370 .async_from(AsyncWrapper::new( in run_async()
/external/crosvm/devices/src/virtio/vhost/user/device/
Dwl.rs232 .async_from(ctx) in start_queue()
/external/crosvm/disk/src/
Dzstd.rs310 inner: ex.async_from(self.file).map_err(DiskError::ToAsync)?, in to_async_disk()
Dandroid_sparse.rs327 inner: ex.async_from(self.file).map_err(DiskError::ToAsync)?, in to_async_disk()