Lines Matching full:size
41 * By default, #GBufferedOutputStream's buffer size is set at 4 kilobytes.
44 * or g_buffered_output_stream_new_sized() to specify the buffer's size
47 * To get the size of a buffer within a buffered input stream, use
48 * g_buffered_output_stream_get_buffer_size(). To change the size of a
51 * size cannot be reduced below the size of the data within the buffer.
151 g_param_spec_uint ("buffer-size",
152 P_("Buffer Size"),
153 P_("The size of the backend buffer"),
175 * Gets the size of the buffer in the @stream.
177 * Returns: the current size of the buffer.
190 * @size: a #gsize.
192 * Sets the size of the internal buffer to @size.
196 gsize size)
205 if (size == priv->len)
210 size = MAX (size, priv->pos);
212 buffer = g_malloc (size);
216 priv->len = size;
221 priv->buffer = g_malloc (size);
222 priv->len = size;
226 g_object_notify (G_OBJECT (stream), "buffer-size");
375 * @size: a #gsize.
377 * Creates a new buffered output stream with a given buffer size.
379 * Returns: a #GOutputStream with an internal buffer set to @size.
383 gsize size)
391 "buffer-size", size,