Lines Matching refs:buffer
241 Open a console buffer by file descriptor.
382 "Cannot open console input buffer for writing");
387 "Cannot open console output buffer for reading");
452 "Console buffer does not support %s", action);
475 True if console is an input buffer.
490 True if console is an output buffer.
571 /* If we didn't read a full buffer that time, don't try
575 /* If the buffer ended with a newline, break out */
578 /* If the buffer ends with a high surrogate, expand the
579 buffer and read an extra character. */
651 /* Each character may take up to 4 bytes in the final buffer.
654 If the caller requests fewer than 4 bytes, we buffer one
700 /* Calculate the needed buffer for a more useful error, as this
727 buffer: Py_buffer(accept={rwbuffer})
734 _io__WindowsConsoleIO_readinto_impl(winconsoleio *self, Py_buffer *buffer)
737 Py_ssize_t len = readinto(self, buffer->buf, buffer->len);
749 /* Expand the buffer by an amount proportional to the current size,
838 /* when the result starts with ^Z we return an empty buffer */
945 Write buffer b to file, return number of bytes written.
995 * before a final one, and our buffer is way longer than that.