Searched refs:ptrend (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/cmd/grep/
H A Dgrep.c111 static char *ptr, *ptrend; variable
344 if ((ptrend = memchr(ptr + offset, '\n', count)) == NULL) {
389 ptrend = ptr + offset;
392 next_ptr = ptrend + 1;
397 *ptrend = '\0';
404 for (lbuf = linebuf; p < ptrend; )
473 *ptrend = '\n';
474 nchars = ptrend - ptr + 1;
477 nchars = ptrend - ptr;
/illumos-gate/usr/src/cmd/grep_xpg4/
H A Dgrep.c810 char *ptr, *ptrend; local
883 ptrend = ptr + data_len;
895 ptrend = find_nl(ptr + offset, data_len - offset);
896 if (ptrend == NULL) {
930 * End of the line: ptrend
948 ptrend = rfind_nl(ptr, data_len);
952 * ptrend becomes NULL, which should happen
961 line_len = ptrend - ptr;
964 if (bline > ptrend) {
970 line_len = ptrend
[all...]
/illumos-gate/usr/src/cmd/egrep/
H A Degrep.y795 char *ptr, *ptrend, *lastptr;
833 if((ptrend = memchr(ptr, '\n', buf + count - ptr)) == NULL) {
864 ptrend = ptr + count;
868 *ptrend = '\n';
931 nchars = blkno - (buf + count - ptrend) - 2;
939 nchars = ptrend - ptr + 1;
941 nchars = ptrend - ptr;
947 ptr = ptrend + 1;
/illumos-gate/usr/src/ucbcmd/sed/
H A Dsed0.c38 union reptr *ptrend; variable in typeref:union:reptr
92 ptrend = &ptrspace[PTRSIZE];
256 if(++rep >= ptrend)
561 if(++rep >= ptrend)

Completed in 96 milliseconds