Home | History | Annotate | Download | only in libop

Lines Matching refs:buffer

20 static char buffer[MAX_BUFFER];
26 buffer[0] = '\0';
28 open_xml_element(HELP_EVENTS, 1, buffer, MAX_BUFFER);
29 init_xml_str_attr(SCHEMA_VERSION, schema_version, buffer, MAX_BUFFER);
30 close_xml_element(NONE, 1, buffer, MAX_BUFFER);
31 open_xml_element(HELP_HEADER, 1, buffer, MAX_BUFFER);
32 init_xml_str_attr(HELP_TITLE, title, buffer, MAX_BUFFER);
33 init_xml_str_attr(HELP_DOC, doc, buffer, MAX_BUFFER);
34 close_xml_element(NONE, 0, buffer, MAX_BUFFER);
35 printf("%s", buffer);
40 buffer[0] = '\0';
41 close_xml_element(HELP_EVENTS, 0, buffer, MAX_BUFFER);
42 printf("%s", buffer);
46 char *buffer, size_t size)
50 init_xml_int_attr(HELP_EVENT_GROUP, event->val / 100, buffer,
65 buffer[0] = '\0';
66 open_xml_element(HELP_EVENT, 1, buffer, MAX_BUFFER);
67 init_xml_str_attr(HELP_EVENT_NAME, event->name, buffer, MAX_BUFFER);
68 xml_do_arch_specific_event_help(event, buffer, MAX_BUFFER);
69 init_xml_str_attr(HELP_EVENT_DESC, event->desc, buffer, MAX_BUFFER);
72 init_xml_int_attr(HELP_COUNTER_MASK, event->counter_mask, buffer,
75 init_xml_str_attr(HELP_EXT, event->ext, buffer, MAX_BUFFER);
77 buffer, MAX_BUFFER);
81 close_xml_element(NONE, 1, buffer, MAX_BUFFER);
82 open_xml_element(HELP_UNIT_MASKS, 1, buffer, MAX_BUFFER);
84 buffer, MAX_BUFFER);
96 init_xml_str_attr(HELP_UNIT_MASKS_CATEGORY, um_type, buffer, MAX_BUFFER);
97 close_xml_element(NONE, 1, buffer, MAX_BUFFER);
99 open_xml_element(HELP_UNIT_MASK, 1, buffer, MAX_BUFFER);
102 buffer, MAX_BUFFER);
105 buffer, MAX_BUFFER);
106 close_xml_element(NONE, 0, buffer, MAX_BUFFER);
108 close_xml_element(HELP_UNIT_MASKS, 0, buffer, MAX_BUFFER);
111 buffer, MAX_BUFFER);
112 printf("%s", buffer);