Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/test/test_asyncio/
Dtest_proactor_events.py500 self.proactor.recv_into.assert_called_with(self.sock, self.buf)
505 self.loop._proactor.recv_into.assert_called_with(self.sock, self.buf)
562 self.loop._proactor.recv_into.assert_called_with(self.sock, buf)
611 self.assertFalse(self.loop._proactor.recv_into.called)
622 self.loop._proactor.recv_into.assert_called_with(self.sock, self.buf)
635 self.assertFalse(self.loop._proactor.recv_into.called)
640 err = self.loop._proactor.recv_into.side_effect = \
659 self.loop._proactor.recv_into.side_effect = ConnectionAbortedError()
667 err = self.loop._proactor.recv_into.side_effect = ConnectionResetError()
678 err = self.loop._proactor.recv_into.side_effect = OSError()
[all …]
Dtest_selector_events.py1352 self.sock.recv_into.return_value = 10
1365 self.sock.recv_into.return_value = 10
1381 self.sock.recv_into.return_value = 0
1390 self.sock.recv_into.return_value = 10
1400 self.sock.recv_into.return_value = 0
1410 self.sock.recv_into.return_value = 0
1419 self.sock.recv_into.side_effect = BlockingIOError
1429 self.sock.recv_into.side_effect = InterruptedError
1439 err = self.sock.recv_into.side_effect = ConnectionResetError()
1449 err = self.sock.recv_into.side_effect = OSError()
/external/python/cpython2/Lib/
Dssl.py776 def recv_into(self, buffer, nbytes=None, flags=0): member in SSLSocket
789 return self._sock.recv_into(buffer, nbytes, flags)
Dsocket.py176 send = recv = recv_into = sendto = recvfrom = recvfrom_into = _dummy
/external/python/cpython3/Lib/
Dssl.py1041 def recv_into(self, buffer, nbytes=None, flags=0): member in SSLSocket
1054 return super().recv_into(buffer, nbytes, flags)
Dsocket.py589 return self._sock.recv_into(b)
/external/python/cpython2/Misc/NEWS.d/
D2.7b1.rst389 Fix recv() and recv_into() on non-blocking SSL sockets. Also, enable the
418 socket.recv_into() and socket.recvfrom_into() now support writing into
/external/python/cpython3/Lib/asyncio/
Dselector_events.py400 nbytes = sock.recv_into(buf)
780 nbytes = self._sock.recv_into(buf)
Dproactor_events.py548 return await self._proactor.recv_into(sock, buf)
Dwindows_events.py445 def recv_into(self, conn, buf, flags=0): member in IocpProactor
/external/python/cpython2/Lib/test/
Dtest_socket.py1627 nbytes = self.cli_conn.recv_into(buf)
1639 nbytes = self.cli_conn.recv_into(buf)
1648 nbytes = self.cli_conn.recv_into(memoryview(buf))
Dtest_ssl.py339 self.assertRaises(socket.error, ss.recv_into, bytearray(b'x'))
2559 count = s.recv_into(b)
2673 self.assertEqual(s.recv_into(bytearray()), 0)
/external/python/cpython3/Lib/test/
Dtest_socket.py4043 self.checkInterruptedRecv(self.serv.recv_into, bytearray(1024))
5063 nbytes = self.cli_conn.recv_into(buf)
5075 nbytes = self.cli_conn.recv_into(buf)
5084 nbytes = self.cli_conn.recv_into(memoryview(buf))
Dtest_ssl.py513 self.assertRaises(OSError, ss.recv_into, bytearray(b'x'))
3367 count = s.recv_into(b)
3500 self.assertEqual(s.recv_into(bytearray()), 0)
/external/python/cpython3/Doc/library/
Dasyncio-eventloop.rst790 :meth:`socket.recv_into() <socket.socket.recv_into>` method.
Dsocket.rst1363 .. method:: socket.recv_into(buffer[, nbytes[, flags]])
Dssl.rst1078 - :meth:`~socket.socket.recv()`, :meth:`~socket.socket.recv_into()`
/external/python/cpython2/Doc/library/
Dsocket.rst716 .. method:: socket.recv_into(buffer[, nbytes[, flags]])
Dssl.rst882 - :meth:`~socket.socket.recv()`, :meth:`~socket.socket.recv_into()`
/external/python/cpython2/Doc/whatsnew/
D2.5.rst1535 Two new methods on socket objects, ``recv_into(buffer)`` and
D2.7.rst1498 The :meth:`~socket.socket.recv_into` and :meth:`~socket.socket.recvfrom_into`
/external/python/cpython3/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`
/external/python/cpython3/Misc/
DHISTORY13650 - Issue #3890, #8222: Fix recv() and recv_into() on non-blocking SSL sockets.