Home
last modified time | relevance | path

Searched refs:ssock (Results 1 - 8 of 8) sorted by relevance

/third_party/rust/crates/nix/test/sys/
H A Dtest_sockopt.rs128 let ssock = socket( in test_so_tcp_maxseg()
135 connect(ssock, &sock_addr).unwrap(); in test_so_tcp_maxseg()
138 let actual = getsockopt(ssock, sockopt::TcpMaxSeg).unwrap(); in test_so_tcp_maxseg()
151 close(ssock).unwrap(); in test_so_tcp_maxseg()
H A Dtest_socket.rs84 let ssock = socket( in test_timestamping()
110 sendmsg(ssock, &iov1, &[], flags, Some(&sock_addr)).unwrap(); in test_timestamping()
324 ssock: RawFd, in sendrecv()
339 l += f_send(ssock, &MSG[l..], MsgFlags::empty()).unwrap(); in sendrecv()
379 let ssock = socket( in udp()
388 ssock, in udp()
427 let ssock = socket( in gso()
439 ssock, in gso()
508 let ssock = socket( in udp_sendmmsg()
518 ssock, in udp_sendmmsg()
[all...]
/third_party/python/Lib/test/test_asyncio/
H A Dutils.py164 ssock = context.wrap_socket(request, server_side=True)
166 self.RequestHandlerClass(ssock, client_address, self)
167 ssock.close()
H A Dtest_proactor_events.py750 self.ssock, self.csock = mock.Mock(), mock.Mock()
753 return_value=(self.ssock, self.csock)):
760 ssock, csock = socketpair.return_value = (
764 self.assertIs(loop._ssock, ssock)
772 self.assertTrue(self.ssock.close.called)
798 self.proactor.recv.assert_called_with(self.ssock, 4096)
807 self.proactor.recv.assert_called_with(self.ssock, 4096)
H A Dtest_selector_events.py94 ssock = self.loop._ssock
95 ssock.fileno.return_value = 7
110 ssock.close.assert_called_with()
/third_party/openssl/test/helpers/
H A Dhandshake.c1297 static int create_sctp_socks(int *ssock, int *csock) in create_sctp_socks() argument
1364 *ssock = asock; in create_sctp_socks()
1475 int csock, ssock; in do_handshake_internal() local
1477 if (create_sctp_socks(&ssock, &csock)) { in do_handshake_internal()
1479 server_to_client = BIO_new_dgram_sctp(ssock, BIO_CLOSE); in do_handshake_internal()
/third_party/python/Lib/
H A Dsocket.py645 ssock, _ = lsock.accept()
651 return (ssock, csock)
/third_party/rust/crates/nix/src/sys/socket/
H A Dmod.rs1834 let ssock = socket( in test_recvmm2()
1872 sendmsg(ssock, &iov1, &[], flags, Some(&sock_addr)).unwrap(); in test_recvmm2()

Completed in 13 milliseconds