Searched refs:SystemStream (Results 1 – 15 of 15) sorted by relevance
/external/crosvm/third_party/vmm_vhost/src/sys/ |
D | unix.rs | 14 pub type SystemStream = UnixStream; typedef 29 fn accept(&self) -> Result<SystemStream>; in accept() argument 33 fn accept(&self) -> Result<SystemStream> { in accept() argument
|
D | windows.rs | 9 pub type SystemStream = Tube; typedef
|
/external/crosvm/third_party/vmm_vhost/src/connection/ |
D | windows.rs | 13 use crate::SystemStream; 18 let (master_tube, slave_tube) = SystemStream::pair().unwrap(); in create_pair() 30 let (master_tube, slave_tube) = SystemStream::pair().unwrap(); in create_master_slave_pair()
|
D | socket.rs | 29 use crate::SystemStream; 75 type Connection = SystemStream; 126 sock: SystemStream, 130 impl<R: Req> From<SystemStream> for Endpoint<R> { 131 fn from(sock: SystemStream) -> Self { in from() 146 let sock = SystemStream::connect(path).map_err(Error::SocketConnect)?; in connect() 227 let tube = unsafe { SystemStream::from_raw_descriptor(file.into_raw_descriptor()) }; in create_slave_request_endpoint() 238 impl<T: Req> AsMut<SystemStream> for Endpoint<T> { 239 fn as_mut(&mut self) -> &mut SystemStream { in as_mut() argument
|
/external/crosvm/third_party/vmm_vhost/src/ |
D | slave_proxy.rs | 21 use crate::SystemStream; 120 pub fn from_stream(sock: SystemStream) -> Self { in from_stream() 195 use crate::SystemStream; 199 let (p1, _p2) = SystemStream::pair().unwrap(); in test_slave_req_set_failed() 209 let (p1, p2) = SystemStream::pair().unwrap(); in test_slave_recv_negative()
|
D | master_req_handler.rs | 26 use crate::SystemStream; 230 tx_sock: Option<SystemStream>, 232 serialize_tx: Box<dyn Fn(SystemStream) -> SafeDescriptor + Send>, 251 serialize_tx: Box<dyn Fn(SystemStream) -> SafeDescriptor + Send>, in new() 253 let (tx, rx) = SystemStream::pair()?; in new()
|
D | sys.rs | 22 pub use platform::SystemStream;
|
D | slave_req_handler.rs | 21 use crate::SystemStream; 553 pub fn from_stream(socket: SystemStream, backend: S) -> Self { in from_stream() argument 1140 use crate::SystemStream; 1144 let (p1, _p2) = SystemStream::pair().unwrap(); in test_slave_req_handler_new()
|
D | master.rs | 30 use crate::SystemStream; 94 impl<E: Endpoint<MasterReq> + From<SystemStream>> Master<E> { 96 pub fn from_stream(sock: SystemStream, max_queue_num: u64) -> Self { in from_stream() argument
|
D | lib.rs | 49 pub use sys::SystemStream;
|
/external/crosvm/third_party/vmm_vhost/src/master_req_handler/ |
D | unix.rs | 52 use crate::SystemStream; 94 let stream = unsafe { SystemStream::from_raw_descriptor(fd) }; in test_master_slave_req_handler() 125 let stream = unsafe { SystemStream::from_raw_descriptor(fd) }; in test_master_slave_req_handler_with_ack()
|
/external/crosvm/rutabaga_gfx/src/cross_domain/sys/ |
D | stub.rs | 19 pub type SystemStream = Stub; typedef 43 ) -> RutabagaResult<Option<SystemStream>> { in get_connection() argument
|
D | mod.rs | 26 pub use platform::SystemStream;
|
D | unix.rs | 61 pub type SystemStream = File; typedef 153 ) -> RutabagaResult<Option<SystemStream>> { in get_connection() argument
|
/external/crosvm/rutabaga_gfx/src/cross_domain/ |
D | cross_domain.rs | 33 use crate::cross_domain::sys::SystemStream; 90 pub(crate) connection: Option<SystemStream>, 159 connection: Option<SystemStream>, in new() argument
|