Home
last modified time | relevance | path

Searched refs:create_connection (Results 1 – 25 of 64) sorted by relevance

123

/external/python/cpython3/Lib/test/test_asyncio/
Dtest_base_events.py1077 coro = self.loop.create_connection(MyProto, 'example.com', 80)
1099 coro = self.loop.create_connection(MyProto, '127.0.0.1', 80)
1105 coro = self.loop.create_connection(
1112 coro = self.loop.create_connection(MyProto, sock=sock)
1173 coro = self.loop.create_connection(MyProto)
1185 coro = self.loop.create_connection(MyProto, 'example.com', 80)
1200 coro = self.loop.create_connection(MyProto, 'example.com', 80)
1217 coro = self.loop.create_connection(
1245 coro = self.loop.create_connection(
1267 coro = self.loop.create_connection(asyncio.Protocol, '1.2.3.4', 80)
[all …]
Dtest_sslproto.py257 tr, proto = await self.loop.create_connection(
338 tr, proto = await self.loop.create_connection(
408 tr, proto = await self.loop.create_connection(
541 self.loop.create_connection(
Dtest_buffered_proto.py46 tr, pr = await self.loop.create_connection(
Dtest_events.py612 conn_fut = self.loop.create_connection(
646 f = self.loop.create_connection(
699 def _test_create_ssl_connection(self, httpd, create_connection, argument
701 conn_fut = create_connection(ssl=test_utils.dummy_ssl_context())
720 conn_fut = create_connection(ssl=True)
728 conn_fut = create_connection(ssl=True)
739 create_connection = functools.partial(
740 self.loop.create_connection,
743 self._test_create_ssl_connection(httpd, create_connection,
754 create_connection = functools.partial(
[all …]
/external/grpc-grpc/test/cpp/naming/utils/
Dtcp_connect.py34 socket.create_connection([args.server_host, args.server_port])
/external/python/cpython3/Doc/library/
Dasyncio-llapi-index.rst149 * - ``await`` :meth:`loop.create_connection`
266 * Using ``loop.create_connection()`` to implement
269 * Using ``loop.create_connection()`` to
307 :meth:`loop.create_connection`, :meth:`loop.create_unix_connection`,
327 :meth:`loop.create_connection`, :meth:`loop.create_unix_connection`,
Dasyncio-protocol.rst14 APIs such as :meth:`loop.create_connection`. They use
45 (such as :meth:`loop.create_connection`) usually accept a
120 event loop methods like :meth:`loop.create_connection`,
529 :meth:`loop.create_unix_server`, :meth:`loop.create_connection`,
763 A TCP echo client using the :meth:`loop.create_connection` method, sends
795 transport, protocol = await loop.create_connection(
922 :meth:`loop.create_connection` method with a protocol::
958 transport, protocol = await loop.create_connection(
Dasyncio-stream.rst65 :meth:`loop.create_connection`.
330 example uses the low-level :meth:`loop.create_connection` method.
466 the :meth:`loop.create_connection` method.
/external/autotest/client/site_tests/hardware_GPS/
Dhardware_GPS.py29 c = socket.create_connection(('localhost', gpsd_port))
/external/python/cpython2/Lib/test/
Dtest_socket.py1307 self.cli = socket.create_connection((HOST, self.port))
1342 socket.create_connection((HOST, port))
1373 socket.create_connection((HOST, 1234))
1397 self.cli = socket.create_connection((HOST, self.port), timeout=30)
1403 self.cli = socket.create_connection((HOST, self.port), timeout=30,
1416 self.cli = socket.create_connection((HOST, self.port))
1428 self.cli = socket.create_connection((HOST, self.port), timeout=None)
1436 self.cli = socket.create_connection((HOST, self.port), timeout=30)
1441 self.cli = socket.create_connection((HOST, self.port), 30)
1468 self.cli = sock = socket.create_connection((HOST, self.port))
[all …]
Dtest_ftplib.py103 s = socket.create_connection((ip, port), timeout=10)
122 s = socket.create_connection((ip, port), timeout=10)
575 conn = socket.create_connection((host, port), 10)
624 conn = socket.create_connection((host, port), 10)
/external/python/cpython3/Lib/test/
Dtest_telnetlib.py155 old_conn = socket.create_connection
156 socket.create_connection = new_conn
159 socket.create_connection = old_conn
Dtest_smtpnet.py12 with socket.create_connection((host, port)) as sock:
Dmock_socket.py114 def create_connection(address, timeout=socket_module._GLOBAL_DEFAULT_TIMEOUT, function
Dtest_socket.py4671 self.cli = socket.create_connection((HOST, self.port))
4707 socket.create_connection((HOST, port))
4738 socket.create_connection((HOST, 1234))
4761 self.cli = socket.create_connection((HOST, self.port), timeout=30)
4767 self.cli = socket.create_connection((HOST, self.port), timeout=30,
4780 self.cli = socket.create_connection((HOST, self.port))
4792 self.cli = socket.create_connection((HOST, self.port), timeout=None)
4800 self.cli = socket.create_connection((HOST, self.port), timeout=30)
4805 self.cli = socket.create_connection((HOST, self.port), 30)
4832 self.cli = sock = socket.create_connection((HOST, self.port))
[all …]
Dtest_ftplib.py130 s = socket.create_connection((ip, port), timeout=TIMEOUT)
148 s = socket.create_connection((ip, port), timeout=TIMEOUT)
696 conn = socket.create_connection((host, port), timeout=TIMEOUT)
823 conn = socket.create_connection((host, port), timeout=TIMEOUT)
/external/python/setuptools/setuptools/
Dssl_support.py173 sock = socket.create_connection(
/external/python/cpython2/Lib/
Dsmtplib.py292 return socket.create_connection((host, port), timeout)
807 new_socket = socket.create_connection((host, port), timeout)
Dpoplib.py89 self.sock = socket.create_connection((host, port), timeout)
Dssl.py144 from socket import socket, AF_INET, SOCK_STREAM, create_connection
1022 with closing(create_connection(addr)) as sock:
Dftplib.py135 self.sock = socket.create_connection((self.host, self.port), self.timeout)
337 conn = socket.create_connection((host, port), self.timeout)
/external/python/cpython3/Lib/
Dsmtplib.py306 return socket.create_connection((host, port), timeout,
1036 new_socket = socket.create_connection((host, port), timeout,
Dftplib.py151 self.sock = socket.create_connection((self.host, self.port), self.timeout,
360 conn = socket.create_connection((host, port), self.timeout,
Dpoplib.py108 return socket.create_connection((self.host, self.port), timeout)
Dnntplib.py1043 self.sock = socket.create_connection((host, port), timeout)
1074 self.sock = socket.create_connection((host, port), timeout)

123