Home
last modified time | relevance | path

Searched refs:create_connection (Results 1 - 25 of 34) sorted by relevance

12

/third_party/python/Lib/test/test_asyncio/
H A Dtest_base_events.py1106 coro = self.loop.create_connection(MyProto, 'example.com', 80)
1128 coro = self.loop.create_connection(MyProto, '127.0.0.1', 80)
1134 coro = self.loop.create_connection(
1141 coro = self.loop.create_connection(MyProto, sock=sock)
1201 coro = self.loop.create_connection(MyProto)
1212 coro = self.loop.create_connection(MyProto, 'example.com', 80)
1227 coro = self.loop.create_connection(MyProto, 'example.com', 80)
1243 coro = self.loop.create_connection(
1270 coro = self.loop.create_connection(
1290 coro = self.loop.create_connection(asynci
[all...]
H A Dtest_events.py540 conn_fut = self.loop.create_connection(
599 def _test_create_ssl_connection(self, httpd, create_connection,
601 conn_fut = create_connection(ssl=test_utils.dummy_ssl_context())
620 conn_fut = create_connection(ssl=True)
628 conn_fut = create_connection(ssl=True)
639 create_connection = functools.partial(
640 self.loop.create_connection,
643 self._test_create_ssl_connection(httpd, create_connection,
654 create_connection = functools.partial(
659 self._test_create_ssl_connection(httpd, create_connection,
[all...]
H A Dtest_sslproto.py267 tr, proto = await self.loop.create_connection(
332 tr, proto = await self.loop.create_connection(
347 # No garbage is left for SSL client from loop.create_connection, even
418 tr, proto = await self.loop.create_connection(
488 tr, proto = await self.loop.create_connection(
626 self.loop.create_connection(
H A Dtest_ssl.py479 self.loop.create_connection(
527 await self.loop.create_connection(
722 tr, proto = await self.loop.create_connection(
783 tr, proto = await self.loop.create_connection(
798 # No garbage is left for SSL client from loop.create_connection, even
872 tr, proto = await self.loop.create_connection(
942 tr, proto = await self.loop.create_connection(
1439 self.loop.create_connection(asyncio.Protocol,
1468 self.loop.create_connection(asyncio.Protocol, *addr,
1504 tr, pr = await loop.create_connection(Protoco
[all...]
H A Dtest_buffered_proto.py50 tr, pr = await self.loop.create_connection(
/third_party/mesa3d/.gitlab-ci/bare-metal/
H A Deth008-power-relay.py20 c = socket.create_connection((host, int(port)))
/third_party/python/Lib/test/
H A Dtest_telnetlib.py159 old_conn = socket.create_connection
160 socket.create_connection = new_conn
163 socket.create_connection = old_conn
H A Dmock_socket.py117 def create_connection(address, timeout=socket_module._GLOBAL_DEFAULT_TIMEOUT, function
H A Dtest_smtpnet.py14 with socket.create_connection((host, port)) as sock:
H A Dtest_socket.py5151 self.cli = socket.create_connection((HOST, self.port))
5183 # Issue #9792: errors raised by create_connection() should have
5187 socket.create_connection((HOST, port))
5189 # Issue #16257: create_connection() calls getaddrinfo() against
5196 # create_connection() enumerates through all the addresses returned
5209 socket.create_connection((HOST, port), all_errors=True)
5225 # Issue #9792: create_connection() should not recast timeout errors
5229 socket.create_connection((HOST, 1234))
5259 self.cli = socket.create_connection((HOST, self.port),
5266 self.cli = socket.create_connection((HOS
[all...]
H A Dtest_ftplib.py156 s = socket.create_connection((ip, port), timeout=TIMEOUT)
173 s = socket.create_connection((ip, port), timeout=TIMEOUT)
723 conn = socket.create_connection((host, port), timeout=TIMEOUT)
736 socket.create_connection((self.client.sock.getpeername()[0], port),
746 socket.create_connection((trusted_host, port), timeout=TIMEOUT).close()
888 conn = socket.create_connection((host, port), timeout=TIMEOUT)
H A Dtest_socketserver.py354 with socket.create_connection(self.server_address):
517 with socket.create_connection(server.server_address):
H A Dtest_largefile.py229 with socket.create_connection(("127.0.0.1", port)) as client:
H A Dtest_httplib.py127 self._create_connection = self.create_connection
134 def create_connection(self, *pos, **kw): member in FakeSocketHTTPConnection
2178 def create_connection(address, timeout=None, source_address=None): function
2180 return create_connection
/third_party/python/Lib/
H A Dpoplib.py112 return socket.create_connection((self.host, self.port), timeout)
H A Dftplib.py158 self.sock = socket.create_connection((self.host, self.port), self.timeout,
354 conn = socket.create_connection((host, port), self.timeout,
H A Dtelnetlib.py238 self.sock = socket.create_connection((host, port), timeout)
H A Dssl.py260 from socket import socket, SOCK_STREAM, create_connection namespace
1556 with create_connection(addr, timeout=timeout) as sock:
H A Dimaplib.py293 # (which is used by socket.create_connection()) expects None
301 return socket.create_connection(address, timeout)
302 return socket.create_connection(address)
H A Dsocket.py29 create_connection() -- connects to an address, with an optional timeout and
65 __all__ = ["fromfd", "getfqdn", "create_connection", "create_server",
809 def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, function
852 raise ExceptionGroup("create_connection failed", exceptions)
H A Dnntplib.py402 return socket.create_connection((self.host, self.port), timeout)
H A Dsmtplib.py312 return socket.create_connection((host, port), timeout,
/third_party/python/Lib/asyncio/
H A Devents.py300 async def create_connection( member in AbstractEventLoop
H A Dstreams.py28 """A wrapper for create_connection() returning a (reader, writer) pair.
33 The arguments are all the usual arguments to create_connection()
48 transport, _ = await loop.create_connection(
/third_party/python/Tools/wasm/
H A Dwasm_build.py601 with socket.create_connection((bind, port), timeout=0.1) as s:

Completed in 40 milliseconds

12