Lines Matching refs:bpos
40 p->bpos = 0; in printbuf_new()
71 p->bpos, min_size, p->size, new_size); in printbuf_extend()
82 if (p->size <= p->bpos + size + 1) { in printbuf_memappend()
83 if (printbuf_extend(p, p->bpos + size + 1) < 0) in printbuf_memappend()
86 memcpy(p->buf + p->bpos, buf, size); in printbuf_memappend()
87 p->bpos += size; in printbuf_memappend()
88 p->buf[p->bpos]= '\0'; in printbuf_memappend()
97 offset = pb->bpos; in printbuf_memset()
106 if (pb->bpos < size_needed) in printbuf_memset()
107 pb->bpos = size_needed; in printbuf_memset()
184 p->bpos = 0; in printbuf_reset()