Lines Matching refs:bits
35 short bits; /* length of the code */ member
143 int toff, lithist, h, len, bits, use, wnbits, lits, matches, offbits, lenbits; in whack() local
236 bits = lentab[len].bits; in whack()
237 wbits = (wbits << bits) | lentab[len].encode; in whack()
238 wnbits += bits; in whack()
239 lenbits += bits; in whack()
242 bits = BigLenBits; in whack()
248 use <<= (bits & 1) ^ 1; in whack()
249 bits++; in whack()
252 wbits = (wbits << bits) | (code + len); in whack()
253 wnbits += bits; in whack()
254 lenbits += bits; in whack()
269 for(bits = MinOffBits; toff >= (1 << bits); bits++) in whack()
271 if(bits < MaxOffBits-1){ in whack()
272 wbits = (wbits << 3) | (bits - MinOffBits); in whack()
273 if(bits != MinOffBits) in whack()
274 bits--; in whack()
275 wnbits += bits + 3; in whack()
276 offbits += bits + 3; in whack()
278 wbits = (wbits << 4) | 0xe | (bits - (MaxOffBits-1)); in whack()
279 bits--; in whack()
280 wnbits += bits + 4; in whack()
281 offbits += bits + 4; in whack()
283 wbits = (wbits << bits) | toff & ((1 << bits) - 1); in whack()