Home
last modified time | relevance | path

Searched refs:haslf (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython2/Lib/
D_pyio.py1613 haslf = (self._writetranslate or self._line_buffering) and "\n" in s
1614 if haslf and self._writetranslate and self._writenl != "\n":
1620 if self._line_buffering and (haslf or "\r" in s):
/external/python/cpython2/Modules/_io/
Dtextio.c1256 int haslf = 0; in textiowrapper_write() local
1279 haslf = 1; in textiowrapper_write()
1281 if (haslf && self->writetranslate && self->writenl != NULL) { in textiowrapper_write()
1291 (haslf || in textiowrapper_write()
/external/python/cpython3/Modules/_io/
Dtextio.c1530 int haslf = 0; in _io_TextIOWrapper_write_impl() local
1548 haslf = 1; in _io_TextIOWrapper_write_impl()
1550 if (haslf && self->writetranslate && self->writenl != NULL) { in _io_TextIOWrapper_write_impl()
1562 (haslf || in _io_TextIOWrapper_write_impl()
/external/python/cpython3/Lib/
D_pyio.py2143 haslf = (self._writetranslate or self._line_buffering) and "\n" in s
2144 if haslf and self._writetranslate and self._writenl != "\n":
2150 if self._line_buffering and (haslf or "\r" in s):