Home | History | Annotate | Download | only in examples

Lines Matching refs:left

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