Lines Matching refs:minlen
94 int adjbuf(char **pbuf, int *psiz, int minlen, int quantum, char **pbptr,
98 * minlen: minimum length of buffer needed
106 if (minlen > *psiz) {
108 int rminlen = quantum ? minlen % quantum : 0;
112 minlen += quantum - rminlen;
113 tbuf = (char *) realloc(*pbuf, minlen);
114 dprintf( ("adjbuf %s: %d %d (pbuf=%p, tbuf=%p)\n", whatrtn, *psiz, minlen, *pbuf, tbuf) );
121 *psiz = minlen;