Home
last modified time | relevance | path

Searched refs:set_nonblocking (Results 1 – 13 of 13) sorted by relevance

/external/rust/crates/vmm_vhost/src/vhost_user/
Dslave.rs43 pub fn set_nonblocking(&self, block: bool) -> Result<()> { in set_nonblocking() method
44 self.listener.set_nonblocking(block) in set_nonblocking()
62 slave_listener.set_nonblocking(true).unwrap(); in test_slave_listener_set_nonblocking()
63 slave_listener.set_nonblocking(false).unwrap(); in test_slave_listener_set_nonblocking()
64 slave_listener.set_nonblocking(false).unwrap(); in test_slave_listener_set_nonblocking()
65 slave_listener.set_nonblocking(true).unwrap(); in test_slave_listener_set_nonblocking()
66 slave_listener.set_nonblocking(true).unwrap(); in test_slave_listener_set_nonblocking()
79 slave_listener.set_nonblocking(true).unwrap(); in test_slave_listener_accept()
Dconnection.rs74 pub fn set_nonblocking(&self, block: bool) -> Result<()> { in set_nonblocking() method
75 self.fd.set_nonblocking(block).map_err(Error::SocketError) in set_nonblocking()
632 listener.set_nonblocking(true).unwrap(); in accept_connection()
645 listener.set_nonblocking(true).unwrap(); in send_data()
673 listener.set_nonblocking(true).unwrap(); in send_fd()
829 listener.set_nonblocking(true).unwrap(); in send_recv()
Dmaster.rs719 listener.set_nonblocking(true).unwrap(); in create_pair()
731 listener.set_nonblocking(true).unwrap(); in create_master()
765 listener.set_nonblocking(true).unwrap(); in test_create_failure()
/external/rust/crates/gdbstub/src/connection/impls/
Dtcpstream.rs11 self.set_nonblocking(false)?; in read()
23 self.set_nonblocking(false)?; in read_exact()
29 self.set_nonblocking(true)?; in peek()
Dunixstream.rs55 self.set_nonblocking(false)?; in read()
67 self.set_nonblocking(false)?; in read_exact()
73 self.set_nonblocking(true)?; in peek()
/external/rust/crates/mio/src/sys/unix/
Dpipe.rs216 pub fn set_nonblocking(&self, nonblocking: bool) -> io::Result<()> { in set_nonblocking() method
217 set_nonblocking(self.inner.as_raw_fd(), nonblocking) in set_nonblocking()
313 pub fn set_nonblocking(&self, nonblocking: bool) -> io::Result<()> { in set_nonblocking() method
314 set_nonblocking(self.inner.as_raw_fd(), nonblocking) in set_nonblocking()
403 fn set_nonblocking(fd: RawFd, nonblocking: bool) -> io::Result<()> { in set_nonblocking() function
413 fn set_nonblocking(fd: RawFd, nonblocking: bool) -> io::Result<()> { in set_nonblocking() function
/external/crosvm/sys_util/src/
Dvsock.rs177 unsafe fn set_nonblocking(fd: RawFd, nonblocking: bool) -> io::Result<()> { in set_nonblocking() function
321 pub fn set_nonblocking(&mut self, nonblocking: bool) -> io::Result<()> { in set_nonblocking() method
323 unsafe { set_nonblocking(self.fd, nonblocking) } in set_nonblocking()
370 pub fn set_nonblocking(&mut self, nonblocking: bool) -> io::Result<()> { in set_nonblocking() method
371 self.sock.set_nonblocking(nonblocking) in set_nonblocking()
486 pub fn set_nonblocking(&mut self, nonblocking: bool) -> io::Result<()> { in set_nonblocking() method
487 self.sock.set_nonblocking(nonblocking) in set_nonblocking()
/external/libchromeos-rs/src/
Dvsock.rs177 unsafe fn set_nonblocking(fd: RawFd, nonblocking: bool) -> io::Result<()> { in set_nonblocking() function
317 pub fn set_nonblocking(&mut self, nonblocking: bool) -> io::Result<()> { in set_nonblocking() method
319 unsafe { set_nonblocking(self.fd, nonblocking) } in set_nonblocking()
366 pub fn set_nonblocking(&mut self, nonblocking: bool) -> io::Result<()> { in set_nonblocking() method
367 self.sock.set_nonblocking(nonblocking) in set_nonblocking()
482 pub fn set_nonblocking(&mut self, nonblocking: bool) -> io::Result<()> { in set_nonblocking() method
483 self.sock.set_nonblocking(nonblocking) in set_nonblocking()
/external/rust/crates/tokio/tests/
Dtcp_into_std.rs23 .set_nonblocking(false) in tcp_into_std()
36 .set_nonblocking(true) in tcp_into_std()
Dio_async_fd.rs120 fn set_nonblocking(fd: RawFd) { in set_nonblocking() function
150 set_nonblocking(fds.0.fd); in socketpair()
151 set_nonblocking(fds.1.fd); in socketpair()
/external/rust/crates/tokio/src/process/unix/
Dmod.rs186 set_nonblocking(&mut fd, false)?; in convert_to_stdio()
219 fn set_nonblocking<T: AsRawFd>(fd: &mut T, nonblocking: bool) -> io::Result<()> { in set_nonblocking() function
253 set_nonblocking(&mut pipe, true)?; in stdio()
/external/rust/crates/vsock/src/
Dlib.rs183 pub fn set_nonblocking(&self, nonblocking: bool) -> Result<()> { in set_nonblocking() method
390 pub fn set_nonblocking(&self, nonblocking: bool) -> Result<()> { in set_nonblocking() method
/external/crosvm/gpu_display/src/
Devent_device.rs49 let _ = event_socket.set_nonblocking(true); in new()