Lines Matching defs:state
17 deflate_state *state = (deflate_state *)strm->state;
18 struct dfltcc_state *dfltcc_state = GET_DFLTCC_STATE(state);
26 if (!dfltcc_are_params_ok(state->level, state->w_bits, state->strategy,
44 deflate_state *state = (deflate_state *)strm->state;
45 struct dfltcc_param_v0 *param = &GET_DFLTCC_STATE(state)->param;
57 deflate_state *state = (deflate_state *)strm->state;
58 struct dfltcc_param_v0 *param = &GET_DFLTCC_STATE(state)->param;
65 &strm->next_in, &avail_in, state->window);
78 deflate_state *state = (deflate_state *)strm->state;
81 state,
85 if (state->pending != 0) {
92 memmove(state->pending_buf, state->pending_out, state->pending);
93 state->pending_out = state->pending_buf;
96 state->compressed_len += param->eobl;
106 deflate_state *state = (deflate_state *)strm->state;
107 struct dfltcc_state *dfltcc_state = GET_DFLTCC_STATE(state);
202 Assert(state->pending == 0, "There must be no pending bytes");
203 Assert(state->bi_valid < 8, "There must be less than 8 pending bits");
204 param->sbb = (unsigned int)state->bi_valid;
206 *strm->next_out = (Byte)state->bi_buf;
236 state->bi_valid = param->sbb;
237 if (state->bi_valid == 0)
238 state->bi_buf = 0; /* Avoid accessing next_out */
240 state->bi_buf = *strm->next_out & ((1 << state->bi_valid) - 1);
266 bi_windup(state);