Home
last modified time | relevance | path

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

/external/bluetooth/glib/gobject/
Dgenums.c399 GEnumValue *enum_value; in g_enum_get_value_by_name() local
401 for (enum_value = enum_class->values; enum_value->value_name; enum_value++) in g_enum_get_value_by_name()
402 if (strcmp (name, enum_value->value_name) == 0) in g_enum_get_value_by_name()
403 return enum_value; in g_enum_get_value_by_name()
457 GEnumValue *enum_value; in g_enum_get_value_by_nick() local
459 for (enum_value = enum_class->values; enum_value->value_name; enum_value++) in g_enum_get_value_by_nick()
460 if (enum_value->value_nick && strcmp (nick, enum_value->value_nick) == 0) in g_enum_get_value_by_nick()
461 return enum_value; in g_enum_get_value_by_nick()
514 GEnumValue *enum_value; in g_enum_get_value() local
516 for (enum_value = enum_class->values; enum_value->value_name; enum_value++) in g_enum_get_value()
[all …]
Dgvaluetransform.c197 GEnumValue *enum_value = g_enum_get_value (class, src_value->data[0].v_long); in value_transform_enum_string() local
199 if (enum_value) in value_transform_enum_string()
200 dest_value->data[0].v_pointer = g_strdup (enum_value->value_name); in value_transform_enum_string()
/external/bluetooth/bluez/audio/
Dgstsbcenc.c173 GEnumValue *enum_value; in sbc_enc_generate_srcpad_caps() local
204 enum_value = g_enum_get_value(enum_class, enc->mode); in sbc_enc_generate_srcpad_caps()
206 enum_value->value_nick, value); in sbc_enc_generate_srcpad_caps()
212 enum_value = g_enum_get_value(enum_class, enc->allocation); in sbc_enc_generate_srcpad_caps()
214 enum_value->value_nick, value); in sbc_enc_generate_srcpad_caps()