Searched defs:readinto (Results 1 - 3 of 3) sorted by relevance
/external/chromium-trace/catapult/third_party/pyserial/serial/ |
H A D | serialutil.py | 206 #~ readinto(b) 530 def readinto(self, b): member in class:SerialBase
|
/external/python/cpython2/Lib/ |
H A D | _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/cpython2/Lib/test/ |
H A D | 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(byteslik [all...] |
Completed in 142 milliseconds