Lines Matching +refs:val +refs:length

19  * - Remove unnecessary second byte pull from length extra in inffast.c
76 * - Changed inflateBack() argument and in_func typedef to swap the length
196 Return state with length and distance decoding tables and index sizes set to
218 /* literal/length table */
290 state.lencode[low].val);
301 state.distcode[low].val);
508 if there is no input available. The decoding of variable length codes uses
569 unsigned len; /* length to copy for repeats, bits to drop */
671 state->length = (unsigned)(hold);
682 copy = state->length;
687 len = state->head->extra_len - state->length;
696 state->length -= copy;
698 if (state->length) goto inf_leave;
700 state->length = 0;
710 state->length < state->head->name_max)
711 state->head->name[state->length++] = len;
721 state->length = 0;
731 state->length < state->head->comm_max)
732 state->head->comment[state->length++] = len;
815 state->length = (unsigned)hold & 0xffff;
816 Tracev((stderr, "inflate: stored length %u\n",
817 state->length));
821 copy = state->length;
831 state->length -= copy;
847 strm->msg = (char *)"too many length or distance symbols";
883 if (this.val < 16) {
886 state->lens[state->have++] = this.val;
889 if (this.val == 16) {
893 strm->msg = (char *)"invalid bit length repeat";
901 else if (this.val == 17) {
916 strm->msg = (char *)"invalid bit length repeat";
965 this = state->lencode[last.val +
973 state->length = (unsigned)this.val;
975 Tracevv((stderr, this.val >= 0x20 && this.val < 0x7f ?
977 "inflate: literal 0x%02x\n", this.val));
987 strm->msg = (char *)"invalid literal/length code";
996 state->length += BITS(state->extra);
999 Tracevv((stderr, "inflate: length %u\n", state->length));
1010 this = state->distcode[last.val +
1023 state->offset = (unsigned)this.val;
1057 if (copy > state->length) copy = state->length;
1061 copy = state->length;
1065 state->length -= copy;
1069 if (state->length == 0) state->mode = LEN;
1073 *put++ = (unsigned char)(state->length);
1105 strm->msg = (char *)"incorrect length check";
1110 Tracev((stderr, "inflate: length matches trailer\n"));
1309 Z_SYNC_FLUSH but removes the length bytes of the resulting empty stored
1311 inflate is waiting for these length bytes.