Home
last modified time | relevance | path

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

/third_party/python/Lib/
H A Dsocket.py637 csock = socket(family, type, proto)
639 csock.setblocking(False)
641 csock.connect((addr, port))
644 csock.setblocking(True)
647 csock.close()
651 return (ssock, csock)
/third_party/openssl/test/helpers/
H A Dhandshake.c1297 static int create_sctp_socks(int *ssock, int *csock) in create_sctp_socks() argument
1363 *csock = consock; in create_sctp_socks()
1475 int csock, ssock; in do_handshake_internal() local
1477 if (create_sctp_socks(&ssock, &csock)) { in do_handshake_internal()
1478 client_to_server = BIO_new_dgram_sctp(csock, BIO_CLOSE); in do_handshake_internal()
/third_party/python/Lib/test/test_asyncio/
H A Dtest_ssl.py587 csock = socket.socket(socket.AF_INET)
589 csock = client_ssl.wrap_socket(csock)
590 csock.connect(addr)
591 csock.sendall(message)
592 response = csock.recv(99)
593 csock.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 = (
765 self.assertIs(loop._csock, csock)
773 self.assertTrue(self.csock.close.called)
819 self.csock.send.assert_called_with(b'\0')
H A Dtest_events.py748 csock = socket.socket()
750 csock = client_ssl.wrap_socket(csock)
751 csock.connect(addr)
752 csock.sendall(message)
753 response = csock.recv(99)
754 csock.close()
H A Dtest_selector_events.py96 csock = self.loop._csock
97 csock.fileno.return_value = 1
111 csock.close.assert_called_with()
/third_party/python/Lib/asyncio/
H A Dproactor_events.py823 csock = self._csock
824 if csock is None:
828 csock.send(b'\0')
H A Dselector_events.py134 csock = self._csock
135 if csock is None:
139 csock.send(b'\0')

Completed in 15 milliseconds