Lines Matching defs:bits
23 whose indices are 0..2^bits-1. work is a writable array of at least
27 on return points to the next available entry's address. bits is the
28 requested root table index bits, and on return it is the actual root
29 table index bits. It will differ if the request is greater than the
33 code FAR * FAR *table, unsigned FAR *bits,
35 unsigned len; /* a code's length in bits */
38 unsigned root; /* number of index bits for root table */
39 unsigned curr; /* number of index bits for current table */
40 unsigned drop; /* code bits to drop for sub-table */
46 unsigned low; /* low bits for current root entry */
47 unsigned mask; /* mask for low root bits */
51 const unsigned short FAR *extra; /* extra bits table to use */
77 for codes with equal lengths. Then the code starts with all zero bits
80 increases. For the deflate format, these bits are stored backwards
110 root = *bits;
140 filled is at next and has curr index bits. The code being used is huff
142 bits off of the bottom. For codes where len is less than drop + curr,
143 those top drop + curr - len bits are incremented through all values to
146 root is the number of index bits for the root table. When len exceeds
148 of the low root bits of huff. This is saved in low to check for when a
193 curr = root; /* current table index bits */
194 drop = 0; /* current bits to drop from code for index */
207 this.bits = (unsigned char)(len - drop);
221 /* replicate for those indices with low len bits equal to huff */
275 (*table)[low].bits = (unsigned char)root;
284 through high index bits. When the current sub-table is filled, the loop
288 this.bits = (unsigned char)(len - drop);
297 this.bits = (unsigned char)len;
317 *bits = root;