Lines Matching full:rnleft
127 shf->rnleft = 0;
175 shf->rnleft = 0;
214 shf->rnleft = bsize;
254 shf->rnleft = 0;
301 if (shf->rnleft > 0) {
302 lseek(shf->fd, (off_t)-shf->rnleft, SEEK_CUR);
303 shf->rnleft = 0;
417 shf->rnleft = blocking_read(shf->fd, (char *) shf->buf,
419 if (shf->rnleft < 0 && errno == EINTR &&
424 if (shf->rnleft <= 0) {
425 if (shf->rnleft < 0) {
428 shf->rnleft = 0;
454 if (shf->rnleft == 0 &&
455 (shf_fillbuf(shf) == EOF || shf->rnleft == 0))
457 ncopy = shf->rnleft;
464 shf->rnleft -= ncopy;
490 if (shf->rnleft == 0) {
493 if (shf->rnleft == 0) {
499 shf->rnleft);
500 ncopy = end ? end - shf->rp + 1 : shf->rnleft;
505 shf->rnleft -= ncopy;
520 if (shf->rnleft == 0 && (shf_fillbuf(shf) == EOF || shf->rnleft == 0))
522 --shf->rnleft;
536 (shf->rp == shf->buf && shf->rnleft))
552 shf->rnleft++;
557 shf->rnleft++;
1032 return ((shf)->rnleft > 0 ? (shf)->rnleft--, *(shf)->rp++ :