Home
last modified time | relevance | path

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

/external/u-boot/lib/zlib/
Dtrees.c206 if (s->bi_valid > (int)Buf_size - length) {
207 s->bi_buf |= (ush)value << s->bi_valid;
209 s->bi_buf = (ush)value >> (Buf_size - s->bi_valid);
210 s->bi_valid += length - Buf_size;
212 s->bi_buf |= (ush)value << s->bi_valid;
213 s->bi_valid += length;
220 if (s->bi_valid > (int)Buf_size - len) {\
222 s->bi_buf |= (ush)val << s->bi_valid;\
224 s->bi_buf = (ush)val >> (Buf_size - s->bi_valid);\
225 s->bi_valid += len - Buf_size;\
[all …]
Ddeflate.h258 int bi_valid; member
Ddeflate.c406 strm->state->bi_valid = bits;
/external/python/cpython2/Modules/zlib/
Dtrees.c199 if (s->bi_valid > (int)Buf_size - length) {
200 s->bi_buf |= (ush)value << s->bi_valid;
202 s->bi_buf = (ush)value >> (Buf_size - s->bi_valid);
203 s->bi_valid += length - Buf_size;
205 s->bi_buf |= (ush)value << s->bi_valid;
206 s->bi_valid += length;
213 if (s->bi_valid > (int)Buf_size - len) {\
215 s->bi_buf |= (ush)val << s->bi_valid;\
217 s->bi_buf = (ush)val >> (Buf_size - s->bi_valid);\
218 s->bi_valid += len - Buf_size;\
[all …]
Ddeflate.h264 int bi_valid; member
Ddeflate.c537 *bits = strm->state->bi_valid;
555 put = Buf_size - s->bi_valid;
558 s->bi_buf |= (ush)((value & ((1 << put) - 1)) << s->bi_valid);
559 s->bi_valid += put;
1665 have = (s->bi_valid + 42) >> 3; /* number of header bytes */
1797 have = (s->bi_valid + 42) >> 3; /* number of header bytes */
/external/zlib/src/
Dtrees.c199 if (s->bi_valid > (int)Buf_size - length) {
200 s->bi_buf |= (ush)value << s->bi_valid;
202 s->bi_buf = (ush)value >> (Buf_size - s->bi_valid);
203 s->bi_valid += length - Buf_size;
205 s->bi_buf |= (ush)value << s->bi_valid;
206 s->bi_valid += length;
213 if (s->bi_valid > (int)Buf_size - len) {\
215 s->bi_buf |= (ush)val << s->bi_valid;\
217 s->bi_buf = (ush)val >> (Buf_size - s->bi_valid);\
218 s->bi_valid += len - Buf_size;\
[all …]
Ddeflate.h264 int bi_valid; member
Ddeflate.c537 *bits = strm->state->bi_valid;
555 put = Buf_size - s->bi_valid;
558 s->bi_buf |= (ush)((value & ((1 << put) - 1)) << s->bi_valid);
559 s->bi_valid += put;
1665 have = (s->bi_valid + 42) >> 3; /* number of header bytes */
1797 have = (s->bi_valid + 42) >> 3; /* number of header bytes */