Lines Matching refs:fillbuf
204 * src/grep.c (fillbuf): Fix storage allocation performance
210 * src/grep.c (fillbuf): Avoid unnecessary division by 2.
212 (fillbuf, grepdir): Use xalloc_die rather than error; it's shorter.
639 (reset, fillbuf): Use simpler buffer allocation strategy.
642 (fillbuf): Do not resize buffer if there's room at the end for
728 * src/grep.c (undossify_input, fillbuf, dosbuf.c, prline, main):
776 compile, execute, fillbuf, lastnl, lastout, nlscan, prline,
842 page_alloc, reset, fillbuf, grepbuf, prtext, prpending, prline,
945 to retain the correct input offset even after a call to fillbuf. Note
956 (fillbuf): No longer updates inputhwm.
972 (fillbuf, prtext, grepbuf): Set it.
1239 * src/grep.c (fillbuf): Don't report buffer size overflow if
1284 (fillbuf): Return an error indication, not a count.
1354 * src/grep.c (fillbuf): Fix typo: we sometimes reported
1372 (fillbuf): Calculate an upper bound on how much memory we should
1390 (fillbuf): Rejigger the buffer allocation mechanism. The old
1661 (reset, fillbuf, grep, grepdir, grepfile): Pass struct stats * arg,
1717 (fillbuf): Remove redundant test of O_BINARY.
1805 (fillbuf): Likewise. Use memcpy to copy saved area.
1956 (fillbuf): Use it.
2215 * src/grep.c (fillbuf): Don't warn about mmap failures.
2250 (fillbuf) [O_BINARY]: For DOS-style text files, strip CR