Lines Matching refs:get_bits
110 static unsigned int get_bits(struct bunzip_data *bd, char bits_wanted) in get_bits() function
168 ii = get_bits(bd, 24); in read_block_header()
169 jj = get_bits(bd, 24); in read_block_header()
170 bw->headerCRC = get_bits(bd,32); in read_block_header()
179 if (get_bits(bd,1)) return RETVAL_OBSOLETE_INPUT; in read_block_header()
180 if ((bw->origPtr = get_bits(bd,24)) > bd->dbufSize) return RETVAL_DATA_ERROR; in read_block_header()
187 hh = get_bits(bd, 16); in read_block_header()
191 kk = get_bits(bd, 16); in read_block_header()
199 bd->groupCount = get_bits(bd,3); in read_block_header()
209 if (!(bd->nSelectors = get_bits(bd, 15))) return RETVAL_DATA_ERROR; in read_block_header()
214 for(jj=0;get_bits(bd,1);jj++) in read_block_header()
232 hh = get_bits(bd, 5); in read_block_header()
240 kk = get_bits(bd, 2); in read_block_header()
360 jj = get_bits(bd, ii); in read_huffman_data()
368 ? (bd->inbufBits >> --(bd->inbufBitCount)) & 1 : get_bits(bd, 1); in read_huffman_data()
629 for (i=0;i<3;i++) if (get_bits(bd,8)!="BZh"[i]) return RETVAL_NOT_BZIP_DATA; in start_bunzip()
633 i = get_bits(bd, 8); in start_bunzip()