Home
last modified time | relevance | path

Searched refs:attr_names (Results 1 – 7 of 7) sorted by relevance

/third_party/gstreamer/gstplugins_base/gst-libs/gst/tag/
Dmklangtables.c139 copy_attribute (gchar * dest, guint dest_len, const gchar ** attr_names, in copy_attribute() argument
142 while (attr_names != NULL && *attr_names != NULL) { in copy_attribute()
143 if (strcmp (*attr_names, needle) == 0) { in copy_attribute()
147 ++attr_names; in copy_attribute()
156 const gchar ** attr_names, const gchar ** attr_vals, in xml_start_element() argument
165 copy_attribute (lang.code_1, 3, attr_names, attr_vals, "iso_639_1_code"); in xml_start_element()
166 copy_attribute (lang.code_2t, 4, attr_names, attr_vals, "iso_639_2T_code"); in xml_start_element()
167 copy_attribute (lang.code_2b, 4, attr_names, attr_vals, "iso_639_2B_code"); in xml_start_element()
169 copy_attribute (name, sizeof (name), attr_names, attr_vals, "name"); in xml_start_element()
Dlang.c96 const gchar ** attr_names, const gchar ** attr_vals, in parse_start_element() argument
105 c1 = get_val (attr_names, attr_vals, "iso_639_1_code"); in parse_start_element()
111 c2t = get_val (attr_names, attr_vals, "iso_639_2T_code"); in parse_start_element()
112 c2b = get_val (attr_names, attr_vals, "iso_639_2B_code"); in parse_start_element()
113 name = get_val (attr_names, attr_vals, "name"); in parse_start_element()
Dmklicensestables.c193 const gchar ** attr_names, const gchar ** attr_vals, in parse_start() argument
211 if (!g_markup_collect_attributes (element_name, attr_names, attr_vals, in parse_start()
/third_party/ffmpeg/libavformat/
Drtpdec_mpeg4.c84 static const AttrNameMap attr_names[] = { variable
301 for (i = 0; attr_names[i].str; ++i) { in parse_fmtp()
302 if (!av_strcasecmp(attr, attr_names[i].str)) { in parse_fmtp()
303 if (attr_names[i].type == ATTR_NAME_TYPE_INT) { in parse_fmtp()
312 if (val < attr_names[i].range.min || in parse_fmtp()
313 val > attr_names[i].range.max) { in parse_fmtp()
316 attr, attr_names[i].range.min, attr_names[i].range.max, val); in parse_fmtp()
321 attr_names[i].offset) = (int) val; in parse_fmtp()
322 } else if (attr_names[i].type == ATTR_NAME_TYPE_STR) { in parse_fmtp()
327 attr_names[i].offset) = val; in parse_fmtp()
/third_party/gettext/gnulib-local/lib/
Dmarkup.c152 char **attr_names; member
272 context->attr_names = NULL; in markup_parse_context_new()
316 free (context->attr_names); in markup_parse_context_free()
755 context->attr_names = xrealloc (context->attr_names, sizeof (char *) * context->alloc_attrs); in add_attribute()
759 context->attr_names[context->cur_attr] = xstrdup (string->buffer); in add_attribute()
761 context->attr_names[context->cur_attr+1] = NULL; in add_attribute()
772 free (context->attr_names[pos]); in clear_attributes()
774 context->attr_names[pos] = context->attr_values[pos] = NULL; in clear_attributes()
777 assert (context->attr_names == NULL || in clear_attributes()
778 context->attr_names[0] == NULL); in clear_attributes()
[all …]
/third_party/glib/glib/
Dgmarkup.c145 GString **attr_names; member
247 context->attr_names = NULL; in g_markup_parse_context_new()
343 g_free (context->attr_names); in g_markup_parse_context_free()
970 return context->attr_names[context->cur_attr]->str; in current_attribute()
983 context->attr_names = g_realloc (context->attr_names, sizeof(GString*)*context->alloc_attrs); in add_attribute()
987 context->attr_names[context->cur_attr] = str; in add_attribute()
989 context->attr_names[context->cur_attr+1] = NULL; in add_attribute()
1002 release_chunk (context, context->attr_names[pos]); in clear_attributes()
1004 context->attr_names[pos] = context->attr_values[pos] = NULL; in clear_attributes()
1007 g_assert (context->attr_names == NULL || in clear_attributes()
[all …]
/third_party/python/Python/
Dcompile.c5935 PyObject *attr_names; in compiler_pattern_class() local
5936 RETURN_IF_FALSE(attr_names = PyTuple_New(nattrs)); in compiler_pattern_class()
5941 PyTuple_SET_ITEM(attr_names, i, name); in compiler_pattern_class()
5943 ADDOP_LOAD_CONST_NEW(c, attr_names); in compiler_pattern_class()