Home
last modified time | relevance | path

Searched refs:NEEDBITS (Results 1 – 2 of 2) sorted by relevance

/linux/lib/
H A Dinflate.c197 NEEDBITS(j)
201 where NEEDBITS makes sure that b has at least j bits in it, and
208 ask for bits with NEEDBITS that are beyond the end of the stream.
209 So, NEEDBITS should not read any more bytes than are needed to
234 #define NEEDBITS(n) {while(k<(n)){b|=((ulg)NEXTBYTE())<<k;k+=8;}} macro
617 NEEDBITS((unsigned)bl) in inflate_codes()
624 NEEDBITS(e) in inflate_codes()
644 NEEDBITS(e) in inflate_codes()
649 NEEDBITS((unsigned)bd) in inflate_codes()
656 NEEDBITS( in inflate_codes()
[all...]
/linux/lib/zlib_inflate/
H A Dinflate.c225 #define NEEDBITS(n) \ macro
267 next state. The NEEDBITS() macro is usually the way the state evaluates
268 whether it can proceed or should return. NEEDBITS() does the return if
272 NEEDBITS(n);
276 where NEEDBITS(n) either returns from inflate() if there isn't enough
282 and a NEEDBITS(8), then BITS(8) would return the next byte in the stream.
284 NEEDBITS(n) uses PULLBYTE() to get an available byte of input, or to return
291 if NEEDBITS() returns in the loop. For example, want, need, and keep
292 would all have to actually be part of the saved state in case NEEDBITS()
297 NEEDBITS(
[all...]