Lines Matching refs:p
40 printbuf_memappend(struct printbuf *p, const char *buf, int size);
42 #define printbuf_memappend_fast(p, bufptr, bufsize) \ argument
44 if ((p->size - p->bpos) > bufsize) { \
45 memcpy(p->buf + p->bpos, (bufptr), bufsize); \
46 p->bpos += bufsize; \
47 p->buf[p->bpos]= '\0'; \
48 } else { printbuf_memappend(p, (bufptr), bufsize); } \
51 #define printbuf_length(p) ((p)->bpos) argument
65 sprintbuf(struct printbuf *p, const char *msg, ...);
68 printbuf_reset(struct printbuf *p);
71 printbuf_free(struct printbuf *p);