Lines Matching refs:max
96 void open_xml_element(tag_t tag, int with_attrs, char *buffer, size_t max)
101 buffer[max - 1] = '\0';
104 size = max - 1 - size;
116 void close_xml_element(tag_t tag, int has_nested, char *buffer, size_t max)
121 buffer[max - 1] = '\0';
124 size = max - 1 - size;
138 void init_xml_int_attr(tag_t attr, int value, char *buffer, size_t max)
143 buffer[max - 1] = '\0';
146 size = max - 1 - size;
157 void init_xml_dbl_attr(tag_t attr, double value, char *buffer, size_t max)
162 buffer[max - 1] = '\0';
165 size = max - 1 - size;
176 static void xml_quote(char const *str, char *buffer, size_t max)
184 buffer[max - 1] = '\0';
187 size = max - 1 - size;
243 void init_xml_str_attr(tag_t attr, char const *str, char *buffer, size_t max)
248 buffer[max - 1] = '\0';
251 size = max - 1 - size;