Home | History | Annotate | Download | only in gobject

Lines Matching refs:values

36  *     generic values
41 * object property that holds an array of values. A #GValueArray wraps
71 return value_array->values + index;
87 value_array->values = g_renew (GValue, value_array->values, value_array->n_prealloced);
90 memset (value_array->values + i, 0,
91 (value_array->n_prealloced - i) * sizeof (value_array->values[0]));
102 value_array->values = g_renew (GValue, value_array->values, value_array->n_prealloced);
109 * @n_prealloced: number of values to preallocate space for
115 * Returns: a newly allocated #GValueArray with 0 values
124 value_array->values = NULL;
146 GValue *value = value_array->values + i;
148 if (G_VALUE_TYPE (value) != 0) /* we allow unset values in the array */
151 g_free (value_array->values);
174 new_array->values = NULL;
178 if (G_VALUE_TYPE (value_array->values + i) != 0)
180 GValue *value = new_array->values + i;
182 g_value_init (value, G_VALUE_TYPE (value_array->values + i));
183 g_value_copy (value_array->values + i, value);
249 g_memmove (value_array->values + index + 1, value_array->values + index,
250 (i - index) * sizeof (value_array->values[0]));
251 memset (value_array->values + index, 0, sizeof (value_array->values[0]));
254 g_value_init (value_array->values + index, G_VALUE_TYPE (value));
255 g_value_copy (value, value_array->values + index);
276 if (G_VALUE_TYPE (value_array->values + index) != 0)
277 g_value_unset (value_array->values + index);
280 g_memmove (value_array->values + index, value_array->values + index + 1,
281 (value_array->n_values - index) * sizeof (value_array->values[0]));
284 memset (value_array->values + value_array->n_values, 0, sizeof (value_array->values[0]));
308 qsort (value_array->values,
310 sizeof (value_array->values[0]),
337 g_qsort_with_data (value_array->values,
339 sizeof (value_array->values[0]),