Searched refs:newline_obj (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython3/Modules/_io/clinic/ |
D | stringio.c.h | 215 PyObject *newline_obj); 224 PyObject *newline_obj = NULL; in _io_StringIO___init__() local 227 &value, &newline_obj)) { in _io_StringIO___init__() 230 return_value = _io_StringIO___init___impl((stringio *)self, value, newline_obj); in _io_StringIO___init__()
|
D | textio.c.h | 193 PyObject *errors, PyObject *newline_obj, 205 PyObject *newline_obj = NULL; in _io_TextIOWrapper_reconfigure() local 210 &encoding, &errors, &newline_obj, &line_buffering_obj, &write_through_obj)) { in _io_TextIOWrapper_reconfigure() 213 …return_value = _io_TextIOWrapper_reconfigure_impl(self, encoding, errors, newline_obj, line_buffer… in _io_TextIOWrapper_reconfigure()
|
/external/python/cpython3/Modules/_io/ |
D | stringio.c | 649 PyObject *newline_obj) in _io_StringIO___init___impl() argument 657 if (newline_obj == Py_None) { in _io_StringIO___init___impl() 660 else if (newline_obj) { in _io_StringIO___init___impl() 661 if (!PyUnicode_Check(newline_obj)) { in _io_StringIO___init___impl() 664 Py_TYPE(newline_obj)->tp_name); in _io_StringIO___init___impl() 667 newline = PyUnicode_AsUTF8(newline_obj); in _io_StringIO___init___impl() 677 "illegal newline value: %R", newline_obj); in _io_StringIO___init___impl() 694 assert((newline != NULL && newline_obj != Py_None) || in _io_StringIO___init___impl() 695 (newline == NULL && newline_obj == Py_None)); in _io_StringIO___init___impl()
|
D | textio.c | 1304 PyObject *errors, PyObject *newline_obj, in _io_TextIOWrapper_reconfigure_impl() argument 1315 if (encoding != Py_None || errors != Py_None || newline_obj != NULL) { in _io_TextIOWrapper_reconfigure_impl() 1322 if (newline_obj != NULL && newline_obj != Py_None) { in _io_TextIOWrapper_reconfigure_impl() 1323 newline = PyUnicode_AsUTF8(newline_obj); in _io_TextIOWrapper_reconfigure_impl() 1344 if (newline_obj != NULL && set_newline(self, newline) < 0) { in _io_TextIOWrapper_reconfigure_impl() 1349 self, encoding, errors, newline_obj != NULL) < 0) { in _io_TextIOWrapper_reconfigure_impl()
|