Searched refs:w_size (Results 1 - 17 of 17) sorted by relevance

/netbsd-current/external/bsd/ppp/dist/pppdump/
H A Ddeflate.c62 int w_size; member in struct:deflate_state
143 int w_size; local
150 w_size = DEFLATE_SIZE(options[2]);
151 if (w_size < DEFLATE_MIN_SIZE || w_size > DEFLATE_MAX_SIZE)
161 if (inflateInit2(&state->strm, -w_size) != Z_OK) {
166 state->w_size = w_size;
189 || DEFLATE_SIZE(options[2]) != state->w_size
/netbsd-current/sys/net/
H A Dppp-deflate.c65 int w_size; member in struct:deflate_state
155 int w_size; local
163 w_size = DEFLATE_SIZE(options[2]);
164 if (w_size < DEFLATE_MIN_SIZE || w_size > DEFLATE_MAX_SIZE)
175 -w_size, 8, Z_DEFAULT_STRATEGY) != Z_OK) {
180 state->w_size = w_size;
204 || DEFLATE_SIZE(options[2]) != state->w_size
375 int w_size; local
[all...]
H A Dzlib.c382 uInt w_size; /* LZ77 window size (32K by default) */ member in struct:deflate_state
383 uInt w_bits; /* log2(w_size) (8..16) */
384 uInt w_mask; /* w_size - 1 */
549 #define MAX_DIST(s) ((s)->w_size-MIN_LOOKAHEAD)
861 s->w_size = 1 << s->w_bits;
862 s->w_mask = s->w_size - 1;
869 s->window = (Bytef *) ZALLOC(strm, s->w_size, 2*sizeof(Byte));
870 s->prev = (Posf *) ZALLOC(strm, s->w_size, sizeof(Pos));
1237 ds->window = (Bytef *) ZALLOC(dest, ds->w_size, 2*sizeof(Byte));
1238 ds->prev = (Posf *) ZALLOC(dest, ds->w_size, sizeo
[all...]
/netbsd-current/common/dist/zlib/
H A Ddeflate.c205 uInt wsize = s->w_size;
309 s->w_size = 1 << s->w_bits;
310 s->w_mask = s->w_size - 1;
317 s->window = (Bytef *) ZALLOC(strm, s->w_size, 2*sizeof(Byte));
318 s->prev = (Posf *) ZALLOC(strm, s->w_size, sizeof(Pos));
438 if (dictLength >= s->w_size) {
445 dictionary += dictLength - s->w_size; /* use the tail */
446 dictLength = s->w_size;
495 if (len > s->w_size)
496 len = s->w_size;
[all...]
H A Ddeflate.h117 uInt w_size; /* LZ77 window size (32K by default) */ member in struct:internal_state
118 uInt w_bits; /* log2(w_size) (8..16) */
119 uInt w_mask; /* w_size - 1 */
286 #define MAX_DIST(s) ((s)->w_size-MIN_LOOKAHEAD)
/netbsd-current/external/gpl3/binutils/dist/zlib/
H A Ddeflate.c209 uInt wsize = s->w_size;
311 s->w_size = 1 << s->w_bits;
312 s->w_mask = s->w_size - 1;
319 s->window = (Bytef *) ZALLOC(strm, s->w_size, 2*sizeof(Byte));
320 s->prev = (Posf *) ZALLOC(strm, s->w_size, sizeof(Pos));
440 if (dictLength >= s->w_size) {
447 dictionary += dictLength - s->w_size; /* use the tail */
448 dictLength = s->w_size;
497 if (len > s->w_size)
498 len = s->w_size;
[all...]
H A Ddeflate.h115 uInt w_size; /* LZ77 window size (32K by default) */ member in struct:internal_state
116 uInt w_bits; /* log2(w_size) (8..16) */
117 uInt w_mask; /* w_size - 1 */
284 #define MAX_DIST(s) ((s)->w_size-MIN_LOOKAHEAD)
/netbsd-current/external/gpl3/gdb/dist/zlib/
H A Ddeflate.c209 uInt wsize = s->w_size;
311 s->w_size = 1 << s->w_bits;
312 s->w_mask = s->w_size - 1;
319 s->window = (Bytef *) ZALLOC(strm, s->w_size, 2*sizeof(Byte));
320 s->prev = (Posf *) ZALLOC(strm, s->w_size, sizeof(Pos));
440 if (dictLength >= s->w_size) {
447 dictionary += dictLength - s->w_size; /* use the tail */
448 dictLength = s->w_size;
497 if (len > s->w_size)
498 len = s->w_size;
[all...]
H A Ddeflate.h115 uInt w_size; /* LZ77 window size (32K by default) */ member in struct:internal_state
116 uInt w_bits; /* log2(w_size) (8..16) */
117 uInt w_mask; /* w_size - 1 */
284 #define MAX_DIST(s) ((s)->w_size-MIN_LOOKAHEAD)
/netbsd-current/external/gpl3/binutils.old/dist/zlib/
H A Ddeflate.c206 uInt wsize = s->w_size;
313 s->w_size = 1 << s->w_bits;
314 s->w_mask = s->w_size - 1;
321 s->window = (Bytef *) ZALLOC(strm, s->w_size, 2*sizeof(Byte));
322 s->prev = (Posf *) ZALLOC(strm, s->w_size, sizeof(Pos));
400 if (dictLength >= s->w_size) {
407 dictionary += dictLength - s->w_size; /* use the tail */
408 dictLength = s->w_size;
457 if (len > s->w_size)
458 len = s->w_size;
[all...]
H A Ddeflate.h115 uInt w_size; /* LZ77 window size (32K by default) */ member in struct:internal_state
116 uInt w_bits; /* log2(w_size) (8..16) */
117 uInt w_mask; /* w_size - 1 */
289 #define MAX_DIST(s) ((s)->w_size-MIN_LOOKAHEAD)
/netbsd-current/external/gpl3/gdb.old/dist/zlib/
H A Ddeflate.c206 uInt wsize = s->w_size;
313 s->w_size = 1 << s->w_bits;
314 s->w_mask = s->w_size - 1;
321 s->window = (Bytef *) ZALLOC(strm, s->w_size, 2*sizeof(Byte));
322 s->prev = (Posf *) ZALLOC(strm, s->w_size, sizeof(Pos));
400 if (dictLength >= s->w_size) {
407 dictionary += dictLength - s->w_size; /* use the tail */
408 dictLength = s->w_size;
457 if (len > s->w_size)
458 len = s->w_size;
[all...]
H A Ddeflate.h115 uInt w_size; /* LZ77 window size (32K by default) */ member in struct:internal_state
116 uInt w_bits; /* log2(w_size) (8..16) */
117 uInt w_mask; /* w_size - 1 */
289 #define MAX_DIST(s) ((s)->w_size-MIN_LOOKAHEAD)
/netbsd-current/external/cddl/osnet/dist/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)
H A Ddeflate.c285 s->w_size = 1 << s->w_bits;
286 s->w_mask = s->w_size - 1;
293 s->window = (Bytef *) ZALLOC(strm, s->w_size, 2*sizeof(Byte));
294 s->prev = (Posf *) ZALLOC(strm, s->w_size, sizeof(Pos));
926 ds->window = (Bytef *) ZALLOC(dest, ds->w_size, 2*sizeof(Byte));
927 ds->prev = (Posf *) ZALLOC(dest, ds->w_size, sizeof(Pos));
938 zmemcpy(ds->window, ss->window, ds->w_size * 2 * sizeof(Byte));
939 zmemcpy(ds->prev, ss->prev, ds->w_size * sizeof(Pos));
995 s->window_size = (ulg)2L*s->w_size;
1278 uInt wsize = s->w_size;
[all...]
/netbsd-current/external/bsd/libarchive/dist/libarchive/
H A Darchive_read_support_format_lha.c74 int w_size; member in struct:lzh_dec
1869 int w_bits, w_size; local
1896 ds->w_size = 1U << 17;
1897 ds->w_mask = ds->w_size -1;
1899 ds->w_buff = malloc(ds->w_size);
1903 w_size = 1U << w_bits;
1904 memset(ds->w_buff + ds->w_size - w_size, 0x20, w_size);
2369 int w_pos = ds->w_pos, w_mask = ds->w_mask, w_size local
[all...]
H A Darchive_read_support_format_cab.c59 int w_size; member in struct:lzx_dec
2081 int slot, w_size, w_slot; local
2102 w_size = ds->w_size;
2104 ds->w_size = 1U << w_bits;
2105 ds->w_mask = ds->w_size -1;
2106 if (ds->w_buff == NULL || w_size != ds->w_size) {
2108 ds->w_buff = malloc(ds->w_size);
2588 if (l > ds->w_size
2760 int w_pos = ds->w_pos, w_mask = ds->w_mask, w_size = ds->w_size; local
[all...]

Completed in 267 milliseconds