Lines Matching refs:left
80 unsigned left; /* bytes remaining at next */
112 in->left = 0;
126 if (in->left != 0)
130 len = (long)read(in->fd, in->buf + in->left, CHUNK - in->left);
133 in->left += (unsigned)len;
134 } while (len != 0 && in->left < CHUNK);
139 #define bget(in) (in->left ? 0 : bload(in), \
140 in->left ? (in->left--, *(in->next)++) : \
163 if (skip <= in->left) {
164 in->left -= skip;
170 skip -= in->left;
171 in->left = 0;
175 unsigned left;
177 left = skip & (CHUNK - 1);
178 if (left == 0) {
188 lseek(in->fd, skip - left, SEEK_CUR);
189 skip = left;
194 if (skip > in->left)
196 in->left -= skip;
255 if (in->left == 0)
257 if (in->left == 0)
259 strm->avail_in = in->left;
321 in->left = 0;
362 in->left = 0;
373 in->left = strm.avail_in;