Home
last modified time | relevance | path

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

123

/external/python/cpython3/Lib/test/test_asyncio/
Dtest_base_events.py1092 coro = self.loop.create_connection(MyProto, 'example.com', 80)
1114 coro = self.loop.create_connection(MyProto, '127.0.0.1', 80)
1120 coro = self.loop.create_connection(
1127 coro = self.loop.create_connection(MyProto, sock=sock)
1189 coro = self.loop.create_connection(MyProto)
1200 coro = self.loop.create_connection(MyProto, 'example.com', 80)
1215 coro = self.loop.create_connection(MyProto, 'example.com', 80)
1231 coro = self.loop.create_connection(
1258 coro = self.loop.create_connection(
1280 coro = self.loop.create_connection(asyncio.Protocol, '1.2.3.4', 80)
[all …]
Dtest_buffered_proto.py50 tr, pr = await self.loop.create_connection(
Dtest_sslproto.py262 tr, proto = await self.loop.create_connection(
326 tr, proto = await self.loop.create_connection(
411 tr, proto = await self.loop.create_connection(
481 tr, proto = await self.loop.create_connection(
619 self.loop.create_connection(
Dtest_events.py514 conn_fut = self.loop.create_connection(
573 def _test_create_ssl_connection(self, httpd, create_connection, argument
575 conn_fut = create_connection(ssl=test_utils.dummy_ssl_context())
594 conn_fut = create_connection(ssl=True)
602 conn_fut = create_connection(ssl=True)
613 create_connection = functools.partial(
614 self.loop.create_connection,
617 self._test_create_ssl_connection(httpd, create_connection,
628 create_connection = functools.partial(
633 self._test_create_ssl_connection(httpd, create_connection,
[all …]
/external/grpc-grpc/test/cpp/naming/utils/
Dtcp_connect.py34 socket.create_connection([args.server_host, args.server_port])
/external/autotest/client/site_tests/hardware_GPS/
Dhardware_GPS.py29 c = socket.create_connection(('localhost', gpsd_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
124 event loop methods like :meth:`loop.create_connection`,
537 :meth:`loop.create_unix_server`, :meth:`loop.create_connection`,
768 A TCP echo client using the :meth:`loop.create_connection` method, sends
799 transport, protocol = await loop.create_connection(
927 :meth:`loop.create_connection` method with a protocol::
964 transport, protocol = await loop.create_connection(
Dasyncio-stream.rst70 :meth:`loop.create_connection`.
346 example uses the low-level :meth:`loop.create_connection` method.
482 the :meth:`loop.create_connection` method.
/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.py156 old_conn = socket.create_connection
157 socket.create_connection = new_conn
160 socket.create_connection = old_conn
Dtest_smtpnet.py13 with socket.create_connection((host, port)) as sock:
Dmock_socket.py114 def create_connection(address, timeout=socket_module._GLOBAL_DEFAULT_TIMEOUT, function
Dtest_socket.py5084 self.cli = socket.create_connection((HOST, self.port))
5120 socket.create_connection((HOST, port))
5144 socket.create_connection((HOST, 1234))
5174 self.cli = socket.create_connection((HOST, self.port),
5181 self.cli = socket.create_connection((HOST, self.port),
5195 self.cli = socket.create_connection((HOST, self.port))
5207 self.cli = socket.create_connection((HOST, self.port), timeout=None)
5215 self.cli = socket.create_connection((HOST, self.port), timeout=30)
5220 self.cli = socket.create_connection((HOST, self.port), 30)
5247 self.cli = sock = socket.create_connection((HOST, self.port))
[all …]
Dtest_ftplib.py137 s = socket.create_connection((ip, port), timeout=TIMEOUT)
153 s = socket.create_connection((ip, port), timeout=TIMEOUT)
703 conn = socket.create_connection((host, port), timeout=TIMEOUT)
848 conn = socket.create_connection((host, port), timeout=TIMEOUT)
Dtest_largefile.py226 with socket.create_connection(("127.0.0.1", port)) as client:
/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)
Dnntplib.py119 self.sock = socket.create_connection((host, port))
/external/python/cpython3/Lib/
Dpoplib.py112 return socket.create_connection((self.host, self.port), timeout)
Dftplib.py156 self.sock = socket.create_connection((self.host, self.port), self.timeout,
347 conn = socket.create_connection((host, port), self.timeout,

123