Lines Matching full:bits

44         state->bits < 8
54 - The maximum input bits used by a length/distance pair is 15 bits for the
55 length code, 5 bits for the length extra, 15 bits for the distance code,
56 and 13 bits for the distance extra. This totals 48 bits, or six bytes.
83 unsigned bits; /* local strm->bits */ in inflate_fast() local
89 unsigned op; /* code bits, operation, extra bits, or */ in inflate_fast()
110 bits = state->bits; in inflate_fast()
119 if (bits < 15) { in inflate_fast()
120 hold += (unsigned long)(*in++) << bits; in inflate_fast()
121 bits += 8; in inflate_fast()
122 hold += (unsigned long)(*in++) << bits; in inflate_fast()
123 bits += 8; in inflate_fast()
127 op = (unsigned)(this.bits); in inflate_fast()
129 bits -= op; in inflate_fast()
136 op &= 15; /* number of extra bits */ in inflate_fast()
138 if (bits < op) { in inflate_fast()
139 hold += (unsigned long)(*in++) << bits; in inflate_fast()
140 bits += 8; in inflate_fast()
144 bits -= op; in inflate_fast()
146 if (bits < 15) { in inflate_fast()
147 hold += (unsigned long)(*in++) << bits; in inflate_fast()
148 bits += 8; in inflate_fast()
149 hold += (unsigned long)(*in++) << bits; in inflate_fast()
150 bits += 8; in inflate_fast()
154 op = (unsigned)(this.bits); in inflate_fast()
156 bits -= op; in inflate_fast()
160 op &= 15; /* number of extra bits */ in inflate_fast()
161 if (bits < op) { in inflate_fast()
162 hold += (unsigned long)(*in++) << bits; in inflate_fast()
163 bits += 8; in inflate_fast()
164 if (bits < op) { in inflate_fast()
165 hold += (unsigned long)(*in++) << bits; in inflate_fast()
166 bits += 8; in inflate_fast()
178 bits -= op; in inflate_fast()
311 /* return unused bytes (on entry, bits < 8, so in won't go too far back) */ in inflate_fast()
312 len = bits >> 3; in inflate_fast()
314 bits -= len << 3; in inflate_fast()
315 hold &= (1U << bits) - 1; in inflate_fast()
324 state->bits = bits; in inflate_fast()
331 - Different op definition to avoid & for extra bits (do & for table bits)