Lines Matching refs:write_end
233 Py_off_t write_end; member
357 (self->writable && self->write_end != -1)
1756 self->write_end = -1; in _bufferedwriter_reset_buf()
1853 if (!VALID_WRITE_BUFFER(self) || self->write_pos == self->write_end) in _bufferedwriter_flush_unlocked()
1864 while (self->write_pos < self->write_end) { in _bufferedwriter_flush_unlocked()
1867 Py_SAFE_DOWNCAST(self->write_end - self->write_pos, in _bufferedwriter_flush_unlocked()
1943 if (self->pos > self->write_end) in _io_BufferedWriter_write_impl()
1944 self->write_end = self->pos; in _io_BufferedWriter_write_impl()
1960 Py_SAFE_DOWNCAST(self->write_end - self->write_pos, in _io_BufferedWriter_write_impl()
1962 self->write_end -= self->write_pos; in _io_BufferedWriter_write_impl()
1966 avail = Py_SAFE_DOWNCAST(self->buffer_size - self->write_end, in _io_BufferedWriter_write_impl()
1971 memcpy(self->buffer + self->write_end, buffer->buf, buffer->len); in _io_BufferedWriter_write_impl()
1972 self->write_end += buffer->len; in _io_BufferedWriter_write_impl()
1978 memcpy(self->buffer + self->write_end, buffer->buf, avail); in _io_BufferedWriter_write_impl()
1979 self->write_end += avail; in _io_BufferedWriter_write_impl()
2019 self->write_end = self->buffer_size; in _io_BufferedWriter_write_impl()
2044 self->write_end = remaining; in _io_BufferedWriter_write_impl()