Home
last modified time | relevance | path

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

12

/third_party/python/Lib/
Dio.py51 import _io
54 from _io import (DEFAULT_BUFFER_SIZE, BlockingIOError, UnsupportedOperation,
87 class IOBase(_io._IOBase, metaclass=abc.ABCMeta):
88 __doc__ = _io._IOBase.__doc__
90 class RawIOBase(_io._RawIOBase, IOBase):
91 __doc__ = _io._RawIOBase.__doc__
93 class BufferedIOBase(_io._BufferedIOBase, IOBase):
94 __doc__ = _io._BufferedIOBase.__doc__
96 class TextIOBase(_io._TextIOBase, IOBase):
97 __doc__ = _io._TextIOBase.__doc__
[all …]
Dtempfile.py41 import io as _io namespace
206 with _io.open(fd, 'wb', closefd=False) as fp:
551 encoding = _io.text_encoding(encoding)
555 file = _io.open(fd, mode, buffering=buffering,
594 encoding = _io.text_encoding(encoding)
621 return _io.open(fd, mode, buffering=buffering,
632 return _io.open(fd, mode, buffering=buffering,
649 self._file = _io.BytesIO()
651 encoding = _io.text_encoding(encoding)
652 self._file = _io.TextIOWrapper(_io.BytesIO(),
Dzipimport.py21 import _io # for open
404 fp = _io.open_code(archive)
586 with _io.open_code(archive) as fp:
D_pyio.py694 from _io import FileIO
/third_party/python/Lib/dbm/
Ddumb.py25 import io as _io namespace
46 _io = _io # for _commit() variable in _Database
82 f = _io.open(self._datfile, 'r', encoding="Latin-1")
86 with _io.open(self._datfile, 'w', encoding="Latin-1") as f:
96 f = _io.open(self._dirfile, 'r', encoding="Latin-1")
129 with self._io.open(self._dirfile, 'w', encoding="Latin-1") as f:
148 with _io.open(self._datfile, 'rb') as f:
158 with _io.open(self._datfile, 'rb+') as f:
172 with _io.open(self._datfile, 'rb+') as f:
182 with _io.open(self._dirfile, 'a', encoding="Latin-1") as f:
/third_party/python/Tools/c-analyzer/cpython/
Dignored.tsv9 Modules/_io/fileio.c - _Py_open_cloexec_works -
10 Modules/_io/_iomodule.h - PyIOBase_Type -
11 Modules/_io/_iomodule.h - PyRawIOBase_Type -
12 Modules/_io/_iomodule.h - PyBufferedIOBase_Type -
13 Modules/_io/_iomodule.h - PyTextIOBase_Type -
14 Modules/_io/_iomodule.h - PyFileIO_Type -
15 Modules/_io/_iomodule.h - PyBytesIO_Type -
16 Modules/_io/_iomodule.h - PyStringIO_Type -
17 Modules/_io/_iomodule.h - PyBufferedReader_Type -
18 Modules/_io/_iomodule.h - PyBufferedWriter_Type -
[all …]
/third_party/python/Tools/c-analyzer/
DTODO148 Modules/_io/_iomodule.c:_PyIO_empty_bytes PyObject *_PyIO_empty_bytes
149 Modules/_io/bufferedio.c:_PyIO_trap_eintr():eintr_int static PyObject *eintr_int
164 Modules/_io/_iomodule.c:_PyIO_empty_str PyObject *_PyIO_empty_str
165 Modules/_io/_iomodule.c:_PyIO_str_close PyObject *_PyIO_str_close
166 Modules/_io/_iomodule.c:_PyIO_str_closed PyObject *_PyIO_str_closed
167 Modules/_io/_iomodule.c:_PyIO_str_decode PyObject *_PyIO_str_decode
168 Modules/_io/_iomodule.c:_PyIO_str_encode PyObject *_PyIO_str_encode
169 Modules/_io/_iomodule.c:_PyIO_str_fileno PyObject *_PyIO_str_fileno
170 Modules/_io/_iomodule.c:_PyIO_str_flush PyObject *_PyIO_str_flush
171 Modules/_io/_iomodule.c:_PyIO_str_getstate PyObject *_PyIO_str_getstate
[all …]
/third_party/python/Modules/
DSetup126 _io -DPy_BUILD_CORE_BUILTIN -I$(srcdir)/Include/internal -I$(srcdir)/Modules/_io _io/_iomodule.c _i…
/third_party/python/Doc/library/
Ddevmode.rst140 …script.py:10: ResourceWarning: unclosed file <_io.TextIOWrapper name='README.rst' mode='r' encodin…
151 …script.py:10: ResourceWarning: unclosed file <_io.TextIOWrapper name='README.rst' mode='r' encodin…
203 …script.py:10: ResourceWarning: unclosed file <_io.TextIOWrapper name='script.py' mode='r' encoding…
206 Exception ignored in: <_io.TextIOWrapper name='script.py' mode='r' encoding='UTF-8'>
Dargparse.rst933 Namespace(infile=<_io.TextIOWrapper name='input.txt' encoding='UTF-8'>,
934 outfile=<_io.TextIOWrapper name='output.txt' encoding='UTF-8'>)
936 Namespace(infile=<_io.TextIOWrapper name='<stdin>' encoding='UTF-8'>,
937 outfile=<_io.TextIOWrapper name='<stdout>' encoding='UTF-8'>)
1831 …Namespace(out=<_io.TextIOWrapper name='file.txt' mode='w' encoding='UTF-8'>, raw=<_io.FileIO name=…
1840 Namespace(infile=<_io.TextIOWrapper name='<stdin>' encoding='UTF-8'>)
Dio.rst19 .. _io-overview:
109 .. _io-text-encoding:
138 .. _io-encoding-warning:
/third_party/python/Lib/importlib/
D_bootstrap_external.py27 import _io
196 with _io.FileIO(fd, 'wb') as file:
710 source_bytes_readline = _io.BytesIO(source_bytes).readline
712 newline_decoder = _io.IncrementalNewlineDecoder(None, True)
1073 with _io.open_code(str(path)) as file:
1076 with _io.FileIO(path, 'r') as file:
/third_party/python/Lib/test/
Dtest_fileio.py17 import _io # C implementation of io
345 FileIO = _io.FileIO
572 FileIO = _io.FileIO
587 with _io.open_code(__file__) as f:
Dtest_file_eintr.py20 import _io
/third_party/boost/libs/optional/doc/
D00_optional.qbk83 [include 14_io.qbk]
/third_party/python/Misc/NEWS.d/
D3.6.0b4.rst178 Fixed possible crash in _io.TextIOWrapper deallocator when the garbage
D3.8.0a4.rst1125 ``make tags`` and ``make TAGS`` now also parse ``Modules/_io/*.c`` and
1126 ``Modules/_io/*.h``.
D3.5.0b1.rst275 Add missing method stubs to _io.RawIOBase. Patch by Laura Rupprecht.
D3.6.2rc1.rst545 _io._IOBase.readlines will check if it's closed first when hint is present.
D3.5.4rc1.rst601 _io._IOBase.readlines will check if it's closed first when hint is present.
D3.10.0b1.rst768 to a class variable. _io.open is a built-in function whereas _pyio.open is a
D3.5.3rc1.rst576 Fixed possible crash in _io.TextIOWrapper deallocator when the garbage
D3.7.0a1.rst2932 _io._IOBase.readlines will check if it's closed first when hint is present.
3957 Fixed possible crash in _io.TextIOWrapper deallocator when the garbage
/third_party/python/
DMakefile.pre.in296 IO_H= Modules/_io/_iomodule.h
299 Modules/_io/_iomodule.o \
300 Modules/_io/iobase.o \
301 Modules/_io/fileio.o \
302 Modules/_io/bufferedio.o \
303 Modules/_io/textio.o \
304 Modules/_io/bytesio.o \
305 Modules/_io/stringio.o
/third_party/python/Lib/unittest/
Dmock.py2859 import _io
2860 file_spec = list(set(dir(_io.TextIOWrapper)).union(set(dir(_io.BytesIO))))

12