Lines Matching full:lens
13 The code lengths are lens[0..codes-1]. The result starts at *table,
15 lens shorts, which is used as a work area. type is the type of code
16 to be generated, CODES, LENS, or DISTS. On return, zero is success,
23 int zlib_inflate_table(codetype type, unsigned short *lens, unsigned codes, in zlib_inflate_table() argument
63 code lengths are lens[0..codes-1]. Each length corresponds to the in zlib_inflate_table()
75 lens[] are in the range 0..MAXBITS. The caller must assure this. in zlib_inflate_table()
92 /* accumulate lengths for codes (assumes lens[] all in 0..MAXBITS) */ in zlib_inflate_table()
96 count[lens[sym]]++; in zlib_inflate_table()
133 if (lens[sym] != 0) work[offs[lens[sym]]++] = (unsigned short)sym; in zlib_inflate_table()
155 provided *table space. It is checked when a LENS table is being made in zlib_inflate_table()
159 This assumes that when type == LENS, bits == 9. in zlib_inflate_table()
173 case LENS: in zlib_inflate_table()
198 if (type == LENS && used >= ENOUGH - MAXD) in zlib_inflate_table()
242 len = lens[work[sym]]; in zlib_inflate_table()
266 if (type == LENS && used >= ENOUGH - MAXD) in zlib_inflate_table()