Lines Matching +defs:comment +defs:start
32 typedef int (*out_with_comment_fn) (struct formatter * f, const char *comment,
59 char *start;
70 int header; /* 1 => comments at start; 0 => end */
125 if (!(newbuf = dm_realloc(f->data.buf.start,
130 f->data.buf.start = newbuf;
143 *(f->data.buf.start + f->data.buf.used) = '\n';
146 *(f->data.buf.start + f->data.buf.used) = '\0';
152 static int _out_with_comment_file(struct formatter *f, const char *comment,
167 if (comment) {
180 fputs(comment, f->data.fp);
188 const char *comment __attribute((unused)),
193 n = vsnprintf(f->data.buf.start + f->data.buf.used,
259 * Appends a comment giving a size in more easily
277 * Appends a comment indicating that the line is
291 * Appends a comment
293 static int _out_comment(struct formatter *f, const char *comment, const char *fmt, ...)
298 _out_with_comment(f, comment, fmt, ap);
776 if (!(f->data.buf.start = dm_malloc(f->data.buf.size))) {
787 dm_free(f->data.buf.start);
792 *buf = f->data.buf.start;