Searched refs:newbuf (Results 1 – 1 of 1) sorted by relevance
313 char *newbuf, *oldbuf; in xb_grow() local324 newbuf = xb_malloc(newsize); in xb_grow()325 if (newbuf == NULL) { in xb_grow()329 bcopy(oldbuf, newbuf, oldsize); in xb_grow()332 xbp->xb_u.xb_buffer.xbb_base = newbuf; in xb_grow()334 xbp->xb_ptr = newbuf + oldsize; in xb_grow()