Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/test/test_asyncio/
Dtest_protocols.py13 self.assertIsNone(p.connection_lost(f))
22 self.assertIsNone(p.connection_lost(f))
33 self.assertIsNone(p.connection_lost(f))
44 self.assertIsNone(dp.connection_lost(f))
53 self.assertIsNone(sp.connection_lost(f))
Dtest_proactor_events.py204 self.protocol.connection_lost.assert_called_with(None)
216 self.protocol.connection_lost.assert_called_with(None)
220 self.protocol.connection_lost.reset_mock()
223 self.assertFalse(self.protocol.connection_lost.called)
230 self.assertFalse(self.protocol.connection_lost.called)
237 self.assertFalse(self.protocol.connection_lost.called)
257 self.protocol.connection_lost.assert_called_with(None)
279 self.assertFalse(self.protocol.connection_lost.called)
287 self.protocol.connection_lost.assert_called_with(None)
293 self.assertTrue(self.protocol.connection_lost.called)
[all …]
Dtest_unix_events.py461 def connection_lost(self, exc): member in SelectorEventLoopUnixSockSendfileTests.MyProto
700 self.protocol.connection_lost.assert_called_with(None)
767 self.protocol.connection_lost.assert_called_with(err)
776 self.protocol.connection_lost.assert_called_with(err)
789 self.protocol.connection_lost.assert_called_with(err)
950 self.protocol.connection_lost.assert_called_with(None)
1009 self.protocol.connection_lost.assert_called_with(err)
1022 self.protocol.connection_lost.assert_called_with(None)
1038 self.protocol.connection_lost.assert_called_with(None)
1047 self.protocol.connection_lost.assert_called_with(err)
[all …]
Dtest_buffered_proto.py23 def connection_lost(self, exc): member in ReceiveStuffProto
Dtest_sslproto.py104 ssl_proto.connection_lost(ConnectionAbortedError)
127 ssl_proto.connection_lost(None)
539 def connection_lost(self, exc): member in BaseStartTLS.test_start_tls_server_1.ServerProto
Dtest_selector_events.py413 self.protocol.connection_lost(None)
427 self.assertFalse(self.protocol.connection_lost.called)
480 self.protocol.connection_lost.assert_called_with(exc)
805 self.protocol.connection_lost.assert_called_with(None)
1295 self.protocol.connection_lost.assert_called_with(None)
Dtest_subprocess.py66 self.assertTrue(protocol.connection_lost.called)
67 self.assertEqual(protocol.connection_lost.call_args[0], (None,))
Dtest_sendfile.py49 def connection_lost(self, exc): member in MySendfileProto
80 def connection_lost(self, exc): member in MyProto
Dtest_events.py104 def connection_lost(self, exc): member in MyBaseProto
138 def connection_lost(self, exc): member in MyDatagramProto
168 def connection_lost(self, exc): member in MyReadPipeProto
191 def connection_lost(self, exc): member in MyWritePipeProto
217 def connection_lost(self, exc): member in MySubprocessProtocol
663 def connection_lost(self, exc): member in EventLoopTestsMixin.test_connect_accepted_socket.MyProto
664 super().connection_lost(exc)
Dtest_sock_lowlevel.py42 def connection_lost(self, exc): member in MyProto
Dtest_base_events.py1019 def connection_lost(self, exc): member in MyProto
1047 def connection_lost(self, exc): member in MyDatagramProto
1974 def connection_lost(self, exc): member in BaseLoopSockSendfileTests.MyProto
Dtest_streams.py119 writer._protocol.connection_lost(ZeroDivisionError())
/external/python/cpython3/Doc/library/
Dasyncio-protocol.rst157 protocol's :meth:`protocol.connection_lost()
158 <BaseProtocol.connection_lost>` method will be called with
274 The protocol's :meth:`protocol.connection_lost()
275 <BaseProtocol.connection_lost>` method will eventually be
369 :meth:`protocol.connection_lost() <BaseProtocol.connection_lost>`
498 .. method:: BaseProtocol.connection_lost(exc)
584 -> connection_lost -> end
644 -> connection_lost -> end
786 def connection_lost(self, exc):
895 def connection_lost(self, exc):
[all …]
Dasyncio-llapi-index.rst418 * - ``callback`` :meth:`connection_lost() <BaseProtocol.connection_lost>`
/external/python/cpython3/Lib/asyncio/
Dprotocols.py29 def connection_lost(self, exc): member in BaseProtocol
Dbase_subprocess.py248 self._protocol.connection_lost(exc)
269 def connection_lost(self, exc): member in WriteSubprocessPipeProto
Dstreams.py172 def connection_lost(self, exc): member in FlowControlMixin
266 def connection_lost(self, exc): member in StreamReaderProtocol
278 super().connection_lost(exc)
Dsslproto.py482 def connection_lost(self, exc): member in SSLProtocol
491 self._loop.call_soon(self._app_protocol.connection_lost, exc)
Dsubprocess.py80 self.connection_lost(exc)
Dunix_events.py564 self._protocol.connection_lost(exc)
769 self._protocol.connection_lost(exc)
Dbase_events.py232 def connection_lost(self, exc): member in _SendfileFallbackProtocol
241 self._proto.connection_lost(exc)
Dproactor_events.py155 self._protocol.connection_lost(exc)
Dselector_events.py736 self._protocol.connection_lost(exc)
/external/llvm-project/lldb/third_party/Python/module/pexpect-4.6/pexpect/
D_async.py82 def connection_lost(self, exc): member in PatternWaiter
/external/python/cpython3/Misc/NEWS.d/
D3.8.0a1.rst2534 reader before `connection_lost` can run and feed the EOF to the reader.