Lines Matching defs:bits
117 the gzip trailer is stored modulo 2^32, so it's ok if a long is 32 bits and
168 /* throw out what's left in the current bits byte buffer (this is a vestigial
205 int left; /* bits left in rem */
206 unsigned rem; /* unused bits from input */
207 int bits; /* current bits per code */
209 unsigned mask; /* mask for current bits codes */
210 int max; /* maximum bits per code for this stream */
235 strm->msg = (char *)"lzw bits out of range";
243 bits = 9;
251 final = prev = (unsigned)last; /* low 8 bits of code */
258 rem = (unsigned)last >> 1; /* remaining 7 bits */
260 chunk = bits - 2; /* 7 bytes left in this chunk */
268 if (end >= mask && bits < max) {
270 bits++;
275 /* get a code of length bits */
276 if (chunk == 0) /* decrement chunk modulo bits */
277 chunk = bits;
278 code = rem; /* low bits of code */
287 code += (unsigned)last << left; /* middle (or high) bits of code */
290 if (bits > left) { /* need more bits */
293 code += (unsigned)last << left; /* high bits of code */
298 left -= bits; /* number of unused bits */
299 rem = (unsigned)last >> (8 - left); /* unused bits from last byte */
304 bits = 9; /* initialize bits and mask */
366 left provide the first 0..7 bits of the next code, end is the last
514 no errors are reported. The mode bits, including suid, sgid, and the sticky
526 /* set to's mode bits, ignore errors */