Lines Matching refs:bufpos
1670 if (fp->bufpos == 0) in cupsFileRewind()
1707 fp->bufpos = 0; in cupsFileRewind()
1756 if (pos >= fp->bufpos && pos < (fp->bufpos + bytes)) in cupsFileSeek()
1763 fp->ptr = fp->buf + pos - fp->bufpos; in cupsFileSeek()
1788 if (pos < fp->bufpos) in cupsFileSeek()
1802 fp->bufpos = 0; in cupsFileSeek()
1808 if (pos >= fp->bufpos && pos < (fp->bufpos + bytes)) in cupsFileSeek()
1814 fp->ptr = fp->buf + pos - fp->bufpos; in cupsFileSeek()
1820 fp->bufpos = lseek(fp->fd, pos, SEEK_SET); in cupsFileSeek()
1821 fp->pos = fp->bufpos; in cupsFileSeek()
1842 if (pos >= fp->bufpos && pos < (fp->bufpos + bytes)) in cupsFileSeek()
1849 fp->ptr = fp->buf + pos - fp->bufpos; in cupsFileSeek()
1855 fp->bufpos = lseek(fp->fd, pos, SEEK_SET); in cupsFileSeek()
1856 fp->pos = fp->bufpos; in cupsFileSeek()
2151 … fp->eof=%d", (void *)fp->ptr, (void *)fp->end, (void *)fp->buf, CUPS_LLCAST fp->bufpos, fp->eof)); in cups_fill()
2154 fp->bufpos += fp->end - fp->buf; in cups_fill()