Lines Matching refs:mode

114         state->mode < HEAD || state->mode > SYNC)
130 state->mode = HEAD;
230 state->mode = HEAD; /* to pass state test in inflateReset2() */
650 if (state->mode == TYPE) state->mode = TYPEDO; /* skip check */
656 switch (state->mode) {
659 state->mode = TYPEDO;
670 state->mode = FLAGS;
682 state->mode = BAD;
687 state->mode = BAD;
696 state->mode = BAD;
702 state->mode = hold & 0x200 ? DICTID : TYPE;
711 state->mode = BAD;
716 state->mode = BAD;
724 state->mode = TIME;
732 state->mode = OS;
742 state->mode = EXLEN;
755 state->mode = EXTRA;
777 state->mode = NAME;
798 state->mode = COMMENT;
818 state->mode = HCRC;
824 state->mode = BAD;
834 state->mode = TYPE;
841 state->mode = DICT;
848 state->mode = TYPE;
854 state->mode = CHECK;
864 state->mode = STORED;
870 state->mode = LEN_; /* decode codes */
879 state->mode = TABLE;
883 state->mode = BAD;
892 state->mode = BAD;
899 state->mode = COPY_;
902 state->mode = COPY;
918 state->mode = TYPE;
931 state->mode = BAD;
937 state->mode = LENLENS;
953 state->mode = BAD;
958 state->mode = CODELENS;
976 state->mode = BAD;
999 state->mode = BAD;
1008 if (state->mode == BAD) break;
1013 state->mode = BAD;
1027 state->mode = BAD;
1036 state->mode = BAD;
1040 state->mode = LEN_;
1043 state->mode = LEN;
1049 if (state->mode == TYPE)
1077 state->mode = LIT;
1083 state->mode = TYPE;
1088 state->mode = BAD;
1092 state->mode = LENEXT;
1102 state->mode = DIST;
1124 state->mode = BAD;
1129 state->mode = DISTEXT;
1140 state->mode = BAD;
1145 state->mode = MATCH;
1154 state->mode = BAD;
1167 if (state->length == 0) state->mode = LEN;
1189 if (state->length == 0) state->mode = LEN;
1195 state->mode = LEN;
1213 state->mode = BAD;
1220 state->mode = LENGTH;
1226 state->mode = BAD;
1233 state->mode = DONE;
1255 if (state->wsize || (out != strm->avail_out && state->mode < BAD &&
1256 (state->mode < CHECK || flush != Z_FINISH)))
1258 state->mode = MEM;
1270 (state->mode == TYPE ? 128 : 0) +
1271 (state->mode == LEN_ || state->mode == COPY_ ? 256 : 0);
1326 if (state->wrap != 0 && state->mode != DICT)
1330 if (state->mode == DICT) {
1341 state->mode = MEM;
1414 if (state->mode != SYNC) {
1415 state->mode = SYNC;
1439 state->mode = TYPE;
1458 return state->mode == STORED && state->bits == 0;
1550 (state->mode == COPY ? state->length :
1551 (state->mode == MATCH ? state->was - state->length : 0));