Searched defs:w_size (Results 1 - 8 of 8) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppdump/
H A Ddeflate.c51 int w_size; member in struct:deflate_state
136 int w_size; local
143 w_size = DEFLATE_SIZE(options[2]);
144 if (w_size < DEFLATE_MIN_SIZE || w_size > DEFLATE_MAX_SIZE)
154 if (inflateInit2(&state->strm, -w_size) != Z_OK) {
159 state->w_size = w_size;
185 || DEFLATE_SIZE(options[2]) != state->w_size
H A Dzlib.c230 uInt w_size; /* LZ77 window size (32K by default) */ member in struct:deflate_state
231 uInt w_bits; /* log2(w_size) (8..16) */
232 uInt w_mask; /* w_size - 1 */
402 #define MAX_DIST(s) ((s)->w_size-MIN_LOOKAHEAD)
625 s->w_size = 1 << s->w_bits;
626 s->w_mask = s->w_size - 1;
633 s->window = (Bytef *) ZALLOC(strm, s->w_size, 2*sizeof(Byte));
634 s->prev = (Posf *) ZALLOC(strm, s->w_size, sizeof(Pos));
861 TRY_FREE(strm, state->window, state->w_size * 2 * sizeof(Byte));
862 TRY_FREE(strm, state->prev, state->w_size * sizeo
[all...]
/illumos-gate/usr/src/uts/common/io/ppp/spppcomp/
H A Ddeflate.c61 int w_size; member in struct:deflate_state
197 int w_size; local
208 w_size = DEFLATE_SIZE(options[2]);
211 * 256 (w_size 8) is not supported.
213 if (w_size <= DEFLATE_MIN_SIZE || w_size > DEFLATE_MAX_SIZE) {
224 DEFLATE_METHOD_VAL, -w_size, 8, Z_DEFAULT_STRATEGY) != Z_OK) {
231 state->w_size = w_size;
264 DEFLATE_SIZE(options[2]) != state->w_size ||
651 int w_size; local
[all...]
H A Dzlib.c378 uInt w_size; /* LZ77 window size (32K by default) */ member in struct:deflate_state
379 uInt w_bits; /* log2(w_size) (8..16) */
380 uInt w_mask; /* w_size - 1 */
577 #define MAX_DIST(s) ((s)->w_size-MIN_LOOKAHEAD)
910 s->w_size = 1 << s->w_bits;
911 s->w_mask = s->w_size - 1;
918 s->window = (Bytef *) ZALLOC(strm, s->w_size, 2*sizeof (Byte));
919 s->prev = (Posf *) ZALLOC(strm, s->w_size, sizeof (Pos));
1330 ds->window = (Bytef *) ZALLOC(dest, ds->w_size, 2*sizeof (Byte));
1331 ds->prev = (Posf *) ZALLOC(dest, ds->w_size, sizeo
[all...]
/illumos-gate/usr/src/uts/common/zmod/
H A Ddeflate.h109 uInt w_size; /* LZ77 window size (32K by default) */ member in struct:internal_state
110 uInt w_bits; /* log2(w_size) (8..16) */
111 uInt w_mask; /* w_size - 1 */
276 #define MAX_DIST(s) ((s)->w_size-MIN_LOOKAHEAD)
/illumos-gate/usr/src/boot/lib/libz/
H A Ddeflate.h112 uInt w_size; /* LZ77 window size (32K by default) */ member in struct:internal_state
113 uInt w_bits; /* log2(w_size) (8..16) */
114 uInt w_mask; /* w_size - 1 */
286 #define MAX_DIST(s) ((s)->w_size-MIN_LOOKAHEAD)
/illumos-gate/usr/src/lib/libshell/common/edit/
H A Demacs.c143 #define w_size editb.e_wsize macro
1157 strcat(debugbuf, " w_size=");
1158 strcat(debugbuf, itos(w_size));
1342 print(i)&&((ep->cursor-ep->screen)<(w_size-1)))
1365 if ((ep->offset && i<=ep->offset)||(i >= (ep->offset+w_size)))
1368 ep->offset = i - (w_size>>1);
1374 Is the range of screen[0] thru screen[w_size] up-to-date
1375 with nscreen[offset] thru nscreen[offset+w_size] ?
1382 i = w_size;
1426 if (nscend >= &nscreen[ep->offset+w_size])
[all...]
H A Dvi.c168 #define w_size editb.e_wsize /* window size */ macro
457 if( last_phys >= w_size )
460 vp->last_wind = w_size - 1;
1799 * 0 w_size - 1
1863 if( ncur_phys<first_w || ncur_phys>=(first_w + w_size) )
1866 first_w = ncur_phys - (w_size>>1);
1893 if( (p>last_phys || p>=first_w+w_size) && w>vp->last_wind
1904 while( p <= last_phys && w < w_size )
1930 if( last_phys >= w_size )
1934 else if( last_phys < (first_w+w_size) )
[all...]

Completed in 98 milliseconds