Searched refs:WSIZE (Results 1 - 8 of 8) sorted by relevance

/haiku/src/bin/unzip/
H A Dexplode.c34 c5 21 Apr 92 M. Adler added the WSIZE #define to allow reducing
117 #ifndef WSIZE
118 # define WSIZE 0x8000 /* window size--must be a power of two, and */ macro
125 # define wszimpl (unsigned)(WSIZE>>1)
127 # define wszimpl WSIZE
518 G._wsize = WSIZE>>1, redirSlide = slide;
520 G._wsize = WSIZE, redirSlide = slide;
H A Dfunzip.c337 # define UZ_NUMOF_CHUNKS (unsigned)( (WSIZE+UZ_SLIDE_CHUNK-1)/UZ_SLIDE_CHUNK )
513 if (++G.outcnt == (WSIZE>>1)) /* do FlushOutput() */
515 if (++G.outcnt == WSIZE) /* do FlushOutput() */
H A Dinflate.c53 c5 21 Apr 92 M. Adler added the WSIZE #define to allow reducing
241 inflate.h must supply the uch slide[WSIZE] array, the zvoid typedef
244 should also define WSIZE. If INFMOD is defined, it can include
271 #ifndef WSIZE /* default is 32K resp. 64K */
273 # define WSIZE 65536L /* window size--must be a power of two, and */ macro
275 # define WSIZE 0x8000 /* window size--must be a power of two, and */ macro
289 # define wsize WSIZE /* wsize is a constant */
348 wsize = WSIZE, redirSlide = slide;
1176 wsize = WSIZE, redirSlide = slide; /* how they're #defined if !DLL */
H A Dinflatef.c29 #ifndef WSIZE /* default is 32K resp. 64K */
31 # define WSIZE 65536L /* window size--must be a power of two, and */ macro
33 # define WSIZE 0x8000 /* window size--must be a power of two, and */ macro
47 # define wsize WSIZE /* wsize is a constant */
106 wsize = WSIZE, redirSlide = slide;
934 wsize = WSIZE, redirSlide = slide; /* how they're #defined if !DLL */
H A Dunzpriv.h831 #ifndef WSIZE
833 # define WSIZE 65536L /* window size--must be a power of two, and */ macro
835 # define WSIZE 0x8000 /* window size--must be a power of two, and */ macro
923 # define OUTBUFSIZ (lenEOL*WSIZE) /* more efficient text conversion */
1559 uch Slide[WSIZE]; /* explode(), inflate(), unreduce() */
2156 #define FnFilter1(fname) fnfilter((fname), slide + (WSIZE>>1))
2157 #define FnFilter2(fname) fnfilter((fname), slide + ((WSIZE>>1) + (WSIZE>>2)))
H A Dunzip.c677 (unsigned)(((WSIZE+UZ_SLIDE_CHUNK-1)/UZ_SLIDE_CHUNK > HSIZE) ? \
678 (WSIZE+UZ_SLIDE_CHUNK-1)/UZ_SLIDE_CHUNK : HSIZE)
H A Dextract.c1363 # define wsize WSIZE
1447 wsize = WSIZE; redirSlide = slide;
H A Dfileio.c423 /* 16-bit MSC: buffer size must be strictly LESS than 32K (WSIZE): bogus */
428 setvbuf(G.outfile, (char *)slide, _IOFBF, WSIZE);
2099 if ((unsigned)(q-slide) > WSIZE-3 || pause) { /* flush */

Completed in 338 milliseconds