Home | History | Annotate | Download | only in libop

Lines Matching refs:buffer

96 void open_xml_element(tag_t tag, int with_attrs, char *buffer, size_t max)
101 buffer[max - 1] = '\0';
102 size = strlen(buffer);
103 buf = &buffer[size];
116 void close_xml_element(tag_t tag, int has_nested, char *buffer, size_t max)
121 buffer[max - 1] = '\0';
122 size = strlen(buffer);
123 buf = &buffer[size];
138 void init_xml_int_attr(tag_t attr, int value, char *buffer, size_t max)
143 buffer[max - 1] = '\0';
144 size = strlen(buffer);
145 buf = &buffer[size];
157 void init_xml_dbl_attr(tag_t attr, double value, char *buffer, size_t max)
162 buffer[max - 1] = '\0';
163 size = strlen(buffer);
164 buf = &buffer[size];
176 static void xml_quote(char const *str, char *buffer, size_t max)
184 buffer[max - 1] = '\0';
185 size = strlen(buffer);
186 buf = &buffer[size];
238 fprintf(stderr,"quote_str: buffer overflow\n");
243 void init_xml_str_attr(tag_t attr, char const *str, char *buffer, size_t max)
248 buffer[max - 1] = '\0';
249 size = strlen(buffer);
250 buf = &buffer[size];