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