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

  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
_pyio.py 266 Even though IOBase does not declare read, readinto, or write because
273 readinto) needed. Text I/O classes work with str data.
531 # The read() method is implemented by calling readinto(); derived
533 # readinto() as a primitive operation. In general, readinto() can be
537 # readinto() in terms of read(), in case the latter is a more suitable
552 n = self.readinto(b)
572 def readinto(self, b): member in class:RawIOBase
578 self._unsupported("readinto")
598 implementation that defers to readinto()
633 def readinto(self, b): member in class:BufferedIOBase
1190 def readinto(self, b): member in class:BufferedRWPair
1275 def readinto(self, b): member in class:BufferedRandom
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
_pyio.py 266 Even though IOBase does not declare read, readinto, or write because
273 readinto) needed. Text I/O classes work with str data.
531 # The read() method is implemented by calling readinto(); derived
533 # readinto() as a primitive operation. In general, readinto() can be
537 # readinto() in terms of read(), in case the latter is a more suitable
552 n = self.readinto(b)
572 def readinto(self, b): member in class:RawIOBase
578 self._unsupported("readinto")
598 implementation that defers to readinto()
633 def readinto(self, b): member in class:BufferedIOBase
1190 def readinto(self, b): member in class:BufferedRWPair
1275 def readinto(self, b): member in class:BufferedRandom
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_io.py 64 RawIO.read() which calls readinto()."""
94 def readinto(self, buf): member in class:MockRawIOWithoutRead
155 def readinto(self, buf): member in class:MisbehavedRawIO
156 MockRawIO.readinto(self, buf)
192 def readinto(self, b): member in class:MockFileIO
193 res = super(MockFileIO, self).readinto(b)
289 self.assertEqual(f.readinto(data), 5)
291 self.assertEqual(f.readinto(data), 2)
297 self.assertEqual(f.readinto(bytearray(b"x")), 0)
301 self.assertEqual(f.readinto(bytearray()), 0
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_io.py 64 RawIO.read() which calls readinto()."""
94 def readinto(self, buf): member in class:MockRawIOWithoutRead
155 def readinto(self, buf): member in class:MisbehavedRawIO
156 MockRawIO.readinto(self, buf)
192 def readinto(self, b): member in class:MockFileIO
193 res = super(MockFileIO, self).readinto(b)
289 self.assertEqual(f.readinto(data), 5)
291 self.assertEqual(f.readinto(data), 2)
297 self.assertEqual(f.readinto(bytearray(b"x")), 0)
301 self.assertEqual(f.readinto(bytearray()), 0
    [all...]

Completed in 51 milliseconds