Lines Matching defs:ptr
111 static char *ptr, *ptrend;
341 ptr = prntbuf;
344 if ((ptrend = memchr(ptr + offset, '\n', count)) == NULL) {
350 if (ptr > prntbuf) {
351 (void) memmove(prntbuf, ptr, offset);
352 ptr = prntbuf;
377 ptr = prntbuf;
389 ptrend = ptr + offset;
393 next_count = offset + count - (next_ptr - ptr);
403 p = ptr;
413 lbuf = ptr;
422 ptr = next_ptr;
474 nchars = ptrend - ptr + 1;
477 nchars = ptrend - ptr;
480 (void) fwrite(ptr, 1, nchars, stdout);