Lines Matching defs:state
17 struct inflate_state *state = (struct inflate_state *)strm->state;
18 struct dfltcc_state *dfltcc_state = GET_DFLTCC_STATE(state);
32 struct inflate_state *state = (struct inflate_state *)strm->state;
33 struct dfltcc_state *dfltcc_state = GET_DFLTCC_STATE(state);
43 struct inflate_state *state = (struct inflate_state *)strm->state;
44 struct dfltcc_param_v0 *param = &GET_DFLTCC_STATE(state)->param;
53 struct inflate_state *state = (struct inflate_state *)strm->state;
54 struct dfltcc_state *dfltcc_state = GET_DFLTCC_STATE(state);
73 struct inflate_state *state = (struct inflate_state *)strm->state;
74 struct dfltcc_param_v0 *param = &GET_DFLTCC_STATE(state)->param;
81 &strm->next_in, &avail_in, state->window);
93 struct inflate_state *state = (struct inflate_state *)strm->state;
94 struct dfltcc_state *dfltcc_state = GET_DFLTCC_STATE(state);
109 if (state->last) {
110 if (state->bits != 0) {
113 state->bits = 0;
115 state->mode = CHECK;
122 if (!state->window || state->wsize == 0) {
123 state->mode = MEM;
129 param->sbb = state->bits;
132 param->cv = state->check;
141 state->last = cc == DFLTCC_CC_OK;
142 state->bits = param->sbb;
143 state->check = param->cv;
146 state->mode = BAD;
149 state->mode = TYPEDO;