Searched refs:valid_len (Results 1 – 2 of 2) sorted by relevance
62 gsize valid_len; /* The part of data that has been written to */ member283 g_value_set_ulong (value, priv->valid_len); in g_memory_output_stream_get_property()328 stream->priv->valid_len = 0; in g_memory_output_stream_init()482 return ostream->priv->valid_len; in g_memory_output_stream_get_data_size()535 ostream->priv->valid_len, in g_memory_output_stream_steal_as_bytes()593 if (priv->len < priv->valid_len) in array_resize()594 priv->valid_len = priv->len; in array_resize()663 if (priv->pos > priv->valid_len) in g_memory_output_stream_write()664 priv->valid_len = priv->pos; in g_memory_output_stream_write()763 absolute = priv->valid_len + offset; in g_memory_output_stream_seek()[all …]
69 gsize valid_len; member88 if (mbuf->pos >= mbuf->valid_len) in g_memory_buffer_read_byte()98 if (mbuf->pos > mbuf->valid_len - 2) in g_memory_buffer_read_int16()100 mbuf->pos = mbuf->valid_len; in g_memory_buffer_read_int16()118 if (mbuf->pos > mbuf->valid_len - 2) in g_memory_buffer_read_uint16()120 mbuf->pos = mbuf->valid_len; in g_memory_buffer_read_uint16()138 if (mbuf->pos > mbuf->valid_len - 4) in g_memory_buffer_read_int32()140 mbuf->pos = mbuf->valid_len; in g_memory_buffer_read_int32()158 if (mbuf->pos > mbuf->valid_len - 4) in g_memory_buffer_read_uint32()160 mbuf->pos = mbuf->valid_len; in g_memory_buffer_read_uint32()[all …]