Lines Matching refs:avail_in
64 /* Compress whatever is at avail_in and next_in and write to the output file.
84 got = write(state->fd, strm->next_in, strm->avail_in);
85 if (got < 0 || (unsigned)got != strm->avail_in) {
89 strm->avail_in = 0;
142 if (strm->avail_in && gz_comp(state, Z_NO_FLUSH) == -1)
154 strm->avail_in = n;
212 if (strm->avail_in == 0)
214 have = (unsigned)((strm->next_in + strm->avail_in) - state->in);
219 strm->avail_in += copy;
229 if (strm->avail_in && gz_comp(state, Z_NO_FLUSH) == -1)
233 strm->avail_in = len;
274 if (strm->avail_in == 0)
276 have = (unsigned)((strm->next_in + strm->avail_in) - state->in);
279 strm->avail_in++;
338 if (strm->avail_in && gz_comp(state, Z_NO_FLUSH) == -1)
366 strm->avail_in = (unsigned)len;
423 if (strm->avail_in && gz_comp(state, Z_NO_FLUSH) == -1)
456 strm->avail_in = (unsigned)len;
529 if (strm->avail_in && gz_comp(state, Z_PARTIAL_FLUSH) == -1)