Lines Matching refs:rpos
4 * the value of buf-rpos at the last function call (__shlim or __shgetc),
5 * so that between calls the inline shcnt macro can add rpos-buf to get
11 f->shcnt = f->buf - f->rpos;
13 if (lim && f->rend - f->rpos > lim)
14 f->shend = f->rpos + lim;
24 f->shcnt = f->buf - f->rpos + cnt;
25 f->shend = f->rpos;
30 if (f->shlim && f->rend - f->rpos > f->shlim - cnt)
31 f->shend = f->rpos + (f->shlim - cnt);
34 f->shcnt = f->buf - f->rpos + cnt;
35 if (f->rpos <= f->buf) f->rpos[-1] = c;