Lines Matching refs:small_buffer
3233 memset(writer, 0, offsetof(_PyBytesWriter, small_buffer)); in _PyBytesWriter_Init()
3235 memset(writer->small_buffer, PYMEM_CLEANBYTE, in _PyBytesWriter_Init()
3236 sizeof(writer->small_buffer)); in _PyBytesWriter_Init()
3251 return writer->small_buffer; in _PyBytesWriter_AsString()
3359 writer->small_buffer, in _PyBytesWriter_Resize()
3365 memset(writer->small_buffer, PYMEM_CLEANBYTE, in _PyBytesWriter_Resize()
3366 sizeof(writer->small_buffer)); in _PyBytesWriter_Resize()
3419 writer->allocated = sizeof(writer->small_buffer) - 1; in _PyBytesWriter_Alloc()
3433 writer->small_buffer[writer->allocated] = 0; in _PyBytesWriter_Alloc()
3435 writer->allocated = sizeof(writer->small_buffer); in _PyBytesWriter_Alloc()
3437 return _PyBytesWriter_Prepare(writer, writer->small_buffer, size); in _PyBytesWriter_Alloc()
3456 result = PyByteArray_FromStringAndSize(writer->small_buffer, size); in _PyBytesWriter_Finish()
3459 result = PyBytes_FromStringAndSize(writer->small_buffer, size); in _PyBytesWriter_Finish()