Searched refs:n_values (Results 1 – 7 of 7) sorted by relevance
69 g_return_val_if_fail (index < value_array->n_values, NULL); in g_value_array_get_nth()76 guint n_values, in value_array_grow() argument79 g_return_if_fail (n_values >= value_array->n_values); in value_array_grow()81 value_array->n_values = n_values; in value_array_grow()82 if (value_array->n_values > 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()89 i = value_array->n_values; 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()122 value_array->n_values = 0; in g_value_array_new()[all …]
340 class->n_values = 0; in g_enum_class_init()353 class->n_values++; in g_enum_class_init()365 class->n_values = 0; in g_flags_class_init()375 class->n_values++; in g_flags_class_init()397 if (enum_class->n_values) in g_enum_get_value_by_name()426 if (flags_class->n_values) in g_flags_get_value_by_name()455 if (enum_class->n_values) in g_enum_get_value_by_nick()484 if (flags_class->n_values) in g_flags_get_value_by_nick()512 if (enum_class->n_values) in g_enum_get_value()540 if (flags_class->n_values) in g_flags_get_first_value()
833 while (value_array->n_values < fixed_n_elements) in value_array_ensure_size()838 while (value_array->n_values > fixed_n_elements) in value_array_ensure_size()840 g_value_array_remove (value_array, value_array->n_values - 1); in value_array_ensure_size()900 for (i = 0; i < value_array->n_values; i++) in param_value_array_validate()934 if (value_array1->n_values != value_array2->n_values) in param_value_array_values_cmp()935 return value_array1->n_values < value_array2->n_values ? -1 : 1; in param_value_array_values_cmp()941 …return value_array1->n_values < value_array2->n_values ? -1 : value_array1->n_values > value_array… in param_value_array_values_cmp()947 for (i = 0; i < value_array1->n_values; i++) in param_value_array_values_cmp()
164 guint n_values; member184 guint n_values; member
45 guint n_values; member
86 gint64* g_slice_get_config_state (GSliceConfig ckey, gint64 address, guint *n_values);
255 guint *n_values) in g_slice_get_config_state() argument258 g_return_val_if_fail (n_values != NULL, NULL); in g_slice_get_config_state()259 *n_values = 0; in g_slice_get_config_state()267 *n_values = i; in g_slice_get_config_state()268 return g_memdup (array, sizeof (array[0]) * *n_values); in g_slice_get_config_state()