Home
last modified time | relevance | path

Searched refs:RawIOBase (Results 1 – 25 of 37) sorted by relevance

12

/external/python/cpython3/Lib/
Dio.py75 class RawIOBase(_io._RawIOBase, IOBase): class
84 RawIOBase.register(FileIO)
99 RawIOBase.register(_WindowsConsoleIO)
Dsocket.py546 class SocketIO(io.RawIOBase):
566 io.RawIOBase.__init__(self)
658 io.RawIOBase.close(self)
D_compression.py33 class DecompressReader(io.RawIOBase):
D_pyio.py557 class RawIOBase(IOBase): class
618 io.RawIOBase.register(RawIOBase)
620 RawIOBase.register(FileIO)
1418 class FileIO(RawIOBase):
/external/python/cpython2/Lib/
Dio.py73 class RawIOBase(_io._RawIOBase, IOBase): class
82 RawIOBase.register(FileIO)
D_pyio.py536 class RawIOBase(IOBase): class
596 io.RawIOBase.register(RawIOBase)
598 RawIOBase.register(FileIO)
/external/python/cpython3/Doc/library/
Dio.rst106 The raw stream API is described in detail in the docs of :class:`RawIOBase`.
173 The :class:`RawIOBase` ABC extends :class:`IOBase`. It deals with the reading
174 and writing of bytes to a stream. :class:`FileIO` subclasses :class:`RawIOBase`
178 (:class:`RawIOBase`). Its subclasses, :class:`BufferedWriter`,
206 :class:`RawIOBase` :class:`IOBase` ``readinto`` and Inherited :class:`IOBase` …
238 :meth:`~RawIOBase.readinto`, a writable object such as :class:`bytearray`
373 .. class:: RawIOBase
383 :class:`RawIOBase` provides the following methods:
429 The main difference with :class:`RawIOBase` is that methods :meth:`read`,
436 enough data; unlike their :class:`RawIOBase` counterparts, they will
[all …]
/external/python/cpython2/Doc/library/
Dio.rst34 Extending :class:`IOBase` is :class:`RawIOBase` which deals simply with the
36 :class:`RawIOBase` to provide an interface to files in the machine's
40 (:class:`RawIOBase`). Its subclasses, :class:`BufferedWriter`,
179 subclass of :class:`RawIOBase`, :class:`FileIO`, is returned.
230 In some cases, such as :meth:`~RawIOBase.readinto`, a writable object
361 .. class:: RawIOBase
371 RawIOBase provides the following methods:
416 The main difference with :class:`RawIOBase` is that methods :meth:`read`,
423 enough data; unlike their :class:`RawIOBase` counterparts, they will
430 :class:`RawIOBase` implementation, but wrap one, like
[all …]
/external/python/cpython3/Lib/test/
Dtest_io.py132 class CMockRawIOWithoutRead(MockRawIOWithoutRead, io.RawIOBase):
135 class PyMockRawIOWithoutRead(MockRawIOWithoutRead, pyio.RawIOBase):
149 class CMockRawIO(MockRawIO, io.RawIOBase):
152 class PyMockRawIO(MockRawIO, pyio.RawIOBase):
173 class CMisbehavedRawIO(MisbehavedRawIO, io.RawIOBase):
176 class PyMisbehavedRawIO(MisbehavedRawIO, pyio.RawIOBase):
189 class CSlowFlushRawIO(SlowFlushRawIO, io.RawIOBase):
192 class PySlowFlushRawIO(SlowFlushRawIO, pyio.RawIOBase):
204 class CCloseFailureIO(CloseFailureIO, io.RawIOBase):
207 class PyCloseFailureIO(CloseFailureIO, pyio.RawIOBase):
[all …]
Dtest_winconsoleio.py20 self.assertTrue(issubclass(ConIO, io.RawIOBase))
Dtest_nntplib.py330 class _NNTPServerIO(io.RawIOBase):
336 io.RawIOBase.__init__(self)
Dtest_subprocess.py112 self.assertIsInstance(p.stdin, io.RawIOBase)
113 self.assertIsInstance(p.stdout, io.RawIOBase)
114 self.assertIsInstance(p.stderr, io.RawIOBase)
/external/python/cpython2/Lib/test/
Dtest_io.py122 class CMockRawIOWithoutRead(MockRawIOWithoutRead, io.RawIOBase):
125 class PyMockRawIOWithoutRead(MockRawIOWithoutRead, pyio.RawIOBase):
139 class CMockRawIO(MockRawIO, io.RawIOBase):
142 class PyMockRawIO(MockRawIO, pyio.RawIOBase):
163 class CMisbehavedRawIO(MisbehavedRawIO, io.RawIOBase):
166 class PyMisbehavedRawIO(MisbehavedRawIO, pyio.RawIOBase):
178 class CCloseFailureIO(CloseFailureIO, io.RawIOBase):
181 class PyCloseFailureIO(CloseFailureIO, pyio.RawIOBase):
252 class CMockNonBlockWriterIO(MockNonBlockWriterIO, io.RawIOBase):
255 class PyMockNonBlockWriterIO(MockNonBlockWriterIO, pyio.RawIOBase):
[all …]
/external/chromium-trace/catapult/third_party/pyserial/serial/urlhandler/
Dprotocol_socket.py259 class Serial(SocketSerial, io.RawIOBase):
Dprotocol_loop.py250 class Serial(LoopbackSerial, io.RawIOBase):
/external/chromium-trace/catapult/third_party/pyserial/serial/
Dserialjava.py239 class Serial(JavaSerial, io.RawIOBase):
Dserialcli.py252 class Serial(IronSerial, io.RawIOBase):
Dserialwin32.py443 class Serial(Win32Serial, io.RawIOBase):
Dserialposix.py652 class Serial(PosixSerial, io.RawIOBase):
/external/python/cpython3/Lib/xml/sax/
Dsaxutils.py86 if isinstance(out, io.RawIOBase):
/external/fonttools/Lib/fontTools/misc/
Detree.py288 elif isinstance(file_or_filename, io.RawIOBase):
/external/python/cpython2/Lib/xml/sax/
Dsaxutils.py82 if isinstance(out, io.RawIOBase):
/external/python/cpython3/Misc/NEWS.d/
D3.5.0b1.rst275 Add missing method stubs to _io.RawIOBase. Patch by Laura Rupprecht.
/external/python/cpython3/Lib/xml/etree/
DElementTree.py811 elif isinstance(file_or_filename, io.RawIOBase):
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_unix_events.py636 self.pipe = mock.Mock(spec_set=io.RawIOBase)
786 self.pipe = mock.Mock(spec_set=io.RawIOBase)

12