Home
last modified time | relevance | path

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

123

/external/python/cpython3/Lib/test/test_asyncio/
Dtest_base_events.py1152 coro = self.loop.create_connection(MyProto, 'example.com', 80)
1159 coro = self.loop.create_connection(MyProto, 'example.com', 80, all_errors=True)
1183 coro = self.loop.create_connection(MyProto, '127.0.0.1', 80)
1189 coro = self.loop.create_connection(
1196 coro = self.loop.create_connection(MyProto, sock=sock)
1256 coro = self.loop.create_connection(MyProto)
1267 coro = self.loop.create_connection(MyProto, 'example.com', 80)
1282 coro = self.loop.create_connection(MyProto, 'example.com', 80)
1286 coro = self.loop.create_connection(MyProto, 'example.com', 80, all_errors=True)
1306 coro = self.loop.create_connection(
[all …]
Dtest_ssl.py482 self.loop.create_connection(
530 await self.loop.create_connection(
725 tr, proto = await self.loop.create_connection(
786 tr, proto = await self.loop.create_connection(
875 tr, proto = await self.loop.create_connection(
945 tr, proto = await self.loop.create_connection(
1442 self.loop.create_connection(asyncio.Protocol,
1471 self.loop.create_connection(asyncio.Protocol, *addr,
1507 tr, pr = await loop.create_connection(Protocol, *addr, ssl=ctx)
1572 tr, pr = await loop.create_connection(Protocol, *addr, ssl=ctx)
Dtest_buffered_proto.py50 tr, pr = await self.loop.create_connection(
Dtest_events.py541 conn_fut = self.loop.create_connection(
600 def _test_create_ssl_connection(self, httpd, create_connection, argument
602 conn_fut = create_connection(ssl=test_utils.dummy_ssl_context())
621 conn_fut = create_connection(ssl=True)
629 conn_fut = create_connection(ssl=True)
640 create_connection = functools.partial(
641 self.loop.create_connection,
644 self._test_create_ssl_connection(httpd, create_connection,
655 create_connection = functools.partial(
660 self._test_create_ssl_connection(httpd, create_connection,
[all …]
Dtest_sslproto.py329 tr, proto = await self.loop.create_connection(
394 tr, proto = await self.loop.create_connection(
481 tr, proto = await self.loop.create_connection(
551 tr, proto = await self.loop.create_connection(
690 self.loop.create_connection(
/external/grpc-grpc/test/cpp/naming/utils/
Dtcp_connect.py50 socket.create_connection(
/external/mesa3d/.gitlab-ci/bare-metal/
Deth008-power-relay.py20 c = socket.create_connection((host, int(port)))
/external/python/bumble/bumble/transport/
Dtcp_client.py45 tcp_transport, packet_source = await asyncio.get_running_loop().create_connection(
/external/autotest/client/site_tests/hardware_GPS/
Dhardware_GPS.py29 c = socket.create_connection(('localhost', gpsd_port))
/external/python/mobly/mobly/controllers/android_device_lib/
Djsonrpc_client_base.py207 self._conn = socket.create_connection(
218 self._conn = socket.create_connection(
Dsnippet_client_v2.py440 self._conn = socket.create_connection(
449 self._conn = socket.create_connection(
/external/python/cpython3/Doc/library/
Dasyncio-llapi-index.rst149 * - ``await`` :meth:`loop.create_connection`
275 * Using ``loop.create_connection()`` to implement
278 * Using ``loop.create_connection()`` to
316 :meth:`loop.create_connection`, :meth:`loop.create_unix_connection`,
336 :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`,
543 :meth:`loop.create_unix_server`, :meth:`loop.create_connection`,
777 A TCP echo client using the :meth:`loop.create_connection` method, sends
808 transport, protocol = await loop.create_connection(
936 :meth:`loop.create_connection` method with a protocol::
973 transport, protocol = await loop.create_connection(
Dasyncio-extending.rst30 For example, ``loop.create_connection()`` checks arguments, resolves DNS addresses, and
Dasyncio-stream.rst69 :meth:`loop.create_connection`.
442 example uses the low-level :meth:`loop.create_connection` method.
581 the :meth:`loop.create_connection` method.
/external/openthread/tools/harness-automation/autothreadharness/
Dopen_thread_controller.py100 self.handle = socket.create_connection(address)
105 self.handle = socket.create_connection((host, port))
/external/python/cpython3/Lib/test/
Dtest_smtpnet.py17 with socket.create_connection((host, port)) as sock:
Dmock_socket.py117 def create_connection(address, timeout=socket_module._GLOBAL_DEFAULT_TIMEOUT, function
Dtest_ftplib.py155 s = socket.create_connection((ip, port), timeout=TIMEOUT)
172 s = socket.create_connection((ip, port), timeout=TIMEOUT)
722 conn = socket.create_connection((host, port), timeout=TIMEOUT)
735 socket.create_connection((self.client.sock.getpeername()[0], port),
745 socket.create_connection((trusted_host, port), timeout=TIMEOUT).close()
887 conn = socket.create_connection((host, port), timeout=TIMEOUT)
Dtest_socketserver.py337 with socket.create_connection(self.server_address):
500 with socket.create_connection(server.server_address):
Dtest_socket.py5482 self.cli = socket.create_connection((HOST, self.port))
5520 socket.create_connection((HOST, port))
5542 socket.create_connection((HOST, port), all_errors=True)
5562 socket.create_connection((HOST, 1234))
5594 self.cli = socket.create_connection((HOST, self.port),
5601 self.cli = socket.create_connection((HOST, self.port),
5615 self.cli = socket.create_connection((HOST, self.port))
5627 self.cli = socket.create_connection((HOST, self.port), timeout=None)
5635 self.cli = socket.create_connection((HOST, self.port), timeout=30)
5640 self.cli = socket.create_connection((HOST, self.port), 30)
[all …]
/external/cronet/stable/net/tools/testserver/
Dtestserver.py179 sock = socket.create_connection((url.hostname, port))
217 sock = socket.create_connection((host, port))
/external/cronet/tot/net/tools/testserver/
Dtestserver.py179 sock = socket.create_connection((url.hostname, port))
217 sock = socket.create_connection((host, port))
/external/autotest/server/cros/cellular/
Dabstract_inst.py60 self._socket = socket.create_connection(
/external/grpc-grpc/src/python/grpcio_tests/tests/unit/
D_tcp_proxy.py37 proxy_socket = socket.create_connection((gateway_address, gateway_port))

123