Home
last modified time | relevance | path

Searched refs:bd (Results 1 – 2 of 2) sorted by relevance

/lib/
Ddecompress_bunzip2.c116 static unsigned int INIT get_bits(struct bunzip_data *bd, char bits_wanted) in get_bits() argument
123 while (bd->inbufBitCount < bits_wanted) { in get_bits()
126 if (bd->inbufPos == bd->inbufCount) { in get_bits()
127 if (bd->io_error) in get_bits()
129 bd->inbufCount = bd->fill(bd->inbuf, BZIP2_IOBUF_SIZE); in get_bits()
130 if (bd->inbufCount <= 0) { in get_bits()
131 bd->io_error = RETVAL_UNEXPECTED_INPUT_EOF; in get_bits()
134 bd->inbufPos = 0; in get_bits()
137 if (bd->inbufBitCount >= 24) { in get_bits()
138 bits = bd->inbufBits&((1 << bd->inbufBitCount)-1); in get_bits()
[all …]
Dinflate.c593 int bd /* number of bits decoded by td[] */ in inflate_codes() argument
614 md = mask_bits[bd]; in inflate_codes()
649 NEEDBITS((unsigned)bd) in inflate_codes()
774 int bd; /* lookup bits for td */ in inflate_fixed() local
801 bd = 5; in inflate_fixed()
802 if ((i = huft_build(l, 30, 0, cpdist, cpdext, &td, &bd)) > 1) in inflate_fixed()
813 if (inflate_codes(tl, td, bl, bd)) { in inflate_fixed()
840 int bd; /* lookup bits for td */ in inflate_dynamic() local
989 bd = dbits; in inflate_dynamic()
990 if ((i = huft_build(ll + nl, nd, 0, cpdist, cpdext, &td, &bd)) != 0) in inflate_dynamic()
[all …]