Lines Matching refs:bufnext
176 Char *bufnext, *bufend, patbuf[MAXPATHLEN], prot; in glob() local
198 bufnext = patbuf; in glob()
199 bufend = bufnext + MAXPATHLEN - 1; in glob()
202 while (bufend - bufnext >= MB_CUR_MAX) { in glob()
208 *bufnext++ = wc; in glob()
214 while (bufend - bufnext >= MB_CUR_MAX) { in glob()
217 *bufnext++ = QUOTE | M_PROTECT; in glob()
228 *bufnext++ = wc | prot; in glob()
232 *bufnext = EOS; in glob()
446 Char *bufnext, c, patbuf[MAXPATHLEN]; in glob0() local
450 bufnext = patbuf; in glob0()
461 *bufnext++ = LBRACKET; in glob0()
466 *bufnext++ = M_SET; in glob0()
468 *bufnext++ = M_NOT; in glob0()
471 *bufnext++ = CHAR(c); in glob0()
474 *bufnext++ = M_RNG; in glob0()
475 *bufnext++ = CHAR(c); in glob0()
480 *bufnext++ = M_END; in glob0()
484 *bufnext++ = M_ONE; in glob0()
491 if (bufnext == patbuf || bufnext[-1] != M_ALL) in glob0()
492 *bufnext++ = M_ALL; in glob0()
495 *bufnext++ = CHAR(c); in glob0()
499 *bufnext = EOS; in glob0()