Home | History | Annotate | Download | only in zlib-1.2.3

Lines Matching refs:code

7    This code is largely copied from inflate.c.  Normally either infback.o or
65 fixed code decoding. Normally this returns fixed tables from inffixed.h.
68 thereafter. This reduces the size of the code by about 2K bytes, in
78 static code *lenfix, *distfix;
79 static code fixed[544];
84 static code *next;
256 code this; /* current decoding table entry */
257 code last; /* parent table entry */
259 int ret; /* return code */
260 static const unsigned short order[19] = /* permutation of code lengths */
367 /* get code length code lengths (not a typo) */
377 state->lencode = (code const FAR *)(state->next);
382 strm->msg = (char *)"invalid code lengths set";
386 Tracev((stderr, "inflate: code lengths ok\n"));
388 /* get length and distance code code lengths */
441 /* build code tables */
443 state->lencode = (code const FAR *)(state->next);
452 state->distcode = (code const FAR *)(state->next);
475 /* get a literal, length, or end-of-block code */
513 /* invalid code */
515 strm->msg = (char *)"invalid literal/length code";
520 /* length code -- get extra bits, if any */
529 /* get distance code */
547 strm->msg = (char *)"invalid distance code";