Home
last modified time | relevance | path

Searched refs:w_size (Results 1 – 9 of 9) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppdump/
H A Ddeflate.c51 int w_size; member
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
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 * sizeof(Pos));
905 s->window_size = (ulg)2L*s->w_size;
1115 uInt wsize = s->w_size;
/illumos-gate/usr/src/uts/common/io/ppp/spppcomp/
H A Ddeflate.c61 int w_size; member
197 int w_size; in z_comp_alloc() local
208 w_size = DEFLATE_SIZE(options[2]); in z_comp_alloc()
213 if (w_size <= DEFLATE_MIN_SIZE || w_size > DEFLATE_MAX_SIZE) { in z_comp_alloc()
231 state->w_size = w_size; in z_comp_alloc()
264 DEFLATE_SIZE(options[2]) != state->w_size || in z_comp_init()
651 int w_size; in z_decomp_alloc() local
662 w_size = DEFLATE_SIZE(options[2]); in z_decomp_alloc()
667 if (w_size <= DEFLATE_MIN_SIZE || w_size > DEFLATE_MAX_SIZE) { in z_decomp_alloc()
682 state->w_size = w_size; in z_decomp_alloc()
[all …]
H A Dzlib.c376 uInt w_size; /* LZ77 window size (32K by default) */ member
575 #define MAX_DIST(s) ((s)->w_size-MIN_LOOKAHEAD)
908 s->w_size = 1 << s->w_bits;
909 s->w_mask = s->w_size - 1;
917 s->prev = (Posf *) ZALLOC(strm, s->w_size, sizeof (Pos));
1329 ds->prev = (Posf *) ZALLOC(dest, ds->w_size, sizeof (Pos));
1342 zmemcpy(ds->prev, ss->prev, ds->w_size * sizeof (Pos));
1413 s->window_size = (ulg)2L*s->w_size;
1725 uInt wsize = s->w_size;
1889 Assert(s->strstart < s->w_size+MAX_DIST(s) ||
[all …]
/illumos-gate/usr/src/contrib/zlib/
H A Ddeflate.c207 uInt wsize = s->w_size;
309 s->w_size = 1 << s->w_bits;
310 s->w_mask = s->w_size - 1;
438 if (dictLength >= s->w_size) {
446 dictLength = s->w_size;
495 if (len > s->w_size)
496 len = s->w_size;
1525 uInt wsize = s->w_size;
1783 zmemcpy(s->window, s->strm->next_in - s->w_size, s->w_size);
1784 s->strstart = s->w_size;
[all …]
H A Ddeflate.h113 uInt w_size; /* LZ77 window size (32K by default) */ member
282 #define MAX_DIST(s) ((s)->w_size-MIN_LOOKAHEAD)
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/edit/
H A Dvi.c163 #define w_size editb.e_wsize /* window size */ macro
452 if( last_phys >= w_size ) in ed_viread()
455 vp->last_wind = w_size - 1; in ed_viread()
1958 if( ncur_phys<first_w || ncur_phys>=(first_w + w_size) ) in refresh()
1961 first_w = ncur_phys - (w_size>>1); in refresh()
1988 if( (p>last_phys || p>=first_w+w_size) && w>vp->last_wind in refresh()
1999 while( p <= last_phys && w < w_size ) in refresh()
2025 if( last_phys >= w_size ) in refresh()
2029 else if( last_phys < (first_w+w_size) ) in refresh()
2040 while( w++ < w_size ) in refresh()
[all …]
H A Demacs.c145 #define w_size editb.e_wsize macro
1223 strcat(debugbuf, itos(w_size)); in xcommands()
1438 print(i)&&((ep->cursor-ep->screen)<(w_size-1))) in draw()
1461 if ((ep->offset && i<=ep->offset)||(i >= (ep->offset+w_size))) in draw()
1464 ep->offset = i - (w_size>>1); in draw()
1478 i = w_size; in draw()
1522 if (nscend >= &nscreen[ep->offset+w_size]) in draw()
1539 setcursor(ep,w_size,longline); in draw()
/illumos-gate/usr/src/contrib/ast/src/cmd/INIT/
H A Dratz.c1319 uInt w_size; /* LZ77 window size (32K by default) */ member
1486 #define MAX_DIST(s) ((s)->w_size-MIN_LOOKAHEAD)