Lines Matching refs:small_buffer
3215 memset(writer, 0, offsetof(_PyBytesWriter, small_buffer)); in _PyBytesWriter_Init()
3217 memset(writer->small_buffer, 0xCB, sizeof(writer->small_buffer)); in _PyBytesWriter_Init()
3232 return writer->small_buffer; in _PyBytesWriter_AsString()
3339 writer->small_buffer, in _PyBytesWriter_Resize()
3345 memset(writer->small_buffer, 0xDB, sizeof(writer->small_buffer)); in _PyBytesWriter_Resize()
3398 writer->allocated = sizeof(writer->small_buffer) - 1; in _PyBytesWriter_Alloc()
3412 writer->small_buffer[writer->allocated] = 0; in _PyBytesWriter_Alloc()
3414 writer->allocated = sizeof(writer->small_buffer); in _PyBytesWriter_Alloc()
3416 return _PyBytesWriter_Prepare(writer, writer->small_buffer, size); in _PyBytesWriter_Alloc()
3435 result = PyByteArray_FromStringAndSize(writer->small_buffer, size); in _PyBytesWriter_Finish()
3438 result = PyBytes_FromStringAndSize(writer->small_buffer, size); in _PyBytesWriter_Finish()