Lines Matching refs:bufpos
50 bufpos; /* File position for start of buffer */ member
1726 if (fp->bufpos == 0) in cupsFileRewind()
1763 fp->bufpos = 0; in cupsFileRewind()
1812 if (pos >= fp->bufpos && pos < (fp->bufpos + bytes)) in cupsFileSeek()
1819 fp->ptr = fp->buf + pos - fp->bufpos; in cupsFileSeek()
1844 if (pos < fp->bufpos) in cupsFileSeek()
1858 fp->bufpos = 0; in cupsFileSeek()
1864 if (pos >= fp->bufpos && pos < (fp->bufpos + bytes)) in cupsFileSeek()
1870 fp->ptr = fp->buf + pos - fp->bufpos; in cupsFileSeek()
1876 fp->bufpos = lseek(fp->fd, pos, SEEK_SET); in cupsFileSeek()
1877 fp->pos = fp->bufpos; in cupsFileSeek()
1898 if (pos >= fp->bufpos && pos < (fp->bufpos + bytes)) in cupsFileSeek()
1905 fp->ptr = fp->buf + pos - fp->bufpos; in cupsFileSeek()
1911 fp->bufpos = lseek(fp->fd, pos, SEEK_SET); in cupsFileSeek()
1912 fp->pos = fp->bufpos; in cupsFileSeek()
2207 … fp->eof=%d", (void *)fp->ptr, (void *)fp->end, (void *)fp->buf, CUPS_LLCAST fp->bufpos, fp->eof)); in cups_fill()
2210 fp->bufpos += fp->end - fp->buf; in cups_fill()