Home
last modified time | relevance | path

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

123

/external/python/cpython3/Lib/
Dio.py51 import _io
54 from _io import (DEFAULT_BUFFER_SIZE, BlockingIOError, UnsupportedOperation,
59 OpenWrapper = _io.open # for compatibility with _pyio
72 class IOBase(_io._IOBase, metaclass=abc.ABCMeta):
73 __doc__ = _io._IOBase.__doc__
75 class RawIOBase(_io._RawIOBase, IOBase):
76 __doc__ = _io._RawIOBase.__doc__
78 class BufferedIOBase(_io._BufferedIOBase, IOBase):
79 __doc__ = _io._BufferedIOBase.__doc__
81 class TextIOBase(_io._TextIOBase, IOBase):
[all …]
Dtempfile.py41 import io as _io namespace
201 with _io.open(fd, 'wb', closefd=False) as fp:
543 file = _io.open(fd, mode, buffering=buffering,
606 return _io.open(fd, mode, buffering=buffering,
617 return _io.open(fd, mode, buffering=buffering,
634 self._file = _io.BytesIO()
636 self._file = _io.TextIOWrapper(_io.BytesIO(),
Dzipimport.py21 import _io # for open
354 fp = _io.open_code(archive)
536 with _io.open_code(archive) as fp:
/external/python/cpython2/Lib/
Dio.py51 import _io
54 from _io import (DEFAULT_BUFFER_SIZE, BlockingIOError, UnsupportedOperation,
59 OpenWrapper = _io.open # for compatibility with _pyio
69 class IOBase(_io._IOBase):
71 __doc__ = _io._IOBase.__doc__
73 class RawIOBase(_io._RawIOBase, IOBase):
74 __doc__ = _io._RawIOBase.__doc__
76 class BufferedIOBase(_io._BufferedIOBase, IOBase):
77 __doc__ = _io._BufferedIOBase.__doc__
79 class TextIOBase(_io._TextIOBase, IOBase):
[all …]
Dtempfile.py32 import io as _io namespace
200 with _io.open(fd, 'wb', closefd=False) as fp:
/external/python/cpython3/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:
/external/python/cpython3/
DAndroid-bionic.bp38 "Modules/_io/bufferedio.c",
39 "Modules/_io/bytesio.c",
40 "Modules/_io/fileio.c",
41 "Modules/_io/iobase.c",
42 "Modules/_io/_iomodule.c",
43 "Modules/_io/stringio.c",
44 "Modules/_io/textio.c",
DAndroid-linux_x86_64.bp39 "Modules/_io/bufferedio.c",
40 "Modules/_io/bytesio.c",
41 "Modules/_io/fileio.c",
42 "Modules/_io/iobase.c",
43 "Modules/_io/_iomodule.c",
44 "Modules/_io/stringio.c",
45 "Modules/_io/textio.c",
DAndroid-darwin_x86_64.bp24 "Modules/_io/_iomodule.c",
25 "Modules/_io/bufferedio.c",
26 "Modules/_io/bytesio.c",
27 "Modules/_io/fileio.c",
28 "Modules/_io/iobase.c",
29 "Modules/_io/stringio.c",
30 "Modules/_io/textio.c",
/external/python/cpython3/Tools/c-analyzer/
DTODO151 Modules/_io/_iomodule.c:_PyIO_empty_bytes PyObject *_PyIO_empty_bytes
152 Modules/_io/bufferedio.c:_PyIO_trap_eintr():eintr_int static PyObject *eintr_int
169 Modules/_io/_iomodule.c:_PyIO_empty_str PyObject *_PyIO_empty_str
170 Modules/_io/_iomodule.c:_PyIO_str_close PyObject *_PyIO_str_close
171 Modules/_io/_iomodule.c:_PyIO_str_closed PyObject *_PyIO_str_closed
172 Modules/_io/_iomodule.c:_PyIO_str_decode PyObject *_PyIO_str_decode
173 Modules/_io/_iomodule.c:_PyIO_str_encode PyObject *_PyIO_str_encode
174 Modules/_io/_iomodule.c:_PyIO_str_fileno PyObject *_PyIO_str_fileno
175 Modules/_io/_iomodule.c:_PyIO_str_flush PyObject *_PyIO_str_flush
176 Modules/_io/_iomodule.c:_PyIO_str_getstate PyObject *_PyIO_str_getstate
[all …]
Dknown.tsv89 Modules/_io/bufferedio.c - bufferediobase_methods variable static PyMethodDef bufferediobase_methods
90 Modules/_io/bufferedio.c - bufferedrandom_getset variable static PyGetSetDef bufferedrandom_getset[]
91 Modules/_io/bufferedio.c - bufferedrandom_members variable static PyMemberDef bufferedrandom_member…
92 Modules/_io/bufferedio.c - bufferedrandom_methods variable static PyMethodDef bufferedrandom_methods
93 Modules/_io/bufferedio.c - bufferedreader_getset variable static PyGetSetDef bufferedreader_getset[]
94 Modules/_io/bufferedio.c - bufferedreader_members variable static PyMemberDef bufferedreader_member…
95 Modules/_io/bufferedio.c - bufferedreader_methods variable static PyMethodDef bufferedreader_methods
96 Modules/_io/bufferedio.c - bufferedrwpair_getset variable static PyGetSetDef bufferedrwpair_getset[]
97 Modules/_io/bufferedio.c - bufferedrwpair_methods variable static PyMethodDef bufferedrwpair_methods
98 Modules/_io/bufferedio.c - bufferedwriter_getset variable static PyGetSetDef bufferedwriter_getset[]
[all …]
Dignored-globals.txt431 # Modules/_io/_iomodule.c
/external/python/pyfakefs/pyfakefs/
Dfake_filesystem.py4495 self._io = buffer_class(contents, linesep=filesystem.line_separator(),
4506 self._io.seek(0)
4508 self._io.seek(self._flush_pos)
4509 self._read_seek = self._io.tell()
4569 contents = self._io.getvalue()
4579 self._io.flush()
4593 self._flush_pos = self._io.tell()
4608 self._io.seek(offset, whence)
4626 return self._io.tell()
4628 write_seek = self._io.tell()
[all …]
/external/python/cpython3/Modules/
DSetup126 _io -DPy_BUILD_CORE_BUILTIN -I$(srcdir)/Include/internal -I$(srcdir)/Modules/_io _io/_iomodule.c _i…
/external/python/cpython2/
DAndroid.bp354 "py2-c-module-_io",
562 name: "py2-c-module-_io",
565 "Modules/_io/bufferedio.c",
566 "Modules/_io/bytesio.c",
567 "Modules/_io/fileio.c",
568 "Modules/_io/iobase.c",
569 "Modules/_io/_iomodule.c",
570 "Modules/_io/stringio.c",
571 "Modules/_io/textio.c",
574 "Modules/_io",
/external/python/cpython3/Doc/library/
Ddevmode.rst135 …script.py:10: ResourceWarning: unclosed file <_io.TextIOWrapper name='README.rst' mode='r' encodin…
146 …script.py:10: ResourceWarning: unclosed file <_io.TextIOWrapper name='README.rst' mode='r' encodin…
198 …script.py:10: ResourceWarning: unclosed file <_io.TextIOWrapper name='script.py' mode='r' encoding…
201 Exception ignored in: <_io.TextIOWrapper name='script.py' mode='r' encoding='UTF-8'>
/external/python/cpython2/Modules/
DSetup.dist195 #_io -I$(srcdir)/Modules/_io _io/bufferedio.c _io/bytesio.c _io/fileio.c _io/iobase.c _io/_iomodule…
/external/python/cpython2/PC/VC6/
Dpythoncore.dsp148 SOURCE=..\..\Modules\_io\_iomodule.c
240 SOURCE=..\..\Modules\_io\bufferedio.c
252 SOURCE=..\..\Modules\_io\bytesio.c
364 SOURCE=..\..\Modules\_io\fileio.c
477 SOURCE=..\..\Modules\_io\iobase.c
714 SOURCE=..\..\Modules\_io\stringio.c
746 SOURCE=..\..\Modules\_io\textio.c
/external/python/cpython3/Lib/test/
Dtest_fileio.py16 import _io # C implementation of io
343 FileIO = _io.FileIO
570 FileIO = _io.FileIO
585 with _io.open_code(__file__) as f:
Dtest_file_eintr.py20 import _io
/external/python/cpython3/Lib/importlib/
D_bootstrap_external.py131 with _io.FileIO(fd, 'wb') as file:
625 source_bytes_readline = _io.BytesIO(source_bytes).readline
627 newline_decoder = _io.IncrementalNewlineDecoder(None, True)
979 with _io.open_code(str(path)) as file:
982 with _io.FileIO(path, 'r') as file:
995 return _io.FileIO(path, 'r')
/external/python/cpython2/Lib/test/
Dtest_file_eintr.py24 from _io import FileIO
/external/llvm-project/lld/lib/ReaderWriter/YAML/
DReaderWriterYAML.cpp189 _io.setError(Twine("no such atom name: ") + name); in lookup()
198 _io.setError(Twine("duplicate atom name: ") + name); in add()
204 IO &_io; member in __anona65911ac0111::RefNameResolver
627 : File("", kindNormalizedObject), _io(io), _rnb(nullptr), in NormalizedFile()
634 : File(file->path(), kindNormalizedObject), _io(io), in NormalizedFile()
678 IO &_io; member in llvm::yaml::MappingTraits::NormalizedFile
1220 RefNameResolver::RefNameResolver(const lld::File *file, IO &io) : _io(io) { in RefNameResolver()
/external/llvm-project/lld/lib/ReaderWriter/MachO/
DMachONormalizedFileYAML.cpp321 NormalizedContent(IO &io) : _io(io) {} in NormalizedContent()
322 NormalizedContent(IO &io, ArrayRef<uint8_t> content) : _io(io) { in NormalizedContent()
343 IO &_io; member
/external/python/cpython3/Misc/NEWS.d/
D3.6.0b4.rst178 Fixed possible crash in _io.TextIOWrapper deallocator when the garbage

123