HomeSort by relevance Sort by last modified time
    Searched defs:readinto (Results 1 - 17 of 17) sorted by null

  /external/python/cpython3/Lib/
_compression.py 66 def readinto(self, b): member in class:DecompressReader
bz2.py 193 def readinto(self, b): member in class:BZ2File
200 return self._buffer.readinto(b)
socket.py 575 def readinto(self, b): member in class:SocketIO
_pyio.py 290 Even though IOBase does not declare read, readinto, or write because
298 some cases (such as readinto), a writable object is required. Text I/O
561 # The read() method is implemented by calling readinto(); derived
563 # readinto() as a primitive operation. In general, readinto() can be
567 # readinto() in terms of read(), in case the latter is a more suitable
582 n = self.readinto(b)
602 def readinto(self, b): member in class:RawIOBase
608 self._unsupported("readinto")
629 implementation that defers to readinto()
666 def readinto(self, b): member in class:BufferedIOBase
1306 def readinto(self, b): member in class:BufferedRWPair
1393 def readinto(self, b): member in class:BufferedRandom
1627 def readinto(self, b): member in class:FileIO
    [all...]
tarfile.py 705 def readinto(self, b): member in class:_FileInFile
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
_pyio.py 265 Even though IOBase does not declare read, readinto, or write because
272 readinto) needed. Text I/O classes work with str data.
528 # The read() method is implemented by calling readinto(); derived
530 # readinto() as a primitive operation. In general, readinto() can be
534 # readinto() in terms of read(), in case the latter is a more suitable
549 n = self.readinto(b)
569 def readinto(self, b): member in class:RawIOBase
575 self._unsupported("readinto")
595 implementation that defers to readinto().
630 def readinto(self, b): member in class:BufferedIOBase
1183 def readinto(self, b): member in class:BufferedRWPair
1268 def readinto(self, b): member in class:BufferedRandom
    [all...]
  /external/chromium-trace/catapult/third_party/pyserial/serial/
serialutil.py 206 #~ readinto(b)
530 def readinto(self, b): member in class:SerialBase
  /external/python/cpython2/Lib/
_pyio.py 274 Even though IOBase does not declare read, readinto, or write because
281 arrays of bytes. In some cases, such as readinto, a writable object such
540 # The read() method is implemented by calling readinto(); derived
542 # readinto() as a primitive operation. In general, readinto() can be
546 # readinto() in terms of read(), in case the latter is a more suitable
561 n = self.readinto(b)
581 def readinto(self, b): member in class:RawIOBase
587 self._unsupported("readinto")
607 implementation that defers to readinto()
642 def readinto(self, b): member in class:BufferedIOBase
1197 def readinto(self, b): member in class:BufferedRWPair
1284 def readinto(self, b): member in class:BufferedRandom
    [all...]
  /external/python/cpython3/Lib/http/
client.py 445 # Amount is given, implement using readinto
447 n = self.readinto(b)
468 def readinto(self, b): member in class:HTTPResponse
491 n = self.fp.readinto(b)
624 n = self.fp.readinto(temp_mvb)
626 n = self.fp.readinto(mvb)
    [all...]
  /external/python/cpython3/Lib/test/
test_marshal.py 313 def readinto(self, buf): member in class:BugsTestCase.test_bad_reader.BadReader
314 n = super().readinto(buf)
test_nntplib.py 365 def readinto(self, buf): member in class:_NNTPServerIO
    [all...]
test_httplib.py 555 n = resp.readinto(b)
559 n = resp.readinto(b)
591 n = resp.readinto(b)
595 n = resp.readinto(b)
598 n = resp.readinto(b)
623 n = resp.readinto(b)
627 n = resp.readinto(b)
630 n = resp.readinto(b)
696 if resp.readinto(b) != 0:
845 n = resp.readinto(b
1532 def readinto(buffer): function in function:PersistenceTest.test_disconnected.make_reset_reader
    [all...]
test_io.py 78 RawIO.read() which calls readinto()."""
108 def readinto(self, buf): member in class:MockRawIOWithoutRead
169 def readinto(self, buf): member in class:MisbehavedRawIO
170 super().readinto(buf)
222 def readinto(self, b): member in class:MockFileIO
223 res = super().readinto(b)
341 self.assertEqual(f.readinto(data), 5)
344 self.assertEqual(f.readinto(data), 2)
350 self.assertEqual(f.readinto(byteslike(b"x")), 0)
354 self.assertEqual(f.readinto(byteslike()), 0
    [all...]
  /external/python/cpython3/Modules/_io/
winconsoleio.c 648 readinto(winconsoleio *self, char *buf, Py_ssize_t len) function
740 _io._WindowsConsoleIO.readinto
744 Same as RawIOBase.readinto().
751 Py_ssize_t len = readinto(self, buffer->buf, buffer->len);
933 bytes_size = readinto(self, PyBytes_AS_STRING(bytes), PyBytes_GET_SIZE(bytes));
    [all...]
bufferedio.c 38 _Py_IDENTIFIER(readinto); variable
51 "implementation that defers to readinto().\n"
53 "In addition, read(), readinto() and write() may raise\n"
97 _io._BufferedIOBase.readinto
1053 _io._Buffered.readinto
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
test_io.py 58 RawIO.read() which calls readinto()."""
88 def readinto(self, buf): member in class:MockRawIOWithoutRead
149 def readinto(self, buf): member in class:MisbehavedRawIO
150 MockRawIO.readinto(self, buf)
186 def readinto(self, b): member in class:MockFileIO
187 res = super(MockFileIO, self).readinto(b)
278 self.assertEqual(f.readinto(data), 5)
280 self.assertEqual(f.readinto(data), 2)
286 self.assertEqual(f.readinto(bytearray(b"x")), 0)
290 self.assertEqual(f.readinto(bytearray()), 0)
    [all...]
  /external/python/cpython2/Lib/test/
test_io.py 68 RawIO.read() which calls readinto()."""
98 def readinto(self, buf): member in class:MockRawIOWithoutRead
159 def readinto(self, buf): member in class:MisbehavedRawIO
160 MockRawIO.readinto(self, buf)
196 def readinto(self, b): member in class:MockFileIO
197 res = super(MockFileIO, self).readinto(b)
295 self.assertEqual(f.readinto(data), 5)
298 self.assertEqual(f.readinto(data), 2)
304 self.assertEqual(f.readinto(byteslike(b"x")), 0)
308 self.assertEqual(f.readinto(byteslike()), 0
    [all...]

Completed in 1247 milliseconds