Home
last modified time | relevance | path

Searched refs:fixed_n_elements (Results 1 – 2 of 2) sorted by relevance

/third_party/glib/gobject/
Dgparamspecs.c826 aspec->fixed_n_elements = 0; /* disable */ in param_value_array_init()
831 guint fixed_n_elements) in value_array_ensure_size() argument
835 if (fixed_n_elements) in value_array_ensure_size()
837 while (value_array->n_values < fixed_n_elements) in value_array_ensure_size()
842 while (value_array->n_values > fixed_n_elements) in value_array_ensure_size()
872 if (!value->data[0].v_pointer && aspec->fixed_n_elements) in param_value_array_set_default()
873 value->data[0].v_pointer = g_value_array_new (aspec->fixed_n_elements); in param_value_array_set_default()
878 value_array_ensure_size (value->data[0].v_pointer, aspec->fixed_n_elements); in param_value_array_set_default()
890 if (!value->data[0].v_pointer && aspec->fixed_n_elements) in param_value_array_validate()
891 value->data[0].v_pointer = g_value_array_new (aspec->fixed_n_elements); in param_value_array_validate()
[all …]
Dgparamspecs.h911 guint fixed_n_elements; member