Lines Matching refs:bi_valid
193 if (s->bi_valid > (int)Buf_size - length) { in send_bits()
194 s->bi_buf |= (value << s->bi_valid); in send_bits()
196 s->bi_buf = (ush)value >> (Buf_size - s->bi_valid); in send_bits()
197 s->bi_valid += length - Buf_size; in send_bits()
199 s->bi_buf |= value << s->bi_valid; in send_bits()
200 s->bi_valid += length; in send_bits()
207 if (s->bi_valid > (int)Buf_size - len) {\
209 s->bi_buf |= (val << s->bi_valid);\
211 s->bi_buf = (ush)val >> (Buf_size - s->bi_valid);\
212 s->bi_valid += len - Buf_size;\
214 s->bi_buf |= (value) << s->bi_valid;\
215 s->bi_valid += len;\
313 s->bi_valid = 0; in zlib_tr_init()
842 if (1 + s->last_eob_len + 10 - s->bi_valid < 9) { in zlib_tr_align()