Searched refs:bi_valid (Results 1 - 4 of 4) sorted by relevance

/linux-master/lib/zlib_deflate/
H A Ddefutil.h236 int bi_valid; member in struct:deflate_state
316 if (s->bi_valid == 16) {
319 s->bi_valid = 0;
320 } else if (s->bi_valid >= 8) {
323 s->bi_valid -= 8;
332 if (s->bi_valid > 8) {
334 } else if (s->bi_valid > 0) {
338 s->bi_valid = 0;
374 * (16 - bi_valid) bits from value, leaving (width - (16-bi_valid))
[all...]
H A Ddeftree.c259 s->bi_valid = 0;
784 * (10 - bi_valid) bits. The lookahead for the last real code (before
788 if (1 + s->last_eob_len + 10 - s->bi_valid < 9) {
H A Ddeflate.c468 Assert(s->bi_valid == 0, "bi_buf not flushed");
/linux-master/lib/zlib_dfltcc/
H A Ddfltcc_deflate.c234 Assert(state->bi_valid < 8, "There must be less than 8 pending bits");
235 param->sbb = (unsigned int)state->bi_valid;
267 state->bi_valid = param->sbb;
268 if (state->bi_valid == 0)
271 state->bi_buf = *strm->next_out & ((1 << state->bi_valid) - 1);

Completed in 211 milliseconds