Searched refs:w_size (Results 1 – 4 of 4) sorted by relevance
/freebsd/sys/contrib/zlib/ |
H A D | deflate.c | 190 uInt wsize = s->w_size; in slide_hash() 254 uInt wsize = s->w_size; in fill_window() 441 s->w_size = 1 << s->w_bits; in deflateInit2_() 442 s->w_mask = s->w_size - 1; in deflateInit2_() 449 s->window = (Bytef *) ZALLOC(strm, s->w_size, 2*sizeof(Byte)); in deflateInit2_() 450 s->prev = (Posf *) ZALLOC(strm, s->w_size, sizeof(Pos)); in deflateInit2_() 571 if (dictLength >= s->w_size) { in deflateSetDictionary() 578 dictionary += dictLength - s->w_size; /* use the tail */ in deflateSetDictionary() 579 dictLength = s->w_size; in deflateSetDictionary() 625 if (len > s->w_size) in deflateGetDictionary() [all …]
|
H A D | deflate.h | 119 uInt w_size; /* LZ77 window size (32K by default) */ member 295 #define MAX_DIST(s) ((s)->w_size-MIN_LOOKAHEAD)
|
/freebsd/contrib/libarchive/libarchive/ |
H A D | archive_read_support_format_lha.c | 74 int w_size; member 1870 int w_bits, w_size; in lzh_decode_init() local 1897 ds->w_size = 1U << 17; in lzh_decode_init() 1898 ds->w_mask = ds->w_size -1; in lzh_decode_init() 1900 ds->w_buff = malloc(ds->w_size); in lzh_decode_init() 1904 w_size = 1U << w_bits; in lzh_decode_init() 1905 memset(ds->w_buff + ds->w_size - w_size, 0x20, w_size); in lzh_decode_init() 2370 int w_pos = ds->w_pos, w_mask = ds->w_mask, w_size = ds->w_size; in lzh_decode_blocks() local 2426 if (++w_pos >= w_size) { in lzh_decode_blocks() 2428 lzh_emit_window(strm, w_size); in lzh_decode_blocks() [all …]
|
H A D | archive_read_support_format_cab.c | 59 int w_size; member 2081 int slot, w_size, w_slot; in lzx_decode_init() local 2102 w_size = ds->w_size; in lzx_decode_init() 2104 ds->w_size = 1U << w_bits; in lzx_decode_init() 2105 ds->w_mask = ds->w_size -1; in lzx_decode_init() 2106 if (ds->w_buff == NULL || w_size != ds->w_size) { in lzx_decode_init() 2108 ds->w_buff = malloc(ds->w_size); in lzx_decode_init() 2588 if (l > ds->w_size - ds->w_pos) in lzx_read_blocks() 2589 l = ds->w_size - ds->w_pos; in lzx_read_blocks() 2760 int w_pos = ds->w_pos, w_mask = ds->w_mask, w_size = ds->w_size; in lzx_decode_blocks() local [all …]
|