Lines Matching +defs:val +defs:state
248 unsigned next, val;
254 val = 1;
257 val = (val << 4) + *hex - '0';
259 val = (val << 4) + *hex - 'A' + 10;
261 val = (val << 4) + *hex - 'a' + 10;
262 else if (val != 1 && val < 32) /* one digit followed by delimiter */
263 val += 240; /* make it look like two digits */
264 if (val > 255) { /* have two digits */
265 in[next++] = val & 0xff; /* save the decoded byte */
266 val = 1; /* start over */
330 ((struct inflate_state *)strm.state)->mode = DICT;
451 struct inflate_state *state;
457 state = (void *)((z_stream *)desc)->state;
458 if (state != Z_NULL)
459 state->mode = SYNC; /* force an otherwise impossible situation */
495 /* force mode error by mucking with state */
499 mem_done(&strm, "inflateBack bad state");