Lines Matching refs:bufsizp
327 saverest(char **linep, size_t *bufsizp, FILE *iptr)
339 lp = readline(linep, bufsizp, iptr);
346 putsave(char **linep, size_t *bufsizp, char type)
355 while (readline(linep, bufsizp, temptr))
389 addgen(char **lpp, size_t *bufsizp, FILE *fp)
396 saverest(lpp, bufsizp, fp);
404 putsave(lpp, bufsizp, '>');
410 delgen(char **lpp, size_t *bufsizp, FILE *fp)
418 saverest(lpp, bufsizp, fp);
426 putsave(lpp, bufsizp, '<');
534 readline(char **bufferp, size_t *bufsizp, FILE *filep)
540 (*bufferp)[*bufsizp - 1] = '\t'; /* arbitrary non-zero character */
541 (*bufferp)[*bufsizp - 2] = ' '; /* arbitrary non-newline char */
542 bufp = fgets(*bufferp, *bufsizp, filep);
545 while ((*bufferp)[*bufsizp -1] == '\0' &&
546 (*bufferp)[*bufsizp - 2] != '\n' &&
547 strlen(*bufferp) == *bufsizp - 1) {
548 newsize = 2 * (*bufsizp);
552 oldsize = *bufsizp;
553 *bufsizp = newsize;
555 (*bufferp)[*bufsizp - 1] = '\t';
556 (*bufferp)[*bufsizp - 2] = ' ';