Lines Matching refs:nextdata
97 unsigned long nextdata; /* next bits of i/o */ member
106 #define lzw_nextdata base.nextdata
341 nextdata = (nextdata<<8) | *(bp)++; \
344 nextdata = (nextdata<<8) | *(bp)++; \
347 code = (hcode_t)((nextdata >> (nextbits-nbits)) & nbitsmask); \
371 unsigned long nextdata; in LZWDecode() local
432 nextdata = sp->lzw_nextdata; in LZWDecode()
558 sp->lzw_nextdata = nextdata; in LZWDecode()
585 nextdata |= (unsigned long) *(bp)++ << nextbits; \
588 nextdata |= (unsigned long) *(bp)++ << nextbits;\
591 code = (hcode_t)(nextdata & nbitsmask); \
592 nextdata >>= nbits; \
606 long nextbits, nextdata, nbitsmask; in LZWDecodeCompat() local
659 nextdata = sp->lzw_nextdata; in LZWDecodeCompat()
769 sp->lzw_nextdata = nextdata; in LZWDecodeCompat()
857 nextdata = (nextdata << nbits) | c; \
859 *op++ = (unsigned char)((nextdata >> (nextbits-8))&0xff); \
862 *op++ = (unsigned char)((nextdata >> (nextbits-8))&0xff); \
892 unsigned long nextdata; in LZWEncode() local
910 nextdata = sp->lzw_nextdata; in LZWEncode()
1037 sp->lzw_nextdata = nextdata; in LZWEncode()
1056 unsigned long nextdata = sp->lzw_nextdata; in LZWPostEncode() local
1092 *op++ = (unsigned char)((nextdata << (8-nextbits))&0xff); in LZWPostEncode()