Home
last modified time | relevance | path

Searched refs:value_array (Results 1 – 3 of 3) sorted by relevance

/external/bluetooth/glib/gobject/
Dgvaluearray.c65 g_value_array_get_nth (GValueArray *value_array, in g_value_array_get_nth() argument
68 g_return_val_if_fail (value_array != NULL, NULL); in g_value_array_get_nth()
69 g_return_val_if_fail (index < value_array->n_values, NULL); in g_value_array_get_nth()
71 return value_array->values + index; in g_value_array_get_nth()
75 value_array_grow (GValueArray *value_array, in value_array_grow() argument
79 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()
84 guint i = value_array->n_prealloced; in value_array_grow()
86value_array->n_prealloced = (value_array->n_values + GROUP_N_VALUES - 1) & ~(GROUP_N_VALUES - 1); in value_array_grow()
[all …]
Dgvaluearray.h54 GValue* g_value_array_get_nth (GValueArray *value_array,
57 void g_value_array_free (GValueArray *value_array);
58 GValueArray* g_value_array_copy (const GValueArray *value_array);
59 GValueArray* g_value_array_prepend (GValueArray *value_array,
61 GValueArray* g_value_array_append (GValueArray *value_array,
63 GValueArray* g_value_array_insert (GValueArray *value_array,
66 GValueArray* g_value_array_remove (GValueArray *value_array,
68 GValueArray* g_value_array_sort (GValueArray *value_array,
70 GValueArray* g_value_array_sort_with_data (GValueArray *value_array,
Dgparamspecs.c826 value_array_ensure_size (GValueArray *value_array, in value_array_ensure_size() argument
833 while (value_array->n_values < fixed_n_elements) in value_array_ensure_size()
835 g_value_array_append (value_array, NULL); 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()
883 GValueArray *value_array = value->data[0].v_pointer; in param_value_array_validate() local
892 changed += value_array_ensure_size (value_array, aspec->fixed_n_elements); in param_value_array_validate()
900 for (i = 0; i < value_array->n_values; i++) in param_value_array_validate()
902 GValue *element = value_array->values + i; in param_value_array_validate()