Home
last modified time | relevance | path

Searched refs:RawIOBase (Results 1 - 12 of 12) sorted by relevance

/third_party/python/Lib/
H A Dio.py9 Extending IOBase is RawIOBase which deals simply with the reading and
10 writing of raw bytes to a stream. FileIO subclasses RawIOBase to provide
13 BufferedIOBase deals with buffering on a raw byte stream (RawIOBase). Its
44 __all__ = ["BlockingIOError", "open", "open_code", "IOBase", "RawIOBase",
90 class RawIOBase(_io._RawIOBase, IOBase): class
99 RawIOBase.register(FileIO)
114 RawIOBase.register(_WindowsConsoleIO)
H A Dsocket.py663 class SocketIO(io.RawIOBase):
683 io.RawIOBase.__init__(self)
775 io.RawIOBase.close(self)
H A D_compression.py33 class DecompressReader(io.RawIOBase):
34 """Adapts the decompressor API to a RawIOBase reader API"""
H A D_pyio.py623 class RawIOBase(IOBase): class
684 io.RawIOBase.register(RawIOBase)
686 RawIOBase.register(FileIO)
693 The main difference with RawIOBase is that the read() method
702 A typical implementation should not inherit from a RawIOBase
1308 raise RuntimeError("self.raw should implement RawIOBase: it "
1352 reader and writer are RawIOBase objects that are readable and
1491 class FileIO(RawIOBase):
1705 """Same as RawIOBase
[all...]
/third_party/python/Lib/test/
H A Dtest_io.py140 class CMockRawIOWithoutRead(MockRawIOWithoutRead, io.RawIOBase):
143 class PyMockRawIOWithoutRead(MockRawIOWithoutRead, pyio.RawIOBase):
157 class CMockRawIO(MockRawIO, io.RawIOBase):
160 class PyMockRawIO(MockRawIO, pyio.RawIOBase):
181 class CMisbehavedRawIO(MisbehavedRawIO, io.RawIOBase):
184 class PyMisbehavedRawIO(MisbehavedRawIO, pyio.RawIOBase):
197 class CSlowFlushRawIO(SlowFlushRawIO, io.RawIOBase):
200 class PySlowFlushRawIO(SlowFlushRawIO, pyio.RawIOBase):
212 class CCloseFailureIO(CloseFailureIO, io.RawIOBase):
215 class PyCloseFailureIO(CloseFailureIO, pyio.RawIOBase)
[all...]
H A Dtest_winconsoleio.py20 self.assertTrue(issubclass(ConIO, io.RawIOBase))
H A Dtest_nntplib.py380 class _NNTPServerIO(io.RawIOBase):
386 io.RawIOBase.__init__(self)
H A Dtest_subprocess.py136 self.assertIsInstance(p.stdin, io.RawIOBase)
137 self.assertIsInstance(p.stdout, io.RawIOBase)
138 self.assertIsInstance(p.stderr, io.RawIOBase)
H A Dtest_pathlib.py1578 self.assertIsInstance(f, io.RawIOBase)
/third_party/python/Lib/xml/sax/
H A Dsaxutils.py85 if isinstance(out, io.RawIOBase):
/third_party/python/Lib/test/test_asyncio/
H A Dtest_unix_events.py660 self.pipe = mock.Mock(spec_set=io.RawIOBase)
837 self.pipe = mock.Mock(spec_set=io.RawIOBase)
/third_party/python/Lib/xml/etree/
H A DElementTree.py776 elif isinstance(file_or_filename, io.RawIOBase):

Completed in 23 milliseconds