Searched refs:prntbuf (Results 1 - 3 of 3) sorted by relevance
/illumos-gate/usr/src/cmd/grep/ |
H A D | grep.c | 90 static char *prntbuf = NULL; variable 307 if (prntbuf == NULL) { 309 if ((prntbuf = malloc(fw_lPrntBufLen)) == NULL) { 328 if ((count = read(temp, prntbuf, GBUFSIZ)) <= 0) { 341 ptr = prntbuf; 350 if (ptr > prntbuf) { 351 (void) memmove(prntbuf, ptr, offset); 352 ptr = prntbuf; 364 if ((prntbuf = realloc(prntbuf, [all...] |
/illumos-gate/usr/src/cmd/grep_xpg4/ |
H A D | grep.c | 108 static char *prntbuf; variable 832 if (prntbuf == NULL) { 834 if ((prntbuf = malloc(prntbuflen + 1)) == NULL) { 853 ptr = prntbuf; 855 if (ptr == prntbuf) { 857 * The current data chunk starts from prntbuf. 898 if (ptr > prntbuf) { 905 (void) memmove(prntbuf, ptr, data_len); 912 prntbuf = realloc(prntbuf, prntbufle [all...] |
/illumos-gate/usr/src/tools/cscope-fast/ |
H A D | cgrep.c | 169 uchar_t *prntbuf; /* current line of input from data file */ member in struct:__anon4446 1673 current.prntbuf = current.newline + 1; 1676 if (current.prntbuf < bufend) { 1700 if (current.newline < current.prntbuf) { 1725 if (current.newline <= current.prntbuf) { 1741 nc = current.newline + 1 - current.prntbuf; 1743 (void) fwrite((char *)current.prntbuf, 1, nc, output); 1768 if ((*pat->procfn)(pat, lptr->prntbuf - 1, lptr->newline + 1, 1772 pat->loc1 = lptr->prntbuf; 1788 uchar_t *begin = cur_ptr->prntbuf; [all...] |
Completed in 65 milliseconds