Lines Matching refs:small_buffer
3170 memset(writer, 0, offsetof(_PyBytesWriter, small_buffer)); in _PyBytesWriter_Init()
3172 memset(writer->small_buffer, 0xCB, sizeof(writer->small_buffer)); in _PyBytesWriter_Init()
3187 return writer->small_buffer; in _PyBytesWriter_AsString()
3294 writer->small_buffer, in _PyBytesWriter_Resize()
3300 memset(writer->small_buffer, 0xDB, sizeof(writer->small_buffer)); in _PyBytesWriter_Resize()
3353 writer->allocated = sizeof(writer->small_buffer) - 1; in _PyBytesWriter_Alloc()
3367 writer->small_buffer[writer->allocated] = 0; in _PyBytesWriter_Alloc()
3369 writer->allocated = sizeof(writer->small_buffer); in _PyBytesWriter_Alloc()
3371 return _PyBytesWriter_Prepare(writer, writer->small_buffer, size); in _PyBytesWriter_Alloc()
3390 result = PyByteArray_FromStringAndSize(writer->small_buffer, size); in _PyBytesWriter_Finish()
3393 result = PyBytes_FromStringAndSize(writer->small_buffer, size); in _PyBytesWriter_Finish()