Searched refs:enum_value (Results 1 – 3 of 3) sorted by relevance
399 GEnumValue *enum_value; in g_enum_get_value_by_name() local401 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() local459 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() local516 for (enum_value = enum_class->values; enum_value->value_name; enum_value++) in g_enum_get_value()[all …]
197 GEnumValue *enum_value = g_enum_get_value (class, src_value->data[0].v_long); in value_transform_enum_string() local199 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()
173 GEnumValue *enum_value; in sbc_enc_generate_srcpad_caps() local204 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()