Lines Matching refs:lnbuf
59 static char *lnbuf; variable
88 lnbuf = grep_realloc(lnbuf, newlen); in grep_lnbufgrow()
119 memcpy(lnbuf, bufpos, len); in grep_fgetln()
123 lnbuf[len] = '\0'; in grep_fgetln()
124 return (lnbuf); in grep_fgetln()
132 memcpy(lnbuf + off, bufpos, len - off); in grep_fgetln()
153 memcpy(lnbuf + off, bufpos, diff); in grep_fgetln()
159 lnbuf[len] = '\0'; in grep_fgetln()
160 return (lnbuf); in grep_fgetln()
245 free(lnbuf); in grep_close()
246 lnbuf = NULL; in grep_close()