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_table9(codetype type, unsigned short FAR *lens, unsigned codes,
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]]++;
136 if (lens[sym] != 0) work[offs[lens[sym]]++] = (unsigned short)sym;
158 provided *table space. It is checked for LENS and DIST tables against
175 case LENS:
200 if ((type == LENS && used >= ENOUGH_LENS) ||
244 len = lens[work[sym]];
268 if ((type == LENS && used >= ENOUGH_LENS) ||