Lines Matching defs:buffer
30 first modification or export causes the internal buffer copying.
68 /* Internal routine to get a line from the buffer of a BytesIO
102 /* Internal routine for detaching the shared buffer of BytesIO objects.
121 /* Internal routine for changing the size of the buffer of BytesIO objects.
171 "new buffer size too large");
175 /* Internal routine for writing a string of bytes to the buffer of a BytesIO
214 /* In case of overseek, pad with null bytes the buffer region between
226 /* Copy the data to the internal buffer, overwriting some of the existing
554 buffer: Py_buffer(accept={rwbuffer})
557 Read bytes into buffer.
564 _io_BytesIO_readinto_impl(bytesio *self, Py_buffer *buffer)
572 len = buffer->len;
580 memcpy(buffer->buf, PyBytes_AS_STRING(self->buf) + self->pos, len);
835 /* Set the value of the internal buffer. If state[0] does not support the
836 buffer protocol, bytesio_write will raise the appropriate TypeError. */
928 Buffered I/O implementation using an in-memory bytes buffer.