Searched refs:n_prealloced (Results 1 – 3 of 3) sorted by relevance
82 if (value_array->n_values > value_array->n_prealloced) in value_array_grow()84 guint i = value_array->n_prealloced; in value_array_grow()86 … value_array->n_prealloced = (value_array->n_values + GROUP_N_VALUES - 1) & ~(GROUP_N_VALUES - 1); in value_array_grow()87 value_array->values = g_renew (GValue, value_array->values, value_array->n_prealloced); in value_array_grow()91 (value_array->n_prealloced - i) * sizeof (value_array->values[0])); in value_array_grow()99 if (value_array->n_prealloced >= value_array->n_values + GROUP_N_VALUES) in value_array_shrink()101 … value_array->n_prealloced = (value_array->n_values + GROUP_N_VALUES - 1) & ~(GROUP_N_VALUES - 1); in value_array_shrink()102 value_array->values = g_renew (GValue, value_array->values, value_array->n_prealloced); in value_array_shrink()118 g_value_array_new (guint n_prealloced) in g_value_array_new() argument123 value_array->n_prealloced = 0; in g_value_array_new()[all …]
49 guint n_prealloced; member56 GValueArray* g_value_array_new (guint n_prealloced);
2633 (g_value_array_new): fix semantic of n_prealloced argument, so it's