Home
last modified time | relevance | path

Searched refs:readnl (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython2/Modules/_io/
Dstringio.c22 PyObject *readnl; member
272 self->readtranslate, self->readuniversal, self->readnl, in _stringio_readline()
493 Py_CLEAR(self->readnl); in stringio_close()
522 Py_CLEAR(self->readnl); in stringio_dealloc()
581 Py_CLEAR(self->readnl); in stringio_init()
586 self->readnl = PyString_FromString(newline); in stringio_init()
587 if (self->readnl == NULL) in stringio_init()
701 self->readnl ? self->readnl : Py_None, in stringio_getstate()
Dtextio.c668 PyObject *readnl; member
858 Py_CLEAR(self->readnl); in textiowrapper_init()
934 self->readnl = PyString_FromString(newline); in textiowrapper_init()
935 if (self->readnl == NULL) in textiowrapper_init()
940 self->writenl = PyString_AsString(self->readnl); in textiowrapper_init()
1082 Py_CLEAR(self->readnl); in _textiowrapper_clear()
1111 Py_VISIT(self->readnl); in textiowrapper_traverse()
1611 int translated, int universal, PyObject *readnl, in _PyIO_find_line_ending() argument
1654 Py_ssize_t readnl_len = PyString_GET_SIZE(readnl); in _PyIO_find_line_ending()
1655 unsigned char *nl = (unsigned char *) PyString_AS_STRING(readnl); in _PyIO_find_line_ending()
[all …]
D_iomodule.h62 int translated, int universal, PyObject *readnl,