Lines Matching refs:readnl
648 PyObject *readnl; member
816 PyObject *old = self->readnl; in set_newline()
818 self->readnl = NULL; in set_newline()
821 self->readnl = PyUnicode_FromString(newline); in set_newline()
822 if (self->readnl == NULL) { in set_newline()
823 self->readnl = old; in set_newline()
830 if (!self->readuniversal && self->readnl != NULL) { in set_newline()
832 assert(PyUnicode_KIND(self->readnl) == PyUnicode_1BYTE_KIND); in set_newline()
833 self->writenl = (const char *)PyUnicode_1BYTE_DATA(self->readnl); in set_newline()
1060 Py_CLEAR(self->readnl); in _io_TextIOWrapper___init___impl()
1366 Py_CLEAR(self->readnl); in textiowrapper_clear()
1398 Py_VISIT(self->readnl); in textiowrapper_traverse()
1929 int translated, int universal, PyObject *readnl, in _PyIO_find_line_ending() argument
1973 Py_ssize_t readnl_len = PyUnicode_GET_LENGTH(readnl); in _PyIO_find_line_ending()
1974 Py_UCS1 *nl = PyUnicode_1BYTE_DATA(readnl); in _PyIO_find_line_ending()
1976 assert(PyUnicode_KIND(readnl) == PyUnicode_1BYTE_KIND); in _PyIO_find_line_ending()
2080 self->readtranslate, self->readuniversal, self->readnl, in _textiowrapper_readline()