Lines Matching refs:pending_bytes
678 PyObject *pending_bytes; // data waiting to be written. member
1116 Py_CLEAR(self->pending_bytes); in _io_TextIOWrapper___init___impl()
1422 Py_CLEAR(self->pending_bytes); in textiowrapper_clear()
1454 Py_VISIT(self->pending_bytes); in textiowrapper_traverse()
1545 if (self->pending_bytes == NULL) in _textiowrapper_writeflush()
1548 PyObject *pending = self->pending_bytes; in _textiowrapper_writeflush()
1597 self->pending_bytes = NULL; in _textiowrapper_writeflush()
1693 if (self->pending_bytes == NULL) { in _io_TextIOWrapper_write_impl()
1695 self->pending_bytes = b; in _io_TextIOWrapper_write_impl()
1697 else if (!PyList_CheckExact(self->pending_bytes)) { in _io_TextIOWrapper_write_impl()
1703 PyList_SET_ITEM(list, 0, self->pending_bytes); in _io_TextIOWrapper_write_impl()
1705 self->pending_bytes = list; in _io_TextIOWrapper_write_impl()
1708 if (PyList_Append(self->pending_bytes, b) < 0) { in _io_TextIOWrapper_write_impl()