Lines Matching refs:left
81 unsigned left; /* bytes remaining at next */ member
113 in->left = 0; in bopen()
127 if (in->left != 0) in bload()
131 len = (long)read(in->fd, in->buf + in->left, CHUNK - in->left); in bload()
134 in->left += (unsigned)len; in bload()
135 } while (len != 0 && in->left < CHUNK); in bload()
140 #define bget(in) (in->left ? 0 : bload(in), \
141 in->left ? (in->left--, *(in->next)++) : \
164 if (skip <= in->left) { in bskip()
165 in->left -= skip; in bskip()
171 skip -= in->left; in bskip()
172 in->left = 0; in bskip()
176 unsigned left; in bskip() local
178 left = skip & (CHUNK - 1); in bskip()
179 if (left == 0) { in bskip()
189 lseek(in->fd, skip - left, SEEK_CUR); in bskip()
190 skip = left; in bskip()
195 if (skip > in->left) in bskip()
197 in->left -= skip; in bskip()
256 if (in->left == 0) in zpull()
258 if (in->left == 0) in zpull()
260 strm->avail_in = in->left; in zpull()
322 in->left = 0; in gzcopy()
363 in->left = 0; in gzcopy()
374 in->left = strm.avail_in; in gzcopy()