Lines Matching +refs:val +refs:state
42 state->mode == LEN
46 state->bits < 8
48 On return, state->mode is one of:
71 struct inflate_state FAR *state;
97 /* copy state to local variables */
98 state = (struct inflate_state FAR *)strm->state;
105 dmax = state->dmax;
107 wsize = state->wsize;
108 whave = state->whave;
109 wnext = state->wnext;
110 window = state->window;
111 hold = state->hold;
112 bits = state->bits;
113 lcode = state->lencode;
114 dcode = state->distcode;
115 lmask = (1U << state->lenbits) - 1;
116 dmask = (1U << state->distbits) - 1;
134 Tracevv((stderr, here.val >= 0x20 && here.val < 0x7f ?
136 "inflate: literal 0x%02x\n", here.val));
137 PUP(out) = (unsigned char)(here.val);
140 len = (unsigned)(here.val);
165 dist = (unsigned)(here.val);
179 state->mode = BAD;
190 if (state->sane) {
193 state->mode = BAD;
284 here = dcode[here.val + (hold & ((1U << op) - 1))];
289 state->mode = BAD;
294 here = lcode[here.val + (hold & ((1U << op) - 1))];
299 state->mode = TYPE;
304 state->mode = BAD;
315 /* update state and return */
321 state->hold = hold;
322 state->bits = bits;