Lines Matching defs:bufbeg
227 static char *bufbeg; /* Beginning of user-visible stuff. */
263 bufbeg = buflim = ALIGN_TO (buffer + 1, pagesize);
264 bufbeg[-1] = eolbyte;
312 amount of old stuff. When we're done, 'bufbeg' points
330 bufbeg = buflim - save;
366 bufbeg = readbuf - save;
367 memmove (bufbeg, buffer + saved_offset, save);
368 bufbeg[-1] = eolbyte;
469 static uintmax_t totalcc; /* Total character count before bufbeg. */
473 or if it's conceptually before bufbeg. */
539 uintmax_t pos = add_count (totalcc, beg - bufbeg);
635 lastout = bufbeg;
669 bp = lastout ? lastout : bufbeg;
813 && memchr (bufbeg, eol ? '\0' : '\200', buflim - bufbeg));
821 lastnl = bufbeg;
823 lastout = bufbeg;
825 beg = bufbeg + save;
858 while (i < out_before && beg > bufbeg && beg != lastout)
873 totalcc = add_count (totalcc, buflim - bufbeg - save);
887 nlines += grepbuf (bufbeg + save - residue, buflim);