Searched refs:ssock (Results 1 – 9 of 9) sorted by relevance
/third_party/rust/crates/nix/test/sys/ |
D | test_socket.rs | 84 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 …]
|
D | test_sockopt.rs | 128 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/ |
D | utils.py | 164 ssock = context.wrap_socket(request, server_side=True) 166 self.RequestHandlerClass(ssock, client_address, self) 167 ssock.close()
|
D | test_proactor_events.py | 702 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)
|
D | test_selector_events.py | 132 ssock = self.loop._ssock 133 ssock.fileno.return_value = 7 148 ssock.close.assert_called_with()
|
/third_party/openssl/test/helpers/ |
D | handshake.c | 1297 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/ |
D | socket.py | 644 ssock, _ = lsock.accept() 650 return (ssock, csock)
|
/third_party/rust/crates/nix/src/sys/socket/ |
D | mod.rs | 1834 let ssock = socket( localVariable 1872 sendmsg(ssock, &iov1, &[], flags, Some(&sock_addr)).unwrap();
|
/third_party/python/Doc/library/ |
D | ssl.rst | 93 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()
|