Searched refs:size_needed (Results 1 – 3 of 3) sorted by relevance
94 int size_needed; in printbuf_memset() local98 size_needed = offset + len; in printbuf_memset()99 if (pb->size < size_needed) in printbuf_memset()101 if (printbuf_extend(pb, size_needed) < 0) in printbuf_memset()106 if (pb->bpos < size_needed) in printbuf_memset()107 pb->bpos = size_needed; in printbuf_memset()