Searched refs:w_bits (Results 1 – 4 of 4) sorted by relevance
1870 int w_bits, w_size; in lzh_decode_init() local1883 w_bits = 13;/* 8KiB for window */ in lzh_decode_init()1886 w_bits = 15;/* 32KiB for window */ in lzh_decode_init()1889 w_bits = 16;/* 64KiB for window */ in lzh_decode_init()1904 w_size = 1U << w_bits; in lzh_decode_init()1908 ds->pos_pt_len_size = w_bits + 1; in lzh_decode_init()1909 ds->pos_pt_len_bits = (w_bits == 15 || w_bits == 16)? 5: 4; in lzh_decode_init()
2078 lzx_decode_init(struct lzx_stream *strm, int w_bits) in lzx_decode_init() argument2094 if (w_bits < SLOT_BASE || w_bits > SLOT_MAX) in lzx_decode_init()2103 w_slot = slots[w_bits - SLOT_BASE]; in lzx_decode_init()2104 ds->w_size = 1U << w_bits; in lzx_decode_init()
120 uInt w_bits; /* log2(w_size) (8..16) */ member
440 s->w_bits = (uInt)windowBits; in deflateInit2_()441 s->w_size = 1 << s->w_bits; in deflateInit2_()889 if (s->w_bits != 15 || s->hash_bits != 8 + 7) in deflateBound()890 return (s->w_bits <= s->hash_bits && s->level ? fixedlen : storelen) + in deflateBound()998 uInt header = (Z_DEFLATED + ((s->w_bits - 8) << 4)) << 8; in deflate()