/external/python/cpython3/Lib/ |
D | io.py | 51 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 …]
|
D | tempfile.py | 41 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(),
|
D | zipimport.py | 21 import _io # for open 354 fp = _io.open_code(archive) 536 with _io.open_code(archive) as fp:
|
/external/python/cpython2/Lib/ |
D | io.py | 51 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 …]
|
D | tempfile.py | 32 import io as _io namespace 200 with _io.open(fd, 'wb', closefd=False) as fp:
|
/external/python/cpython3/Lib/dbm/ |
D | dumb.py | 25 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/ |
D | Android-bionic.bp | 38 "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",
|
D | Android-linux_x86_64.bp | 39 "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",
|
D | Android-darwin_x86_64.bp | 24 "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/ |
D | TODO | 151 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 …]
|
D | known.tsv | 89 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 …]
|
D | ignored-globals.txt | 431 # Modules/_io/_iomodule.c
|
/external/python/pyfakefs/pyfakefs/ |
D | fake_filesystem.py | 4495 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/ |
D | Setup | 126 _io -DPy_BUILD_CORE_BUILTIN -I$(srcdir)/Include/internal -I$(srcdir)/Modules/_io _io/_iomodule.c _i…
|
/external/python/cpython2/ |
D | Android.bp | 354 "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/ |
D | devmode.rst | 135 …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/ |
D | Setup.dist | 195 #_io -I$(srcdir)/Modules/_io _io/bufferedio.c _io/bytesio.c _io/fileio.c _io/iobase.c _io/_iomodule…
|
/external/python/cpython2/PC/VC6/ |
D | pythoncore.dsp | 148 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/ |
D | test_fileio.py | 16 import _io # C implementation of io 343 FileIO = _io.FileIO 570 FileIO = _io.FileIO 585 with _io.open_code(__file__) as f:
|
D | test_file_eintr.py | 20 import _io
|
/external/python/cpython3/Lib/importlib/ |
D | _bootstrap_external.py | 131 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/ |
D | test_file_eintr.py | 24 from _io import FileIO
|
/external/llvm-project/lld/lib/ReaderWriter/YAML/ |
D | ReaderWriterYAML.cpp | 189 _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/ |
D | MachONormalizedFileYAML.cpp | 321 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/ |
D | 3.6.0b4.rst | 178 Fixed possible crash in _io.TextIOWrapper deallocator when the garbage
|