Home
last modified time | relevance | path

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

/openbmc/linux/lib/zlib_deflate/
H A 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()
384 s->bi_valid += length; in send_bits()
396 s->bi_valid += len - Buf_size;\
[all …]
H A 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()
H A Ddeflate.c468 Assert(s->bi_valid == 0, "bi_buf not flushed"); in zlib_deflate()
/openbmc/u-boot/lib/zlib/
H A Dtrees.c213 s->bi_valid += length;
225 s->bi_valid += len - Buf_size;\
228 s->bi_valid += len;\
401 s->bi_valid = 0;
1189 if (s->bi_valid == 16) {
1192 s->bi_valid = 0;
1193 } else if (s->bi_valid >= 8) {
1196 s->bi_valid -= 8;
1206 if (s->bi_valid > 8) {
1208 } else if (s->bi_valid > 0) {
[all …]
H A Ddeflate.h258 int bi_valid; member
H A Ddeflate.c406 strm->state->bi_valid = bits;
/openbmc/linux/lib/zlib_dfltcc/
H A 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()