Lines Matching defs:newsize
117 int newsize;
119 newsize = SBUF_MINEXTENDSIZE;
120 while (newsize < size) {
121 if (newsize < (int)SBUF_MAXEXTENDSIZE)
122 newsize *= 2;
124 newsize += SBUF_MAXEXTENDINCR;
127 return (newsize);
138 int newsize;
143 newsize = sbuf_extendsize(s->s_size + addlen);
144 newbuf = (char *)SBMALLOC(newsize);
153 s->s_size = newsize;