• Home
  • Raw
  • Download

Lines Matching refs:b

140   uch b;                /* number of bits in this code or subcode */  member
233 #define NEEDBITS(n) {while(k<(n)){b|=((ulg)NEXTBYTE())<<k;k+=8;}}
234 #define DUMPBITS(n) {b>>=(n);k-=(n);}
322 unsigned *b, /* code lengths in bits (all assumed <= BMAX) */ in huft_build() argument
374 p = b; i = n; in huft_build()
433 p = b; i = 0; in huft_build()
506 r.b = (uch)l; /* bits to dump before this table */ in huft_build()
517 r.b = (uch)(k - w); in huft_build()
602 register ulg b; /* bit buffer */ in inflate_codes() local
607 b = bb; /* initialize bit buffer */ in inflate_codes()
617 if ((e = (t = tl + ((unsigned)b & ml))->e) > 16) in inflate_codes()
621 DUMPBITS(t->b) in inflate_codes()
624 } while ((e = (t = t->v.t + ((unsigned)b & mask_bits[e]))->e) > 16); in inflate_codes()
625 DUMPBITS(t->b) in inflate_codes()
644 n = t->v.n + ((unsigned)b & mask_bits[e]); in inflate_codes()
649 if ((e = (t = td + ((unsigned)b & md))->e) > 16) in inflate_codes()
653 DUMPBITS(t->b) in inflate_codes()
656 } while ((e = (t = t->v.t + ((unsigned)b & mask_bits[e]))->e) > 16); in inflate_codes()
657 DUMPBITS(t->b) in inflate_codes()
659 d = w - t->v.n - ((unsigned)b & mask_bits[e]); in inflate_codes()
691 bb = b; /* restore global bit buffer */ in inflate_codes()
708 register ulg b; /* bit buffer */ in inflate_stored() local
714 b = bb; /* initialize bit buffer */ in inflate_stored()
726 n = ((unsigned)b & 0xffff); in inflate_stored()
729 if (n != (unsigned)((~b) & 0xffff)) in inflate_stored()
738 slide[w++] = (uch)b; in inflate_stored()
750 bb = b; /* restore global bit buffer */ in inflate_stored()
844 register ulg b; /* bit buffer */ in inflate_dynamic() local
860 b = bb; in inflate_dynamic()
866 nl = 257 + ((unsigned)b & 0x1f); /* number of literal/length codes */ in inflate_dynamic()
869 nd = 1 + ((unsigned)b & 0x1f); /* number of distance codes */ in inflate_dynamic()
872 nb = 4 + ((unsigned)b & 0xf); /* number of bit length codes */ in inflate_dynamic()
890 ll[border[j]] = (unsigned)b & 7; in inflate_dynamic()
917 j = (td = tl + ((unsigned)b & m))->b; in inflate_dynamic()
925 j = 3 + ((unsigned)b & 3); in inflate_dynamic()
937 j = 3 + ((unsigned)b & 7); in inflate_dynamic()
950 j = 11 + ((unsigned)b & 0x7f); in inflate_dynamic()
970 bb = b; in inflate_dynamic()
1039 register ulg b; /* bit buffer */ in inflate_block() local
1045 b = bb; in inflate_block()
1051 *e = (int)b & 1; in inflate_block()
1057 t = (unsigned)b & 3; in inflate_block()
1062 bb = b; in inflate_block()