Searched refs:NEEDBITS (Results 1 - 5 of 5) sorted by relevance

/ast/src/cmd/codexlib/zip/
H A Dimplode.c179 NEEDBITS(j)
183 where NEEDBITS makes sure that b has at least j bits in it, and
191 #define NEEDBITS(p,n) {while((p)->bit_len<(n)){(p)->bit_buf|=((ulg)NEXTBYTE(p))<<(p)->bit_len;(p)->bit_len+=8;}} macro
270 NEEDBITS(state, 1);
275 NEEDBITS(state, (ulg)bb); /* get coded literal */
284 NEEDBITS(state, e);
303 NEEDBITS(state, 7); /* get distance low bits */
306 NEEDBITS(state, (ulg)bd); /* get coded distance high bits */
315 NEEDBITS(state, e);
321 NEEDBITS(stat
[all...]
H A Ddeflate.c126 #define NEEDBITS(p,n) {while (bit_len<(n)){bit_buf|=((ulg)NEXTBYTE(p))<<bit_len;bit_len+=8;}} macro
240 NEEDBITS(state, (ulg)bl);
249 NEEDBITS(state, x);
272 NEEDBITS(state, x);
278 NEEDBITS(state, (ulg)bd);
287 NEEDBITS(state, x);
292 NEEDBITS(state, x);
336 NEEDBITS(state, 16);
339 NEEDBITS(state, 16);
358 NEEDBITS(stat
[all...]
/ast/src/lib/libz/
H A Dinfback.c174 #define NEEDBITS(n) \ macro
290 NEEDBITS(3);
320 NEEDBITS(32);
351 NEEDBITS(14);
370 NEEDBITS(3);
397 NEEDBITS(this.bits);
403 NEEDBITS(this.bits + 2);
415 NEEDBITS(this.bits + 3);
422 NEEDBITS(this.bits + 7);
523 NEEDBITS(stat
[all...]
H A Dinflate.c443 #define NEEDBITS(n) \ macro
490 next state. The NEEDBITS() macro is usually the way the state evaluates
491 whether it can proceed or should return. NEEDBITS() does the return if
495 NEEDBITS(n);
499 where NEEDBITS(n) either returns from inflate() if there isn't enough
505 and a NEEDBITS(8), then BITS(8) would return the next byte in the stream.
507 NEEDBITS(n) uses PULLBYTE() to get an available byte of input, or to return
514 if NEEDBITS() returns in the loop. For example, want, need, and keep
515 would all have to actually be part of the saved state in case NEEDBITS()
520 NEEDBITS(
[all...]
/ast/src/cmd/INIT/
H A Dratz.c2662 #define NEEDBITS(n) \ macro
2709 next state. The NEEDBITS() macro is usually the way the state evaluates
2710 whether it can proceed or should return. NEEDBITS() does the return if
2714 NEEDBITS(n);
2718 where NEEDBITS(n) either returns from inflate() if there isn't enough
2724 and a NEEDBITS(8), then BITS(8) would return the next byte in the stream.
2726 NEEDBITS(n) uses PULLBYTE() to get an available byte of input, or to return
2733 if NEEDBITS() returns in the loop. For example, want, need, and keep
2734 would all have to actually be part of the saved state in case NEEDBITS()
2739 NEEDBITS(
[all...]

Completed in 101 milliseconds