Home | History | Annotate | Download | only in src

Lines Matching refs:rp

149 	shf->rp = shf->wp = shf->buf;
176 shf->rp = shf->wp = shf->buf;
217 shf->buf = shf->rp = shf->wp = (unsigned char *)buf;
259 shf->rp = shf->buf;
313 shf->rp = shf->buf;
358 shf->rp = nbuf + (shf->rp - shf->buf);
430 shf->rp = shf->buf;
441 shf->rp = shf->buf;
473 memcpy(buf, shf->rp, ncopy);
476 shf->rp += ncopy;
515 end = (unsigned char *)memchr((char *)shf->rp, '\n',
517 ncopy = end ? end - shf->rp + 1 : shf->rnleft;
520 memcpy(buf, (char *) shf->rp, ncopy);
521 shf->rp += ncopy;
557 return (ord(*shf->rp++));
572 (shf->rp == shf->buf && shf->rnleft))
578 if (shf->rp == shf->buf)
579 shf->rp = shf->buf + shf->rbsize;
585 if ((int)(shf->rp[-1]) != c)
588 shf->rp--;
593 *--(shf->rp) = c;