Lines Matching refs:LENS
24 The code lengths are lens[0..codes-1]. The result starts at *table,
26 lens shorts, which is used as a work area. type is the type of code
27 to be generated, CODES, LENS, or DISTS. On return, zero is success,
34 int ZLIB_INTERNAL inflate_table(codetype type, unsigned short FAR *lens,
74 code lengths are lens[0..codes-1]. Each length corresponds to the
86 lens[] are in the range 0..MAXBITS. The caller must assure this.
103 /* accumulate lengths for codes (assumes lens[] all in 0..MAXBITS) */
107 count[lens[sym]]++;
144 if (lens[sym] != 0) work[offs[lens[sym]]++] = (unsigned short)sym;
166 provided *table space. It is checked for LENS and DIST tables against
183 case LENS:
206 if ((type == LENS && used > ENOUGH_LENS) ||
251 len = lens[work[sym]];
275 if ((type == LENS && used > ENOUGH_LENS) ||