Lines Matching refs:attr_names
152 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()
822 const char **attr_names; in emit_start_element() local
840 attr_names = XCALLOC (context->cur_attr + 2, const char *); in emit_start_element()
846 && strchr (context->attr_names[i], ':')) in emit_start_element()
849 attr_names[j] = context->attr_names[i]; in emit_start_element()
853 attr_names[j] = NULL; in emit_start_element()
862 (const char **)attr_names, in emit_start_element()
865 free (attr_names); in emit_start_element()