Lines Matching refs:fn_buf
57 char *fn_buf; /* first location in buf */ member
94 fnp->fn_buf = MALLOC(buflen); in fn_new()
95 fnp->fn_buflast = &fnp->fn_buf[buflen - 1]; in fn_new()
96 (void) strlcpy(fnp->fn_buf, s, buflen); in fn_new()
97 fnp->fn_rptr = fnp->fn_buf; in fn_new()
98 fnp->fn_wptr = &fnp->fn_buf[len]; in fn_new()
101 fnp->fn_buf = MALLOC(FN_MIN); in fn_new()
102 fnp->fn_buflast = &fnp->fn_buf[FN_MIN - 1]; in fn_new()
103 *fnp->fn_buf = '\0'; in fn_new()
104 fnp->fn_rptr = fnp->fn_buf; in fn_new()
105 fnp->fn_wptr = fnp->fn_buf; in fn_new()
193 if (fnp->fn_buf) in fn_free()
194 FREE(fnp->fn_buf); in fn_free()
209 fnp->fn_rptr = fnp->fn_wptr = fnp->fn_buf; in fn_renew()
223 int buflen = fnp->fn_buflast + 1 - fnp->fn_buf; in fn_putc()
235 src = fnp->fn_buf; in fn_putc()
241 fnp->fn_rptr = &newbuf[fnp->fn_rptr - fnp->fn_buf]; in fn_putc()
242 FREE(fnp->fn_buf); in fn_putc()
243 fnp->fn_buf = newbuf; in fn_putc()
244 fnp->fn_buflast = &fnp->fn_buf[buflen - 1]; in fn_putc()
281 fnp->fn_rptr = fnp->fn_buf; in fn_rewind()
314 return (fnp->fn_buf); in fn_s()
326 name = fnp->fn_buf; in fn_isgz()
534 strcmp(fnp->fn_buf, ret->fn_buf) > 0))))) in fn_list_popoldest()