Home
last modified time | relevance | path

Searched refs:enum_class (Results 1 – 5 of 5) sorted by relevance

/external/bluetooth/glib/gobject/
Dgenums.c391 g_enum_get_value_by_name (GEnumClass *enum_class, in g_enum_get_value_by_name() argument
394 g_return_val_if_fail (G_IS_ENUM_CLASS (enum_class), NULL); in g_enum_get_value_by_name()
397 if (enum_class->n_values) in g_enum_get_value_by_name()
401 for (enum_value = enum_class->values; enum_value->value_name; enum_value++) in g_enum_get_value_by_name()
449 g_enum_get_value_by_nick (GEnumClass *enum_class, in g_enum_get_value_by_nick() argument
452 g_return_val_if_fail (G_IS_ENUM_CLASS (enum_class), NULL); in g_enum_get_value_by_nick()
455 if (enum_class->n_values) in g_enum_get_value_by_nick()
459 for (enum_value = enum_class->values; enum_value->value_name; enum_value++) in g_enum_get_value_by_nick()
507 g_enum_get_value (GEnumClass *enum_class, in g_enum_get_value() argument
510 g_return_val_if_fail (G_IS_ENUM_CLASS (enum_class), NULL); in g_enum_get_value()
[all …]
Dgenums.h220 GEnumValue* g_enum_get_value (GEnumClass *enum_class,
222 GEnumValue* g_enum_get_value_by_name (GEnumClass *enum_class,
224 GEnumValue* g_enum_get_value_by_nick (GEnumClass *enum_class,
Dgparamspecs.c431 espec->enum_class = NULL; in param_enum_init()
441 if (espec->enum_class) in param_enum_finalize()
443 g_type_class_unref (espec->enum_class); in param_enum_finalize()
444 espec->enum_class = NULL; in param_enum_finalize()
464 if (!espec->enum_class || in param_enum_validate()
465 !g_enum_get_value (espec->enum_class, value->data[0].v_long)) in param_enum_validate()
1949 GEnumClass *enum_class; in g_param_spec_enum() local
1953 enum_class = g_type_class_ref (enum_type); in g_param_spec_enum()
1955 g_return_val_if_fail (g_enum_get_value (enum_class, default_value) != NULL, NULL); in g_param_spec_enum()
1963 espec->enum_class = enum_class; in g_param_spec_enum()
Dgparamspecs.h752 GEnumClass *enum_class; member
/external/bluetooth/bluez/audio/
Dgstsbcenc.c175 GEnumClass *enum_class; in sbc_enc_generate_srcpad_caps() local
204 enum_class = g_type_class_ref(GST_TYPE_SBC_MODE); in sbc_enc_generate_srcpad_caps()
205 enum_value = g_enum_get_value(enum_class, enc->mode); in sbc_enc_generate_srcpad_caps()
208 g_type_class_unref(enum_class); in sbc_enc_generate_srcpad_caps()
212 enum_class = g_type_class_ref(GST_TYPE_SBC_ALLOCATION); in sbc_enc_generate_srcpad_caps()
213 enum_value = g_enum_get_value(enum_class, enc->allocation); in sbc_enc_generate_srcpad_caps()
216 g_type_class_unref(enum_class); in sbc_enc_generate_srcpad_caps()