Lines Matching refs:attribute
182 const struct gdb_xml_attribute *attribute; in gdb_xml_start_element() local
233 for (attribute = element->attributes; in gdb_xml_start_element()
234 attribute != NULL && attribute->name != NULL; in gdb_xml_start_element()
235 attribute++) in gdb_xml_start_element()
243 if (!strcmp (attribute->name, p[0])) in gdb_xml_start_element()
252 attribute->name); in gdb_xml_start_element()
256 if (*p == NULL && !(attribute->flags & GDB_XML_AF_OPTIONAL)) in gdb_xml_start_element()
260 attribute->name, element->name); in gdb_xml_start_element()
268 attribute->name, val); in gdb_xml_start_element()
270 if (attribute->handler) in gdb_xml_start_element()
271 parsed_value = attribute->handler (parser, attribute, val); in gdb_xml_start_element()
275 new_value.name = attribute->name; in gdb_xml_start_element()
287 for (attribute = element->attributes; in gdb_xml_start_element()
288 attribute != NULL && attribute->name != NULL; in gdb_xml_start_element()
289 attribute++) in gdb_xml_start_element()
290 if (strcmp (attribute->name, *p) == 0) in gdb_xml_start_element()
293 if (attribute == NULL || attribute->name == NULL) in gdb_xml_start_element()
677 const struct gdb_xml_attribute *attribute, in gdb_xml_parse_attr_ulongest() argument
685 attribute->name, value); in gdb_xml_parse_attr_ulongest()
707 const struct gdb_xml_attribute *attribute, in gdb_xml_parse_attr_enum() argument
710 const struct gdb_xml_enum *enums = attribute->handler_data; in gdb_xml_parse_attr_enum()
713 for (enums = attribute->handler_data; enums->name != NULL; enums++) in gdb_xml_parse_attr_enum()
719 attribute->name, value); in gdb_xml_parse_attr_enum()