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

Lines Matching refs:lens

22    The code lengths are lens[0..codes-1].  The result starts at *table,
24 lens shorts, which is used as a work area. type is the type of code
25 to be generated, CODES, LENS, or DISTS. On return, zero is success,
32 int inflate_table(type, lens, codes, table, bits, work)
34 unsigned short FAR *lens;
77 code lengths are lens[0..codes-1]. Each length corresponds to the
89 lens[] are in the range 0..MAXBITS. The caller must assure this.
106 /* accumulate lengths for codes (assumes lens[] all in 0..MAXBITS) */
110 count[lens[sym]]++;
147 if (lens[sym] != 0) work[offs[lens[sym]]++] = (unsigned short)sym;
169 provided *table space. It is checked when a LENS table is being made
173 This assumes that when type == LENS, bits == 9.
187 case LENS:
212 if (type == LENS && used >= ENOUGH - MAXD)
256 len = lens[work[sym]];
280 if (type == LENS && used >= ENOUGH - MAXD)