Searched refs:NEXTBYTE (Results 1 - 9 of 9) sorted by relevance

/haiku/src/bin/unzip/
H A Dcrypt.h162 # ifdef NEXTBYTE
163 # undef NEXTBYTE macro
165 # define NEXTBYTE \ macro
H A Dexplode.c45 removed NEXTBYTE macro (now in unzip.h)
115 #include "unzip.h" /* must supply slide[] (uch) array and NEXTBYTE macro */
202 #define NEEDBITS(n) {while(k<(n)){b|=((ulg)NEXTBYTE)<<k;k+=8;}}
234 i = NEXTBYTE + 1; /* length/count pairs to read */
237 b = ((j = NEXTBYTE) & 0xf) + 1; /* bits in code (1..16) */
H A Dinflate.c83 G. Roelofs check NEXTBYTE macro for EOF.
242 (void if (void *) is accepted, else char) and the NEXTBYTE,
245 compiled functions to support the NEXTBYTE and/or FLUSH() macros.
246 There are defaults for NEXTBYTE and FLUSH() below for use as
293 #ifndef NEXTBYTE /* default is to simply get a byte from stdin */
294 # define NEXTBYTE getchar() macro
623 # define NEEDBITS(n) {while(k<(n)){b|=((ulg)NEXTBYTE)<<k;k+=8;}}
625 # define NEEDBITS(n) {while(k<(n)){int c=NEXTBYTE;\
H A Dinflatef.c51 #ifndef NEXTBYTE /* default is to simply get a byte from stdin */
52 # define NEXTBYTE getchar() macro
381 # define NEEDBITS(n) {while(k<(n)){b|=((ulg)NEXTBYTE)<<k;k+=8;}}
383 # define NEEDBITS(n) {while(k<(n)){int c=NEXTBYTE;\
H A Dcrypt.c398 b = NEXTBYTE;
H A Dcryptf.c401 b = NEXTBYTE;
H A Dfunzip.c63 3.3 29 Sep 93 G. Roelofs replaced ReadByte() with NEXTBYTE macro;
460 e = NEXTBYTE;
H A Dunzpriv.h2195 # define NEXTBYTE getc(G.in) /* redefined in crypt.h if full version */ macro
2199 # define NEXTBYTE (--G.incnt >= 0 ? (int)(*G.inptr++) : readbyte(__G)) macro
2204 while (G.bits_left<=8*(int)(sizeof(G.bitbuf)-1) && (temp=NEXTBYTE)!=EOF) {\
2217 * (temp = NEXTBYTE) != EOF) {
H A Dextract.c1427 defer_leftover_input(__G); /* so NEXTBYTE bounds check will work */
1452 while ((b = NEXTBYTE) != EOF) {

Completed in 78 milliseconds