Home
last modified time | relevance | path

Searched refs:ssock (Results 1 – 9 of 9) sorted by relevance

/third_party/rust/crates/nix/test/sys/
Dtest_socket.rs84 let ssock = socket( in test_timestamping() localVariable
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() localVariable
388 ssock, in udp()
427 let ssock = socket( in gso() localVariable
439 ssock, in gso()
508 let ssock = socket( in udp_sendmmsg() localVariable
518 ssock, in udp_sendmmsg()
[all …]
Dtest_sockopt.rs128 let ssock = socket( in test_so_tcp_maxseg() localVariable
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()
/third_party/python/Lib/test/test_asyncio/
Dutils.py164 ssock = context.wrap_socket(request, server_side=True)
166 self.RequestHandlerClass(ssock, client_address, self)
167 ssock.close()
Dtest_proactor_events.py702 self.ssock, self.csock = mock.Mock(), mock.Mock()
705 return_value=(self.ssock, self.csock)):
712 ssock, csock = socketpair.return_value = (
716 self.assertIs(loop._ssock, ssock)
724 self.assertTrue(self.ssock.close.called)
750 self.proactor.recv.assert_called_with(self.ssock, 4096)
759 self.proactor.recv.assert_called_with(self.ssock, 4096)
Dtest_selector_events.py132 ssock = self.loop._ssock
133 ssock.fileno.return_value = 7
148 ssock.close.assert_called_with()
/third_party/openssl/test/helpers/
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/
Dsocket.py644 ssock, _ = lsock.accept()
650 return (ssock, csock)
/third_party/rust/crates/nix/src/sys/socket/
Dmod.rs1834 let ssock = socket( localVariable
1872 sendmsg(ssock, &iov1, &[], flags, Some(&sock_addr)).unwrap();
/third_party/python/Doc/library/
Dssl.rst93 with context.wrap_socket(sock, server_hostname=hostname) as ssock:
94 print(ssock.version())
105 with context.wrap_socket(sock, server_hostname=hostname) as ssock:
106 print(ssock.version())
117 with context.wrap_socket(sock, server_side=True) as ssock:
118 conn, addr = ssock.accept()