Lines Matching refs:avail_in
48 If strm->avail_in != 0, then the current data is moved to the beginning of
60 if (strm->avail_in) { /* copy what's there to the start */
63 unsigned n = strm->avail_in;
68 if (gz_load(state, state->in + strm->avail_in,
69 state->size - strm->avail_in, &got) == -1)
71 strm->avail_in += got;
110 state->strm.avail_in = 0;
122 if (strm->avail_in < 2) {
125 if (strm->avail_in == 0)
136 if (strm->avail_in > 1 &&
147 strm->avail_in = 0;
157 if (strm->avail_in) {
158 memcpy(state->x.next, strm->next_in, strm->avail_in);
159 state->x.have = strm->avail_in;
160 strm->avail_in = 0;
183 if (strm->avail_in == 0 && gz_avail(state) == -1)
185 if (strm->avail_in == 0) {
251 } while (state->x.have == 0 && (!state->eof || strm->avail_in));
275 else if (state->eof && state->strm.avail_in == 0)
338 else if (state->eof && strm->avail_in == 0) {