Home
last modified time | relevance | path

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

/third_party/python/Modules/_io/clinic/
Dtextio.c.h178 const char *newline, int line_buffering,
195 int line_buffering = 0; in _io_TextIOWrapper___init__() local
259 line_buffering = _PyLong_AsInt(fastargs[4]); in _io_TextIOWrapper___init__()
260 if (line_buffering == -1 && PyErr_Occurred()) { in _io_TextIOWrapper___init__()
272 …per___init___impl((textio *)self, buffer, encoding, errors, newline, line_buffering, write_through… in _io_TextIOWrapper___init__()
/third_party/python/Modules/_io/
D_iomodule.c244 int line_buffering, is_number; in _io_open_impl() local
416 line_buffering = 1; in _io_open_impl()
419 line_buffering = 0; in _io_open_impl()
484 line_buffering ? Py_True : Py_False); in _io_open_impl()
Dtextio.c654 char line_buffering; member
1076 const char *newline, int line_buffering, in _io_TextIOWrapper___init___impl() argument
1207 self->line_buffering = line_buffering; in _io_TextIOWrapper___init___impl()
1359 int line_buffering; in _io_TextIOWrapper_reconfigure_impl() local
1379 line_buffering = convert_optional_bool(line_buffering_obj, in _io_TextIOWrapper_reconfigure_impl()
1380 self->line_buffering); in _io_TextIOWrapper_reconfigure_impl()
1383 if (line_buffering < 0 || write_through < 0) { in _io_TextIOWrapper_reconfigure_impl()
1403 self->line_buffering = line_buffering; in _io_TextIOWrapper_reconfigure_impl()
1638 if ((self->writetranslate && self->writenl != NULL) || self->line_buffering) in _io_TextIOWrapper_write_impl()
1653 if (self->line_buffering && in _io_TextIOWrapper_write_impl()
[all …]
/third_party/python/Lib/
D_pyio.py251 line_buffering = False
254 line_buffering = True
282 text = TextIOWrapper(buffer, encoding, errors, newline, line_buffering)
2029 line_buffering=False, write_through=False): argument
2071 line_buffering, write_through)
2080 line_buffering=False, write_through=False): argument
2093 self._line_buffering = line_buffering
2141 def line_buffering(self): member in TextIOWrapper
2154 line_buffering=None, write_through=None): argument
2184 if line_buffering is None:
[all …]
Dsubprocess.py864 line_buffering = True
869 line_buffering = False
953 line_buffering=line_buffering,
Dtokenize.py398 text = TextIOWrapper(buffer, encoding, line_buffering=True)
Dtyping.py2617 def line_buffering(self) -> bool: member in TextIO
/third_party/mesa3d/.gitlab-ci/lava/
Dlava_job_submitter.py326 sys.stdout.reconfigure(line_buffering=True)
327 sys.stderr.reconfigure(line_buffering=True)
/third_party/python/Python/
Dpylifecycle.c2146 PyObject *line_buffering, *write_through; in create_stdio() local
2209 line_buffering = Py_True; in create_stdio()
2211 line_buffering = Py_False; in create_stdio()
2242 newline, line_buffering, write_through); in create_stdio()
/third_party/python/Lib/test/
Dtest_io.py2603 self.assertEqual(t.line_buffering, False)
2604 t.__init__(b, encoding="utf-8", line_buffering=True)
2606 self.assertEqual(t.line_buffering, True)
2648 self.assertFalse(t.line_buffering)
2684 t = self.TextIOWrapper(b, encoding="utf-8", newline="\n", line_buffering=True)
2695 t = self.TextIOWrapper(b, encoding="utf-8", newline="\n", line_buffering=False)
2699 t.reconfigure(line_buffering=True) # implicit flush
2705 t.reconfigure(line_buffering=False) # implicit flush
2712 t.reconfigure(line_buffering=None)
2713 self.assertEqual(t.line_buffering, False)
[all …]
Dtest_memoryio.py580 self.assertFalse(memio.line_buffering)
/third_party/python/Doc/library/
Dio.rst942 line_buffering=False, write_through=False)
988 If *line_buffering* is ``True``, :meth:`flush` is implied when a call to
1010 .. attribute:: line_buffering
1022 line_buffering][, write_through])
1025 *errors*, *newline*, *line_buffering* and *write_through*.