Home
last modified time | relevance | path

Searched refs:line_buffering (Results 1 – 18 of 18) sorted by relevance

/external/python/cpython3/Modules/_io/clinic/
Dtextio.c.h188 const char *newline, int line_buffering,
205 int line_buffering = 0; in _io_TextIOWrapper___init__() local
274 line_buffering = _PyLong_AsInt(fastargs[4]); in _io_TextIOWrapper___init__()
275 if (line_buffering == -1 && PyErr_Occurred()) { in _io_TextIOWrapper___init__()
292 …per___init___impl((textio *)self, buffer, encoding, errors, newline, line_buffering, write_through… in _io_TextIOWrapper___init__()
/external/python/cpython2/Modules/_io/
D_iomodule.c303 int line_buffering; in io_open() local
438 line_buffering = 1; in io_open()
441 line_buffering = 0; in io_open()
516 line_buffering); in io_open()
Dtextio.c671 char line_buffering; member
835 int line_buffering = 0; in textiowrapper_init() local
844 &newline, &line_buffering)) in textiowrapper_init()
934 self->line_buffering = line_buffering; in textiowrapper_init()
1276 if ((self->writetranslate && self->writenl != NULL) || self->line_buffering) in textiowrapper_write()
1290 if (self->line_buffering && in textiowrapper_write()
2623 {"line_buffering", T_BOOL, offsetof(textio, line_buffering), READONLY},
/external/python/cpython3/Modules/_io/
D_iomodule.c244 int line_buffering, is_number; in _io_open_impl() local
414 line_buffering = 1; in _io_open_impl()
417 line_buffering = 0; in _io_open_impl()
482 line_buffering); in _io_open_impl()
Dtextio.c651 char line_buffering; member
1033 const char *newline, int line_buffering, in _io_TextIOWrapper___init___impl() argument
1166 self->line_buffering = line_buffering; in _io_TextIOWrapper___init___impl()
1318 int line_buffering; in _io_TextIOWrapper_reconfigure_impl() local
1338 line_buffering = convert_optional_bool(line_buffering_obj, in _io_TextIOWrapper_reconfigure_impl()
1339 self->line_buffering); in _io_TextIOWrapper_reconfigure_impl()
1342 if (line_buffering < 0 || write_through < 0) { in _io_TextIOWrapper_reconfigure_impl()
1362 self->line_buffering = line_buffering; in _io_TextIOWrapper_reconfigure_impl()
1596 if ((self->writetranslate && self->writenl != NULL) || self->line_buffering) in _io_TextIOWrapper_write_impl()
1611 if (self->line_buffering && in _io_TextIOWrapper_write_impl()
[all …]
/external/python/cpython3/Lib/
D_pyio.py219 line_buffering = False
222 line_buffering = True
249 text = TextIOWrapper(buffer, encoding, errors, newline, line_buffering)
2000 line_buffering=False, write_through=False): argument
2037 line_buffering, write_through)
2046 line_buffering=False, write_through=False): argument
2059 self._line_buffering = line_buffering
2107 def line_buffering(self): member in TextIOWrapper
2120 line_buffering=None, write_through=None): argument
2150 if line_buffering is None:
[all …]
Dsubprocess.py829 line_buffering = True
834 line_buffering = False
841 line_buffering=line_buffering,
Dtokenize.py396 text = TextIOWrapper(buffer, encoding, line_buffering=True)
Dtyping.py1956 def line_buffering(self) -> bool: member in TextIO
/external/python/setuptools/setuptools/
Ddist.py899 line_buffering = sys.stdout.line_buffering
902 sys.stdout.detach(), 'utf-8', errors, newline, line_buffering)
907 sys.stdout.detach(), encoding, errors, newline, line_buffering)
/external/python/cpython2/Lib/
D_pyio.py198 line_buffering = False
201 line_buffering = True
228 text = TextIOWrapper(buffer, encoding, errors, newline, line_buffering)
1483 line_buffering=False): argument
1512 self._line_buffering = line_buffering
1563 def line_buffering(self): member in TextIOWrapper
/external/python/cpython3/Python/
Dpylifecycle.c1719 PyObject *line_buffering, *write_through; in create_stdio() local
1782 line_buffering = Py_True; in create_stdio()
1784 line_buffering = Py_False; in create_stdio()
1815 newline, line_buffering, write_through); in create_stdio()
/external/python/cpython3/Lib/test/
Dtest_io.py2558 self.assertEqual(t.line_buffering, False)
2559 t.__init__(b, encoding="utf-8", line_buffering=True)
2561 self.assertEqual(t.line_buffering, True)
2603 self.assertFalse(t.line_buffering)
2639 t = self.TextIOWrapper(b, newline="\n", line_buffering=True)
2650 t = self.TextIOWrapper(b, newline="\n", line_buffering=False)
2654 t.reconfigure(line_buffering=True) # implicit flush
2660 t.reconfigure(line_buffering=False) # implicit flush
2667 t.reconfigure(line_buffering=None)
2668 self.assertEqual(t.line_buffering, False)
[all …]
Dtest_memoryio.py580 self.assertFalse(memio.line_buffering)
/external/python/cpython3/Doc/library/
Dio.rst868 line_buffering=False, write_through=False)
911 If *line_buffering* is ``True``, :meth:`flush` is implied when a call to
930 .. attribute:: line_buffering
942 line_buffering][, write_through])
945 *errors*, *newline*, *line_buffering* and *write_through*.
/external/python/cpython2/Lib/test/
Dtest_io.py2040 self.assertEqual(t.line_buffering, False)
2041 t.__init__(b, encoding="utf8", line_buffering=True)
2043 self.assertEqual(t.line_buffering, True)
2085 self.assertFalse(t.line_buffering)
2107 t = self.TextIOWrapper(b, newline="\n", line_buffering=True)
Dtest_memoryio.py526 self.assertFalse(memio.line_buffering)
/external/python/cpython2/Doc/library/
Dio.rst772 .. class:: TextIOWrapper(buffer, encoding=None, errors=None, newline=None, line_buffering=False)
811 If *line_buffering* is ``True``, :meth:`flush` is implied when a call to
817 .. attribute:: line_buffering