/third_party/python/Lib/test/test_asyncio/ |
H A D | test_base_events.py | 1106 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 D | test_events.py | 540 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 D | test_sslproto.py | 267 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 D | test_ssl.py | 479 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 D | test_buffered_proto.py | 50 tr, pr = await self.loop.create_connection(
|
/third_party/mesa3d/.gitlab-ci/bare-metal/ |
H A D | eth008-power-relay.py | 20 c = socket.create_connection((host, int(port)))
|
/third_party/python/Lib/test/ |
H A D | test_telnetlib.py | 159 old_conn = socket.create_connection 160 socket.create_connection = new_conn 163 socket.create_connection = old_conn
|
H A D | mock_socket.py | 117 def create_connection(address, timeout=socket_module._GLOBAL_DEFAULT_TIMEOUT, function
|
H A D | test_smtpnet.py | 14 with socket.create_connection((host, port)) as sock:
|
H A D | test_socket.py | 5151 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 D | test_ftplib.py | 156 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 D | test_socketserver.py | 354 with socket.create_connection(self.server_address): 517 with socket.create_connection(server.server_address):
|
H A D | test_largefile.py | 229 with socket.create_connection(("127.0.0.1", port)) as client:
|
H A D | test_httplib.py | 127 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 D | poplib.py | 112 return socket.create_connection((self.host, self.port), timeout)
|
H A D | ftplib.py | 158 self.sock = socket.create_connection((self.host, self.port), self.timeout, 354 conn = socket.create_connection((host, port), self.timeout,
|
H A D | telnetlib.py | 238 self.sock = socket.create_connection((host, port), timeout)
|
H A D | ssl.py | 260 from socket import socket, SOCK_STREAM, create_connection namespace 1556 with create_connection(addr, timeout=timeout) as sock:
|
H A D | imaplib.py | 293 # (which is used by socket.create_connection()) expects None 301 return socket.create_connection(address, timeout) 302 return socket.create_connection(address)
|
H A D | socket.py | 29 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 D | nntplib.py | 402 return socket.create_connection((self.host, self.port), timeout)
|
H A D | smtplib.py | 312 return socket.create_connection((host, port), timeout,
|
/third_party/python/Lib/asyncio/ |
H A D | events.py | 300 async def create_connection( member in AbstractEventLoop
|
H A D | streams.py | 28 """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 D | wasm_build.py | 601 with socket.create_connection((bind, port), timeout=0.1) as s:
|