Home
last modified time | relevance | path

Searched refs:buffer_updated (Results 1 – 8 of 8) sorted by relevance

/external/python/cpython3/Lib/asyncio/
Dprotocols.py144 def buffer_updated(self, nbytes): member in BufferedProtocol
204 proto.buffer_updated(data_len)
208 proto.buffer_updated(buf_len)
Dselector_events.py792 self._protocol.buffer_updated(nbytes)
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_proactor_events.py507 self.assertFalse(self.protocol.buffer_updated.called)
521 self.assertFalse(self.protocol.buffer_updated.called)
534 self.assertFalse(self.protocol.buffer_updated.called)
563 buf_proto.buffer_updated.assert_called_with(4)
588 self.protocol.buffer_updated.side_effect = LookupError()
597 self.assertTrue(self.protocol.buffer_updated.called)
623 self.protocol.buffer_updated.assert_called_with(4)
699 self.protocol.buffer_updated.assert_called_with(10)
701 self.protocol.buffer_updated.assert_called_with(20)
709 self.protocol.buffer_updated.assert_called_with(20)
[all …]
Dtest_buffered_proto.py16 def buffer_updated(self, nbytes): member in ReceiveStuffProto
Dtest_selector_events.py1320 self.assertFalse(self.protocol.buffer_updated.called)
1333 self.assertFalse(self.protocol.buffer_updated.called)
1356 buf_proto.buffer_updated.assert_called_with(10)
1363 self.protocol.buffer_updated.side_effect = LookupError()
1370 self.assertTrue(self.protocol.buffer_updated.called)
1394 self.protocol.buffer_updated.assert_called_with(10)
Dtest_sslproto.py182 def buffer_updated(self, nsize): member in BaseStartTLS.test_buf_feed_data.Proto
311 def buffer_updated(self, nsize): member in BaseStartTLS.test_start_tls_client_buf_proto_1.ClientProtoFirst
/external/python/cpython3/Doc/library/
Dasyncio-llapi-index.rst448 * - ``callback`` :meth:`buffer_updated() <BufferedProtocol.buffer_updated>`
Dasyncio-protocol.rst612 .. method:: BufferedProtocol.buffer_updated(nbytes)
628 :meth:`~BufferedProtocol.buffer_updated` won't be called after it.
636 [-> buffer_updated]?