Home
last modified time | relevance | path

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

12

/external/python/cpython3/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.py696 return await self._proactor.recv_into(sock, buf)
Dwindows_events.py467 def recv_into(self, conn, buf, flags=0): member in IocpProactor
/external/python/cpython3/Lib/test/test_asyncio/
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()
/external/python/cpython3/Misc/NEWS.d/
D3.9.0rc1.rst34 On Windows, fix asyncio ``recv_into()`` return value when the socket/pipe is
/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/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/
Dssl.py1230 def recv_into(self, buffer, nbytes=None, flags=0): member in SSLSocket
1243 return super().recv_into(buffer, nbytes, flags)
Dsocket.py704 return self._sock.recv_into(b)
/external/python/pyopenssl/tests/
Dtest_ssl.py3073 assert client.recv_into(output_buffer) == 2
3094 assert client.recv_into(output_buffer, 5) == 5
3116 assert client.recv_into(output_buffer) == 5
3144 assert client.recv_into(output_buffer, flags=MSG_PEEK) == 2
/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/pyopenssl/doc/
DChangeLog_old.txt35 * OpenSSL/SSL.py: Add ``Connection.recv_into``, mirroring the
36 builtin ``socket.recv_into``. Based on work from Cory Benfield.
37 * OpenSSL/test/test_ssl.py: Add tests for ``recv_into``.
/external/python/pyopenssl/
DCHANGELOG.rst458 …et.MSG_PEEK`` flag to ``OpenSSL.SSL.Connection.recv()`` and ``OpenSSL.SSL.Connection.recv_into()``.
/external/python/pyopenssl/src/OpenSSL/
DSSL.py1707 def recv_into(self, buffer, nbytes=None, flags=None): member in Connection
/external/python/cpython3/Lib/test/
Dtest_ssl.py583 self.assertRaises(OSError, ss.recv_into, bytearray(b'x'))
3475 count = s.recv_into(b)
3608 self.assertEqual(s.recv_into(bytearray()), 0)
Dtest_socket.py4475 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))
/external/python/cpython3/Doc/library/
Dasyncio-eventloop.rst863 :meth:`socket.recv_into() <socket.socket.recv_into>` method.
Dsocket.rst1525 .. method:: socket.recv_into(buffer[, nbytes[, flags]])
/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
/external/python/cpython3/Doc/whatsnew/
D2.5.rst1536 Two new methods on socket objects, ``recv_into(buffer)`` and

12