Lines Matching refs:buffer
56 /* The _PyBytesWriter structure is big: it contains an embedded "stack buffer".
60 /* bytes, bytearray or NULL (when the small buffer is used) */
61 PyObject *buffer;
70 /* If non-zero, use a bytearray instead of a bytes object for buffer. */
73 /* If non-zero, overallocate the buffer (default: 0).
77 /* Stack buffer */
85 to control the allocation of the buffer. */
88 /* Get the buffer content and reset the writer.
94 /* Deallocate memory of a writer (clear its internal buffer). */
97 /* Allocate the buffer to write size bytes.
98 Return the pointer to the beginning of buffer data.
103 /* Ensure that the buffer is large enough to write *size* bytes.
106 str is the current pointer inside the buffer.
107 Return the updated current pointer inside the buffer.
113 /* Resize the buffer to make it larger.
114 The new buffer may be larger than size bytes because of overallocation.
115 Return the updated current pointer inside the buffer.