Searched refs:bd (Results 1 – 2 of 2) sorted by relevance
/lib/ |
D | decompress_bunzip2.c | 115 static unsigned int INIT get_bits(struct bunzip_data *bd, char bits_wanted) in get_bits() argument 122 while (bd->inbufBitCount < bits_wanted) { in get_bits() 125 if (bd->inbufPos == bd->inbufCount) { in get_bits() 126 if (bd->io_error) in get_bits() 128 bd->inbufCount = bd->fill(bd->inbuf, BZIP2_IOBUF_SIZE); in get_bits() 129 if (bd->inbufCount <= 0) { in get_bits() 130 bd->io_error = RETVAL_UNEXPECTED_INPUT_EOF; in get_bits() 133 bd->inbufPos = 0; in get_bits() 136 if (bd->inbufBitCount >= 24) { in get_bits() 137 bits = bd->inbufBits&((1 << bd->inbufBitCount)-1); in get_bits() [all …]
|
D | inflate.c | 592 int bd /* number of bits decoded by td[] */ in inflate_codes() argument 613 md = mask_bits[bd]; in inflate_codes() 648 NEEDBITS((unsigned)bd) in inflate_codes() 773 int bd; /* lookup bits for td */ in inflate_fixed() local 800 bd = 5; in inflate_fixed() 801 if ((i = huft_build(l, 30, 0, cpdist, cpdext, &td, &bd)) > 1) in inflate_fixed() 812 if (inflate_codes(tl, td, bl, bd)) { in inflate_fixed() 839 int bd; /* lookup bits for td */ in inflate_dynamic() local 988 bd = dbits; in inflate_dynamic() 989 if ((i = huft_build(ll + nl, nd, 0, cpdist, cpdext, &td, &bd)) != 0) in inflate_dynamic() [all …]
|