Searched refs:NEEDBITS (Results 1 – 2 of 2) sorted by relevance
197 NEEDBITS(j)201 where NEEDBITS makes sure that b has at least j bits in it, and208 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 to234 #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...]
225 #define NEEDBITS(n) \ macro 267 next state. The NEEDBITS() macro is usually the way the state evaluates268 whether it can proceed or should return. NEEDBITS() does the return if272 NEEDBITS(n);276 where NEEDBITS(n) either returns from inflate() if there isn't enough282 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 return291 if NEEDBITS() returns in the loop. For example, want, need, and keep292 would all have to actually be part of the saved state in case NEEDBITS()297 NEEDBITS([all...]