/third_party/python/Lib/test/test_asyncio/ |
H A D | test_protocols.py | 19 self.assertIsNone(p.connection_lost(f)) 28 self.assertIsNone(p.connection_lost(f)) 39 self.assertIsNone(p.connection_lost(f)) 50 self.assertIsNone(dp.connection_lost(f)) 59 self.assertIsNone(sp.connection_lost(f))
|
H A D | test_proactor_events.py | 210 self.protocol.connection_lost.assert_called_with(None) 222 self.protocol.connection_lost.assert_called_with(None) 226 self.protocol.connection_lost.reset_mock() 229 self.assertFalse(self.protocol.connection_lost.called) 236 self.assertFalse(self.protocol.connection_lost.called) 243 self.assertFalse(self.protocol.connection_lost.called) 250 self.protocol.connection_lost.assert_called_with(None) 271 self.protocol.connection_lost.assert_called_with(None) 294 # `protocol.connection_lost` should be called even if 298 self.assertTrue(self.protocol.connection_lost 980 def connection_lost(self, exc): global() member in ProactorEventLoopUnixSockSendfileTests.MyProto [all...] |
H A D | test_unix_events.py | 470 def connection_lost(self, exc): member in SelectorEventLoopUnixSockSendfileTests.MyProto 709 self.protocol.connection_lost.assert_called_with(None) 776 self.protocol.connection_lost.assert_called_with(err) 785 self.protocol.connection_lost.assert_called_with(err) 798 self.protocol.connection_lost.assert_called_with(err) 959 self.protocol.connection_lost.assert_called_with(None) 1018 self.protocol.connection_lost.assert_called_with(err) 1031 self.protocol.connection_lost.assert_called_with(None) 1047 self.protocol.connection_lost.assert_called_with(None) 1056 self.protocol.connection_lost [all...] |
H A D | test_buffered_proto.py | 23 def connection_lost(self, exc): member in ReceiveStuffProto
|
H A D | test_ssl.py | 59 def connection_lost(self, exc): member in MyBaseProto 501 # #246: make sure that no connection_lost() is called before 522 def connection_lost(self, exc): member in TestSSL.test_ssl_handshake_connection_lost.ClientProto 542 self.fail("unexpected call to connection_lost()") 544 self.fail("unexpected call to connection_lost() without" 567 def connection_lost(self, exc): member in TestSSL.test_connect_accepted_socket.MyProto 568 super().connection_lost(exc) 994 def connection_lost(self, exc): member in TestSSL.test_start_tls_server_1.ServerProto 1081 super_.connection_lost(ex) 1500 def connection_lost(sel member in TestSSL.test_shutdown_timeout_handler_leak.Protocol 1561 def connection_lost(self, exc): global() member in TestSSL.test_shutdown_timeout_handler_not_set.Protocol [all...] |
H A D | test_sslproto.py | 106 ssl_proto.connection_lost(ConnectionAbortedError) 132 ssl_proto.connection_lost(None) 546 def connection_lost(self, exc): member in BaseStartTLS.test_start_tls_server_1.ServerProto
|
H A D | test_selector_events.py | 393 self.protocol.connection_lost(None) 407 self.assertFalse(self.protocol.connection_lost.called) 460 self.protocol.connection_lost.assert_called_with(exc) 801 self.protocol.connection_lost.assert_called_with(None) 1292 self.protocol.connection_lost.assert_called_with(None)
|
H A D | test_subprocess.py | 69 self.assertTrue(protocol.connection_lost.called) 70 self.assertEqual(protocol.connection_lost.call_args[0], (None,))
|
H A D | test_sendfile.py | 55 def connection_lost(self, exc): member in MySendfileProto 86 def connection_lost(self, exc): member in MyProto
|
H A D | test_events.py | 110 def connection_lost(self, exc): member in MyBaseProto 148 def connection_lost(self, exc): member in MyDatagramProto 182 def connection_lost(self, exc): member in MyReadPipeProto 209 def connection_lost(self, exc): member in MyWritePipeProto 239 def connection_lost(self, exc): member in MySubprocessProtocol 730 def connection_lost(self, exc): member in EventLoopTestsMixin.test_connect_accepted_socket.MyProto 731 super().connection_lost(exc)
|
H A D | test_base_events.py | 1029 def connection_lost(self, exc): member in MyProto 1061 def connection_lost(self, exc): member in MyDatagramProto 1958 def connection_lost(self, exc): member in BaseLoopSockSendfileTests.MyProto
|
H A D | test_sock_lowlevel.py | 49 def connection_lost(self, exc): member in MyProto
|
H A D | test_streams.py | 108 writer._protocol.connection_lost(ZeroDivisionError())
|
/third_party/python/Lib/asyncio/ |
H A D | protocols.py | 26 When the connection is closed, connection_lost() is called. 29 def connection_lost(self, exc): member in BaseProtocol 79 transport; finally, connection_lost() will be called exactly once 89 * CL: connection_lost() 130 * CL: connection_lost()
|
H A D | base_subprocess.py | 243 self._protocol.connection_lost(exc) 269 def connection_lost(self, exc): member in WriteSubprocessPipeProto
|
H A D | streams.py | 121 resume_writing() and connection_lost(). If the subclass overrides 152 def connection_lost(self, exc): member in FlowControlMixin 252 def connection_lost(self, exc): member in StreamReaderProtocol 264 super().connection_lost(exc) 368 # Wait for protocol.connection_lost() call 371 # Yield to the event loop so connection_lost() may be 375 # in a loop would never call connection_lost(), so it
|
H A D | subprocess.py | 79 self.connection_lost(exc)
|
H A D | sslproto.py | 35 # * cl: connection_lost() 107 protocol's connection_lost() method will (eventually) called 243 The protocol's connection_lost() method will (eventually) be 322 self._conn_lost = 0 # Set when connection_lost called 387 def connection_lost(self, exc): member in SSLProtocol 409 self._loop.call_soon(self._app_protocol.connection_lost, exc)
|
H A D | unix_events.py | 594 self._protocol.connection_lost(exc) 799 self._protocol.connection_lost(exc)
|
H A D | proactor_events.py | 158 self._protocol.connection_lost(exc) 680 # We want connection_lost() to be called when other end closes
|
H A D | base_events.py | 233 def connection_lost(self, exc): member in _SendfileFallbackProtocol 242 self._proto.connection_lost(exc)
|
H A D | selector_events.py | 784 self._conn_lost = 0 # Set when call to connection_lost scheduled. 896 self._protocol.connection_lost(exc)
|