Home
last modified time | relevance | path

Searched refs:SystemStream (Results 1 – 15 of 15) sorted by relevance

/external/crosvm/third_party/vmm_vhost/src/sys/
Dunix.rs14 pub type SystemStream = UnixStream; typedef
29 fn accept(&self) -> Result<SystemStream>; in accept() argument
33 fn accept(&self) -> Result<SystemStream> { in accept() argument
Dwindows.rs9 pub type SystemStream = Tube; typedef
/external/crosvm/third_party/vmm_vhost/src/connection/
Dwindows.rs13 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()
Dsocket.rs29 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/
Dslave_proxy.rs21 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()
Dmaster_req_handler.rs26 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()
Dsys.rs22 pub use platform::SystemStream;
Dslave_req_handler.rs21 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()
Dmaster.rs30 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
Dlib.rs49 pub use sys::SystemStream;
/external/crosvm/third_party/vmm_vhost/src/master_req_handler/
Dunix.rs52 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/
Dstub.rs19 pub type SystemStream = Stub; typedef
43 ) -> RutabagaResult<Option<SystemStream>> { in get_connection() argument
Dmod.rs26 pub use platform::SystemStream;
Dunix.rs61 pub type SystemStream = File; typedef
153 ) -> RutabagaResult<Option<SystemStream>> { in get_connection() argument
/external/crosvm/rutabaga_gfx/src/cross_domain/
Dcross_domain.rs33 use crate::cross_domain::sys::SystemStream;
90 pub(crate) connection: Option<SystemStream>,
159 connection: Option<SystemStream>, in new() argument