Lines Matching full:buffer
23 char buffer[MAX_BUFFER];
25 buffer[0] = '\0';
27 open_xml_element(HELP_EVENTS, 0, buffer);
28 open_xml_element(HELP_HEADER, 1, buffer);
29 init_xml_str_attr(HELP_TITLE, title, buffer);
30 init_xml_str_attr(SCHEMA_VERSION, schema_version, buffer);
31 init_xml_str_attr(HELP_DOC, doc, buffer);
32 close_xml_element(NONE, 0, buffer);
33 printf("%s", buffer);
38 char buffer[MAX_BUFFER];
40 buffer[0] = '\0';
41 close_xml_element(HELP_EVENTS, 0, buffer);
42 printf("%s", buffer);
46 char * buffer)
50 init_xml_int_attr(HELP_EVENT_GROUP, event->val / 100, buffer);
63 char buffer[MAX_BUFFER];
65 buffer[0] = '\0';
66 open_xml_element(HELP_EVENT, 1, buffer);
67 init_xml_str_attr(HELP_EVENT_NAME, event->name, buffer);
68 xml_do_arch_specific_event_help(event, buffer);
69 init_xml_str_attr(HELP_EVENT_DESC, event->desc, buffer);
72 init_xml_int_attr(HELP_COUNTER_MASK, event->counter_mask, buffer);
73 init_xml_int_attr(HELP_MIN_COUNT, event->min_count, buffer);
76 close_xml_element(NONE, 1, buffer);
77 open_xml_element(HELP_UNIT_MASKS, 1, buffer);
78 init_xml_int_attr(HELP_DEFAULT_MASK, event->unit->default_mask, buffer);
79 close_xml_element(NONE, 1, buffer);
81 open_xml_element(HELP_UNIT_MASK, 1, buffer);
83 event->unit->um[i].value, buffer);
85 event->unit->um[i].desc, buffer);
86 close_xml_element(NONE, 0, buffer);
88 close_xml_element(HELP_UNIT_MASKS, 0, buffer);
90 close_xml_element(has_nested ? HELP_EVENT : NONE, has_nested, buffer);
91 printf("%s", buffer);