Lines Matching full:strm
19 z_streamp strm = &(state->strm);
34 strm->zalloc = Z_NULL;
35 strm->zfree = Z_NULL;
36 strm->opaque = Z_NULL;
37 ret = deflateInit2(strm, state->level, Z_DEFLATED,
49 strm->avail_out = state->size;
50 strm->next_out = state->out;
51 state->next = strm->next_out;
65 z_streamp strm = &(state->strm);
76 if (strm->avail_out == 0 || (flush != Z_NO_FLUSH &&
78 have = (unsigned)(strm->next_out - state->next);
84 if (strm->avail_out == 0) {
85 strm->avail_out = state->size;
86 strm->next_out = state->out;
88 state->next = strm->next_out;
92 have = strm->avail_out;
93 ret = deflate(strm, flush);
99 have -= strm->avail_out;
104 deflateReset(strm);
117 z_streamp strm = &(state->strm);
120 if (strm->avail_in && gz_comp(state, Z_NO_FLUSH) == -1)
132 strm->avail_in = n;
133 strm->next_in = state->in;
151 z_streamp strm;
157 strm = &(state->strm);
189 if (strm->avail_in == 0)
190 strm->next_in = state->in;
191 n = state->size - strm->avail_in;
194 memcpy(strm->next_in + strm->avail_in, buf, n);
195 strm->avail_in += n;
205 if (strm->avail_in && gz_comp(state, Z_NO_FLUSH) == -1)
209 strm->avail_in = len;
210 strm->next_in = (voidp)buf;
227 z_streamp strm;
233 strm = &(state->strm);
248 if (strm->avail_in < state->size) {
249 if (strm->avail_in == 0)
250 strm->next_in = state->in;
251 strm->next_in[strm->avail_in++] = c;
285 z_streamp strm;
292 strm = &(state->strm);
310 if (strm->avail_in && gz_comp(state, Z_NO_FLUSH) == -1)
343 strm->avail_in = (unsigned)len;
344 strm->next_in = state->in;
361 z_streamp strm;
367 strm = &(state->strm);
385 if (strm->avail_in && gz_comp(state, Z_NO_FLUSH) == -1)
417 strm->avail_in = (unsigned)len;
418 strm->next_in = state->in;
464 z_streamp strm;
470 strm = &(state->strm);
490 if (strm->avail_in && gz_comp(state, Z_PARTIAL_FLUSH) == -1)
492 deflateParams(strm, level, strategy);
523 (void)deflateEnd(&(state->strm));