/external/python/cpython3/Lib/test/test_asyncio/ |
D | test_proactor_events.py | 199 self.protocol.connection_lost.assert_called_with(None) 211 self.protocol.connection_lost.assert_called_with(None) 215 self.protocol.connection_lost.reset_mock() 218 self.assertFalse(self.protocol.connection_lost.called) 225 self.assertFalse(self.protocol.connection_lost.called) 232 self.assertFalse(self.protocol.connection_lost.called) 252 self.protocol.connection_lost.assert_called_with(None) 274 self.assertFalse(self.protocol.connection_lost.called) 282 self.protocol.connection_lost.assert_called_with(None) 288 self.assertTrue(self.protocol.connection_lost.called) [all …]
|
D | test_unix_events.py | 446 def connection_lost(self, exc): member in SelectorEventLoopUnixSockSendfileTests.MyProto 685 self.protocol.connection_lost.assert_called_with(None) 751 self.protocol.connection_lost.assert_called_with(err) 760 self.protocol.connection_lost.assert_called_with(err) 773 self.protocol.connection_lost.assert_called_with(err) 908 self.protocol.connection_lost.assert_called_with(None) 971 self.protocol.connection_lost.assert_called_with(err) 984 self.protocol.connection_lost.assert_called_with(None) 1000 self.protocol.connection_lost.assert_called_with(None) 1009 self.protocol.connection_lost.assert_called_with(err) [all …]
|
D | test_buffered_proto.py | 19 def connection_lost(self, exc): member in ReceiveStuffProto
|
D | test_sslproto.py | 99 ssl_proto.connection_lost(ConnectionAbortedError) 122 ssl_proto.connection_lost(None) 466 def connection_lost(self, exc): member in BaseStartTLS.test_start_tls_server_1.ServerProto
|
D | test_subprocess.py | 61 self.assertTrue(protocol.connection_lost.called) 62 self.assertEqual(protocol.connection_lost.call_args[0], (None,))
|
D | test_events.py | 101 def connection_lost(self, exc): member in MyBaseProto 135 def connection_lost(self, exc): member in MyDatagramProto 165 def connection_lost(self, exc): member in MyReadPipeProto 188 def connection_lost(self, exc): member in MyWritePipeProto 214 def connection_lost(self, exc): member in MySubprocessProtocol 789 def connection_lost(self, exc): member in EventLoopTestsMixin.test_connect_accepted_socket.MyProto 790 super().connection_lost(exc) 2163 def connection_lost(self, exc): member in SockSendfileMixin.MyProto 3072 self.assertIsNone(p.connection_lost(f)) 3078 self.assertIsNone(dp.connection_lost(f)) [all …]
|
D | test_selector_events.py | 813 self.protocol.connection_lost(None) 827 self.assertFalse(self.protocol.connection_lost.called) 867 self.protocol.connection_lost.assert_called_with(exc) 1192 self.protocol.connection_lost.assert_called_with(None) 1681 self.protocol.connection_lost.assert_called_with(None)
|
D | test_base_events.py | 1002 def connection_lost(self, exc): member in MyProto 1030 def connection_lost(self, exc): member in MyDatagramProto 1899 def connection_lost(self, exc): member in BaseLoopSockSendfileTests.MyProto
|
D | test_streams.py | 104 writer._protocol.connection_lost(ZeroDivisionError())
|
/external/python/cpython3/Doc/library/ |
D | asyncio-protocol.rst | 153 protocol's :meth:`protocol.connection_lost() 154 <BaseProtocol.connection_lost>` method will be called with 270 The protocol's :meth:`protocol.connection_lost() 271 <BaseProtocol.connection_lost>` method will eventually be 365 :meth:`protocol.connection_lost() <BaseProtocol.connection_lost>` 490 .. method:: BaseProtocol.connection_lost(exc) 576 -> connection_lost -> end 639 -> connection_lost -> end 782 def connection_lost(self, exc): 892 def connection_lost(self, exc): [all …]
|
D | asyncio-llapi-index.rst | 418 * - ``callback`` :meth:`connection_lost() <BaseProtocol.connection_lost>`
|
/external/python/cpython3/Lib/asyncio/ |
D | protocols.py | 27 def connection_lost(self, exc): member in BaseProtocol
|
D | streams.py | 184 def connection_lost(self, exc): member in FlowControlMixin 241 def connection_lost(self, exc): member in StreamReaderProtocol 252 super().connection_lost(exc)
|
D | base_subprocess.py | 247 self._protocol.connection_lost(exc) 268 def connection_lost(self, exc): member in WriteSubprocessPipeProto
|
D | sslproto.py | 484 def connection_lost(self, exc): member in SSLProtocol 493 self._loop.call_soon(self._app_protocol.connection_lost, exc)
|
D | subprocess.py | 78 self.connection_lost(exc)
|
D | unix_events.py | 540 self._protocol.connection_lost(exc) 742 self._protocol.connection_lost(exc)
|
D | base_events.py | 206 def connection_lost(self, exc): member in _SendfileFallbackProtocol 215 self._proto.connection_lost(exc)
|
D | proactor_events.py | 134 self._protocol.connection_lost(exc)
|
D | selector_events.py | 687 self._protocol.connection_lost(exc)
|