Lines Matching refs:UnixSeqpacket

336 pub struct UnixSeqpacket {  struct
341 impl UnixSeqpacket { argument
370 Ok(UnixSeqpacket { fd }) in connect()
376 pub fn pair() -> io::Result<(UnixSeqpacket, UnixSeqpacket)> { in pair()
388 UnixSeqpacket::from_raw_fd(fds[0]), in pair()
389 UnixSeqpacket::from_raw_fd(fds[1]), in pair()
591 impl Drop for UnixSeqpacket { implementation
600 impl FromRawFd for UnixSeqpacket { implementation
607 impl AsRawFd for UnixSeqpacket { implementation
613 impl AsRawFd for &UnixSeqpacket { implementation
619 impl AsRawDescriptor for UnixSeqpacket { implementation
661 pub fn accept(&self) -> io::Result<UnixSeqpacket> { in accept() argument
669 Ok(unsafe { UnixSeqpacket::from_raw_fd(ret) }) in accept()
821 let res = UnixSeqpacket::connect("/path/not/exists"); in unix_seqpacket_path_not_exists()
846 UnixSeqpacket::connect(socket_path.as_path()).expect("UnixSeqpacket::connect failed"); in unix_seqpacket_path_exists_pass()
858 UnixSeqpacket::connect(socket_path.as_path()).expect("UnixSeqpacket::connect failed"); in unix_seqpacket_path_listener_accept()
875 let (s1, _s2) = UnixSeqpacket::pair().expect("failed to create socket pair"); in unix_seqpacket_zero_timeout()
883 let (s1, _s2) = UnixSeqpacket::pair().expect("failed to create socket pair"); in unix_seqpacket_read_timeout()
891 let (s1, _s2) = UnixSeqpacket::pair().expect("failed to create socket pair"); in unix_seqpacket_write_timeout()
898 let (s1, s2) = UnixSeqpacket::pair().expect("failed to create socket pair"); in unix_seqpacket_send_recv()
912 let (s1, s2) = UnixSeqpacket::pair().expect("failed to create socket pair"); in unix_seqpacket_send_fragments()
930 let (s1, s2) = UnixSeqpacket::pair().expect("failed to create socket pair"); in unix_seqpacket_get_readable_bytes()
947 let (s1, s2) = UnixSeqpacket::pair().expect("failed to create socket pair"); in unix_seqpacket_next_packet_size()
967 let (s1, s2) = UnixSeqpacket::pair().expect("failed to create socket pair"); in unix_seqpacket_recv_to_vec()
978 let (s1, s2) = UnixSeqpacket::pair().expect("failed to create socket pair"); in unix_seqpacket_recv_as_vec()