• Home
  • Raw
  • Download

Lines Matching refs:UnixSeqpacket

70 pub struct UnixSeqpacket {  struct
74 impl UnixSeqpacket { impl
103 Ok(UnixSeqpacket { fd }) in connect()
109 pub fn pair() -> io::Result<(UnixSeqpacket, UnixSeqpacket)> { in pair()
121 UnixSeqpacket::from_raw_fd(fds[0]), in pair()
122 UnixSeqpacket::from_raw_fd(fds[1]), in pair()
137 Ok(UnixSeqpacket { fd: new_fd }) in try_clone()
247 impl Drop for UnixSeqpacket { implementation
256 impl FromRawFd for UnixSeqpacket { implementation
263 impl AsRawFd for UnixSeqpacket { implementation
305 pub fn accept(&self) -> io::Result<UnixSeqpacket> { in accept() argument
313 Ok(unsafe { UnixSeqpacket::from_raw_fd(ret) }) in accept()
464 let res = UnixSeqpacket::connect("/path/not/exists"); in unix_seqpacket_path_not_exists()
489 UnixSeqpacket::connect(socket_path.as_path()).expect("UnixSeqpacket::connect failed"); in unix_seqpacket_path_exists_pass()
501 UnixSeqpacket::connect(socket_path.as_path()).expect("UnixSeqpacket::connect failed"); in unix_seqpacket_path_listener_accept()
518 let (s1, _s2) = UnixSeqpacket::pair().expect("failed to create socket pair"); in unix_seqpacket_zero_timeout()
526 let (s1, _s2) = UnixSeqpacket::pair().expect("failed to create socket pair"); in unix_seqpacket_read_timeout()
534 let (s1, _s2) = UnixSeqpacket::pair().expect("failed to create socket pair"); in unix_seqpacket_write_timeout()
541 let (s1, s2) = UnixSeqpacket::pair().expect("failed to create socket pair"); in unix_seqpacket_send_recv()
555 let (s1, s2) = UnixSeqpacket::pair().expect("failed to create socket pair"); in unix_seqpacket_send_fragments()
573 let (s1, s2) = UnixSeqpacket::pair().expect("failed to create socket pair"); in unix_seqpacket_get_readable_bytes()