Lines Matching refs:code
10 * - First version -- complete rewrite of inflate to simplify code, avoid
13 * improve code readability and style over the previous zlib inflate code
232 fixed code decoding. Normally this returns fixed tables from inffixed.h.
235 thereafter. This reduces the size of the code by about 2K bytes, in
245 static code *lenfix, *distfix;
246 static code fixed[544];
251 static code *next;
320 printf(" static const code lenfix[%u] = {", size);
331 printf("\n static const code distfix[%u] = {", size);
545 code, and no more.
571 during that inflate() call in order to return the proper return code.
579 return code (per zlib.h). inflate() always writes as much as possible to
602 code here; /* current decoding table entry */
603 code last; /* parent table entry */
605 int ret; /* return code */
609 static const unsigned short order[19] = /* permutation of code lengths */
908 state->lencode = (code const FAR *)(state->next);
913 strm->msg = (char *)"invalid code lengths set";
917 Tracev((stderr, "inflate: code lengths ok\n"));
972 /* check for end-of-block code (better have one) */
974 strm->msg = (char *)"invalid code -- missing end-of-block";
979 /* build code tables -- note: do not change the lenbits or distbits
983 state->lencode = (code const FAR *)(state->next);
992 state->distcode = (code const FAR *)(state->next);
1049 strm->msg = (char *)"invalid literal/length code";
1085 strm->msg = (char *)"invalid distance code";