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.h153 const char *newline, int line_buffering,
166 int line_buffering = 0; in _io_TextIOWrapper___init__() local
170 &buffer, &encoding, &errors, &newline, &line_buffering, &write_through)) { in _io_TextIOWrapper___init__()
173 …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.c243 int line_buffering, is_number; in _io_open_impl() local
403 line_buffering = 1; in _io_open_impl()
406 line_buffering = 0; in _io_open_impl()
471 line_buffering); in _io_open_impl()
Dtextio.c651 char line_buffering; member
1024 const char *newline, int line_buffering, in _io_TextIOWrapper___init___impl() argument
1157 self->line_buffering = line_buffering; in _io_TextIOWrapper___init___impl()
1309 int line_buffering; in _io_TextIOWrapper_reconfigure_impl() local
1329 line_buffering = convert_optional_bool(line_buffering_obj, in _io_TextIOWrapper_reconfigure_impl()
1330 self->line_buffering); in _io_TextIOWrapper_reconfigure_impl()
1333 if (line_buffering < 0 || write_through < 0) { in _io_TextIOWrapper_reconfigure_impl()
1353 self->line_buffering = line_buffering; in _io_TextIOWrapper_reconfigure_impl()
1546 if ((self->writetranslate && self->writenl != NULL) || self->line_buffering) in _io_TextIOWrapper_write_impl()
1561 if (self->line_buffering && in _io_TextIOWrapper_write_impl()
[all …]
/external/python/cpython3/Lib/
D_pyio.py210 line_buffering = False
213 line_buffering = True
240 text = TextIOWrapper(buffer, encoding, errors, newline, line_buffering)
1940 line_buffering=False, write_through=False): argument
1977 line_buffering, write_through)
1986 line_buffering=False, write_through=False): argument
1999 self._line_buffering = line_buffering
2047 def line_buffering(self): member in TextIOWrapper
2060 line_buffering=None, write_through=None): argument
2090 if line_buffering is None:
[all …]
Dtokenize.py451 text = TextIOWrapper(buffer, encoding, line_buffering=True)
Dtyping.py1577 def line_buffering(self) -> bool: member in TextIO
Dsubprocess.py756 line_buffering=(bufsize == 1),
/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.c1707 PyObject *line_buffering, *write_through; in create_stdio() local
1769 line_buffering = Py_True; in create_stdio()
1771 line_buffering = Py_False; in create_stdio()
1789 newline, line_buffering, write_through); in create_stdio()
/external/python/cpython3/Lib/test/
Dtest_io.py2515 self.assertEqual(t.line_buffering, False)
2516 t.__init__(b, encoding="utf-8", line_buffering=True)
2518 self.assertEqual(t.line_buffering, True)
2560 self.assertFalse(t.line_buffering)
2596 t = self.TextIOWrapper(b, newline="\n", line_buffering=True)
2607 t = self.TextIOWrapper(b, newline="\n", line_buffering=False)
2611 t.reconfigure(line_buffering=True) # implicit flush
2617 t.reconfigure(line_buffering=False) # implicit flush
2624 t.reconfigure(line_buffering=None)
2625 self.assertEqual(t.line_buffering, False)
[all …]
Dtest_memoryio.py580 self.assertFalse(memio.line_buffering)
/external/python/cpython3/Doc/library/
Dio.rst848 line_buffering=False, write_through=False)
891 If *line_buffering* is ``True``, :meth:`flush` is implied when a call to
910 .. attribute:: line_buffering
922 line_buffering][, write_through])
925 *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