Home
last modified time | relevance | path

Searched refs:_io (Results 1 – 25 of 65) 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
200 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.bp36 "Modules/_io/bufferedio.c",
37 "Modules/_io/bytesio.c",
38 "Modules/_io/fileio.c",
39 "Modules/_io/iobase.c",
40 "Modules/_io/_iomodule.c",
41 "Modules/_io/stringio.c",
42 "Modules/_io/textio.c",
DAndroid-linux_x86_64.bp36 "Modules/_io/bufferedio.c",
37 "Modules/_io/bytesio.c",
38 "Modules/_io/fileio.c",
39 "Modules/_io/iobase.c",
40 "Modules/_io/_iomodule.c",
41 "Modules/_io/stringio.c",
42 "Modules/_io/textio.c",
DAndroid-darwin_x86_64.bp20 "Modules/_io/_iomodule.c",
21 "Modules/_io/bufferedio.c",
22 "Modules/_io/bytesio.c",
23 "Modules/_io/fileio.c",
24 "Modules/_io/iobase.c",
25 "Modules/_io/stringio.c",
26 "Modules/_io/textio.c",
/external/u-boot/board/nvidia/dalmore/
Dpinmux-config-dalmore.h9 #define DEFAULT_PINMUX(_pingrp, _mux, _pull, _tri, _io) \ argument
15 .io = PMUX_PIN_##_io, \
21 #define I2C_PINMUX(_pingrp, _mux, _pull, _tri, _io, _lock, _od) \ argument
27 .io = PMUX_PIN_##_io, \
33 #define DDC_PINMUX(_pingrp, _mux, _pull, _tri, _io, _lock, _rcv_sel) \ argument
39 .io = PMUX_PIN_##_io, \
45 #define VI_PINMUX(_pingrp, _mux, _pull, _tri, _io, _lock, _ioreset) \ argument
51 .io = PMUX_PIN_##_io, \
57 #define CEC_PINMUX(_pingrp, _mux, _pull, _tri, _io, _lock, _od) \ argument
63 .io = PMUX_PIN_##_io, \
/external/python/cpython2/
DAndroid.bp307 "py2-c-module-_io",
515 name: "py2-c-module-_io",
518 "Modules/_io/bufferedio.c",
519 "Modules/_io/bytesio.c",
520 "Modules/_io/fileio.c",
521 "Modules/_io/iobase.c",
522 "Modules/_io/_iomodule.c",
523 "Modules/_io/stringio.c",
524 "Modules/_io/textio.c",
527 "Modules/_io",
/external/python/cpython3/Modules/
DSetup126 _io -DPy_BUILD_CORE_BUILTIN -I$(srcdir)/Include/internal -I$(srcdir)/Modules/_io _io/_iomodule.c _i…
/external/fonttools/Lib/fontTools/misc/
Dpy23.py175 import io as _io namespace
245 return _io.open(
249 return _io.open(
/external/u-boot/board/toradex/apalis_t30/
Dpinmux-config-apalis_t30.h9 #define DEFAULT_PINMUX(_pingrp, _mux, _pull, _tri, _io) \ argument
15 .io = PMUX_PIN_##_io, \
21 #define I2C_PINMUX(_pingrp, _mux, _pull, _tri, _io, _lock, _od) \ argument
27 .io = PMUX_PIN_##_io, \
33 #define LV_PINMUX(_pingrp, _mux, _pull, _tri, _io, _lock, _ioreset) \ argument
39 .io = PMUX_PIN_##_io, \
/external/u-boot/board/nvidia/cardhu/
Dpinmux-config-cardhu.h9 #define DEFAULT_PINMUX(_pingrp, _mux, _pull, _tri, _io) \ argument
15 .io = PMUX_PIN_##_io, \
21 #define I2C_PINMUX(_pingrp, _mux, _pull, _tri, _io, _lock, _od) \ argument
27 .io = PMUX_PIN_##_io, \
33 #define LV_PINMUX(_pingrp, _mux, _pull, _tri, _io, _lock, _ioreset) \ argument
39 .io = PMUX_PIN_##_io, \
/external/u-boot/board/avionic-design/common/
Dpinmux-config-tamonten-ng.h10 #define DEFAULT_PINMUX(_pingrp, _mux, _pull, _tri, _io) \ argument
16 .io = PMUX_PIN_##_io, \
22 #define I2C_PINMUX(_pingrp, _mux, _pull, _tri, _io, _lock, _od) \ argument
28 .io = PMUX_PIN_##_io, \
34 #define LV_PINMUX(_pingrp, _mux, _pull, _tri, _io, _lock, _ioreset) \ argument
40 .io = PMUX_PIN_##_io, \
/external/u-boot/board/toradex/colibri_t30/
Dpinmux-config-colibri_t30.h9 #define DEFAULT_PINMUX(_pingrp, _mux, _pull, _tri, _io) \ argument
15 .io = PMUX_PIN_##_io, \
21 #define I2C_PINMUX(_pingrp, _mux, _pull, _tri, _io, _lock, _od) \ argument
27 .io = PMUX_PIN_##_io, \
33 #define LV_PINMUX(_pingrp, _mux, _pull, _tri, _io, _lock, _ioreset) \ argument
39 .io = PMUX_PIN_##_io, \
/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/importlib/
D_bootstrap_external.py131 with _io.FileIO(fd, 'wb') as file:
618 source_bytes_readline = _io.BytesIO(source_bytes).readline
620 newline_decoder = _io.IncrementalNewlineDecoder(None, True)
972 with _io.open_code(str(path)) as file:
975 with _io.FileIO(path, 'r') as file:
988 return _io.FileIO(path, 'r')
/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/cpython2/Lib/test/
Dtest_file_eintr.py24 from _io import FileIO
/external/u-boot/board/nvidia/p2371-0000/
Dpinmux-config-p2371-0000.h75 #define PINCFG(_pingrp, _mux, _pull, _tri, _io, _od, _e_io_hv) \ argument
81 .io = PMUX_PIN_##_io, \
/external/u-boot/board/nvidia/p2371-2180/
Dpinmux-config-p2371-2180.h86 #define PINCFG(_pingrp, _mux, _pull, _tri, _io, _od, _e_io_hv) \ argument
92 .io = PMUX_PIN_##_io, \

123