Home
last modified time | relevance | path

Searched refs:recv_into (Results 1 – 17 of 17) sorted by relevance

/third_party/python/Lib/test/test_asyncio/
Dtest_proactor_events.py57 self.proactor.recv_into.assert_called_with(self.sock, bytearray(self.buffer_size))
62 self.loop._proactor.recv_into.assert_called_with(self.sock, bytearray(self.buffer_size))
77 self.loop._proactor.recv_into.assert_called_with(self.sock, called_buf)
90 self.assertFalse(self.loop._proactor.recv_into.called)
95 err = self.loop._proactor.recv_into.side_effect = ConnectionAbortedError()
105 self.loop._proactor.recv_into.side_effect = ConnectionAbortedError()
114 self.loop._proactor.recv_into.side_effect = ConnectionAbortedError()
122 err = self.loop._proactor.recv_into.side_effect = ConnectionResetError()
133 err = self.loop._proactor.recv_into.side_effect = (OSError())
363 def recv_into(sock, data): function
[all …]
Dtest_selector_events.py965 self.sock.recv_into.return_value = 10
978 self.sock.recv_into.return_value = 10
994 self.sock.recv_into.return_value = 0
1003 self.sock.recv_into.return_value = 10
1013 self.sock.recv_into.return_value = 0
1023 self.sock.recv_into.return_value = 0
1032 self.sock.recv_into.side_effect = BlockingIOError
1042 self.sock.recv_into.side_effect = InterruptedError
1052 err = self.sock.recv_into.side_effect = ConnectionResetError()
1062 err = self.sock.recv_into.side_effect = OSError()
/third_party/python/Lib/asyncio/
Dtrsock.py161 def recv_into(self, *args, **kwargs): member in TransportSocket
163 return self._sock.recv_into(*args, **kwargs)
Dselector_events.py405 return sock.recv_into(buf)
423 nbytes = sock.recv_into(buf)
831 nbytes = self._sock.recv_into(buf)
Dproactor_events.py301 self._read_fut = self._loop._proactor.recv_into(self._sock, self._data)
698 return await self._proactor.recv_into(sock, buf)
Dwindows_events.py472 def recv_into(self, conn, buf, flags=0): member in IocpProactor
/third_party/python/Lib/
Dssl.py1262 def recv_into(self, buffer, nbytes=None, flags=0): member in SSLSocket
1275 return super().recv_into(buffer, nbytes, flags)
Dsocket.py705 return self._sock.recv_into(b)
/third_party/python/Lib/test/
Dtest_socket.py4473 self.checkInterruptedRecv(self.serv.recv_into, bytearray(1024))
5503 nbytes = self.cli_conn.recv_into(buf)
5515 nbytes = self.cli_conn.recv_into(buf)
5524 nbytes = self.cli_conn.recv_into(memoryview(buf))
Dtest_ssl.py569 self.assertRaises(OSError, ss.recv_into, bytearray(b'x'))
3605 count = s.recv_into(b)
3738 self.assertEqual(s.recv_into(bytearray()), 0)
/third_party/python/Doc/library/
Dasyncio-eventloop.rst877 :meth:`socket.recv_into() <socket.socket.recv_into>` method.
Dsocket.rst1565 .. method:: socket.recv_into(buffer[, nbytes[, flags]])
Dssl.rst1126 - :meth:`~socket.socket.recv()`, :meth:`~socket.socket.recv_into()`
/third_party/python/Misc/NEWS.d/
D3.10.0a1.rst1471 On Windows, fix asyncio ``recv_into()`` return value when the socket/pipe is
1609 ``recv_into`` instead of ``recv``, thus not creating a new buffer for each
/third_party/python/Doc/whatsnew/
D2.5.rst1536 Two new methods on socket objects, ``recv_into(buffer)`` and
D2.7.rst1513 The :meth:`~socket.socket.recv_into` and :meth:`~socket.socket.recvfrom_into`
/third_party/python/Misc/
DHISTORY13650 - Issue #3890, #8222: Fix recv() and recv_into() on non-blocking SSL sockets.