Home
last modified time | relevance | path

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

/Linux-v6.6/lib/zlib_deflate/
Ddefutil.h236 int bi_valid; member
316 if (s->bi_valid == 16) { in bi_flush()
319 s->bi_valid = 0; in bi_flush()
320 } else if (s->bi_valid >= 8) { in bi_flush()
323 s->bi_valid -= 8; in bi_flush()
332 if (s->bi_valid > 8) { in bi_windup()
334 } else if (s->bi_valid > 0) { in bi_windup()
338 s->bi_valid = 0; in bi_windup()
377 if (s->bi_valid > (int)Buf_size - length) { in send_bits()
378 s->bi_buf |= (value << s->bi_valid); in send_bits()
[all …]
Ddeftree.c259 s->bi_valid = 0; in zlib_tr_init()
788 if (1 + s->last_eob_len + 10 - s->bi_valid < 9) { in zlib_tr_align()
Ddeflate.c468 Assert(s->bi_valid == 0, "bi_buf not flushed"); in zlib_deflate()
/Linux-v6.6/lib/zlib_dfltcc/
Ddfltcc_deflate.c234 Assert(state->bi_valid < 8, "There must be less than 8 pending bits"); in dfltcc_deflate()
235 param->sbb = (unsigned int)state->bi_valid; in dfltcc_deflate()
267 state->bi_valid = param->sbb; in dfltcc_deflate()
268 if (state->bi_valid == 0) in dfltcc_deflate()
271 state->bi_buf = *strm->next_out & ((1 << state->bi_valid) - 1); in dfltcc_deflate()