Lines Matching defs:num
106 unsigned long buf = 0; // deflate stream bit buffer of num bits
107 int num = 0; // number of bits in buf (at bottom)
184 prev = num;
204 // that remain in the bit buffer. Since num is the number
205 // of bits in the bit buffer, we have that num - prev is
237 if (num - prev < 3) {
238 buf += (unsigned long)*put++ << num;
239 num += 8;
251 if (num - prev < 10) {
256 buf += (unsigned long)*put++ << num;
257 num += 8;
263 num = prev;
270 num = (prev + 10) & ~7;
278 while (num >= 8) {
281 num -= 8;
306 // stream. Copy the data after shifting in num bits from
307 // buf in front of it, leaving num bits from the end of the
311 if (num)
312 // Insert num bits from buf before the data being
315 buf += (unsigned)(*put++) << num;
329 buf += (unsigned)(*put++) << num;
330 num += 8;
336 // Leave the num bits left over in buf to prepend
338 num -= bits;
339 if (num >= 8) {
341 num -= 8;
346 buf &= ((unsigned long)1 << num) - 1;
355 prev = num - bits; // number of bits in buffer
366 prev = num;
430 buf += (unsigned long)3 << num;
433 if (num > 6)