Lines Matching defs:writer
82 /* Initialize a bytes writer
86 PyAPI_FUNC(void) _PyBytesWriter_Init(_PyBytesWriter *writer);
88 /* Get the buffer content and reset the writer.
91 PyAPI_FUNC(PyObject *) _PyBytesWriter_Finish(_PyBytesWriter *writer,
94 /* Deallocate memory of a writer (clear its internal buffer). */
95 PyAPI_FUNC(void) _PyBytesWriter_Dealloc(_PyBytesWriter *writer);
100 PyAPI_FUNC(void*) _PyBytesWriter_Alloc(_PyBytesWriter *writer,
104 Add size to the writer minimum size (min_size attribute).
109 PyAPI_FUNC(void*) _PyBytesWriter_Prepare(_PyBytesWriter *writer,
118 Note: size must be greater than the number of allocated bytes in the writer.
120 This function doesn't use the writer minimum size (min_size attribute).
124 PyAPI_FUNC(void*) _PyBytesWriter_Resize(_PyBytesWriter *writer,
130 PyAPI_FUNC(void*) _PyBytesWriter_WriteBytes(_PyBytesWriter *writer,