Lines Matching refs:b
141 uch b; /* number of bits in this code or subcode */ member
234 #define NEEDBITS(n) {while(k<(n)){b|=((ulg)NEXTBYTE())<<k;k+=8;}}
235 #define DUMPBITS(n) {b>>=(n);k-=(n);}
323 unsigned *b, /* code lengths in bits (all assumed <= BMAX) */ in huft_build() argument
375 p = b; i = n; in huft_build()
434 p = b; i = 0; in huft_build()
507 r.b = (uch)l; /* bits to dump before this table */ in huft_build()
518 r.b = (uch)(k - w); in huft_build()
603 register ulg b; /* bit buffer */ in inflate_codes() local
608 b = bb; /* initialize bit buffer */ in inflate_codes()
618 if ((e = (t = tl + ((unsigned)b & ml))->e) > 16) in inflate_codes()
622 DUMPBITS(t->b) in inflate_codes()
625 } while ((e = (t = t->v.t + ((unsigned)b & mask_bits[e]))->e) > 16); in inflate_codes()
626 DUMPBITS(t->b) in inflate_codes()
645 n = t->v.n + ((unsigned)b & mask_bits[e]); in inflate_codes()
650 if ((e = (t = td + ((unsigned)b & md))->e) > 16) in inflate_codes()
654 DUMPBITS(t->b) in inflate_codes()
657 } while ((e = (t = t->v.t + ((unsigned)b & mask_bits[e]))->e) > 16); in inflate_codes()
658 DUMPBITS(t->b) in inflate_codes()
660 d = w - t->v.n - ((unsigned)b & mask_bits[e]); in inflate_codes()
692 bb = b; /* restore global bit buffer */ in inflate_codes()
709 register ulg b; /* bit buffer */ in inflate_stored() local
715 b = bb; /* initialize bit buffer */ in inflate_stored()
727 n = ((unsigned)b & 0xffff); in inflate_stored()
730 if (n != (unsigned)((~b) & 0xffff)) in inflate_stored()
739 slide[w++] = (uch)b; in inflate_stored()
751 bb = b; /* restore global bit buffer */ in inflate_stored()
845 register ulg b; /* bit buffer */ in inflate_dynamic() local
861 b = bb; in inflate_dynamic()
867 nl = 257 + ((unsigned)b & 0x1f); /* number of literal/length codes */ in inflate_dynamic()
870 nd = 1 + ((unsigned)b & 0x1f); /* number of distance codes */ in inflate_dynamic()
873 nb = 4 + ((unsigned)b & 0xf); /* number of bit length codes */ in inflate_dynamic()
891 ll[border[j]] = (unsigned)b & 7; in inflate_dynamic()
918 j = (td = tl + ((unsigned)b & m))->b; in inflate_dynamic()
926 j = 3 + ((unsigned)b & 3); in inflate_dynamic()
938 j = 3 + ((unsigned)b & 7); in inflate_dynamic()
951 j = 11 + ((unsigned)b & 0x7f); in inflate_dynamic()
971 bb = b; in inflate_dynamic()
1040 register ulg b; /* bit buffer */ in inflate_block() local
1046 b = bb; in inflate_block()
1052 *e = (int)b & 1; in inflate_block()
1058 t = (unsigned)b & 3; in inflate_block()
1063 bb = b; in inflate_block()