Lines Matching refs:options
78 static void *z_comp_alloc(uchar_t *options, int opt_len);
79 static void *z_decomp_alloc(uchar_t *options, int opt_len);
82 static int z_comp_init(void *state, uchar_t *options, int opt_len,
84 static int z_decomp_init(void *state, uchar_t *options, int opt_len,
194 z_comp_alloc(uchar_t *options, int opt_len)
200 (options[0] != CI_DEFLATE && options[0] != CI_DEFLATE_DRAFT) ||
201 options[1] != CILEN_DEFLATE ||
202 DEFLATE_METHOD(options[2]) != DEFLATE_METHOD_VAL ||
203 options[3] != DEFLATE_CHK_SEQUENCE) {
208 w_size = DEFLATE_SIZE(options[2]);
255 z_comp_init(void *arg, uchar_t *options, int opt_len, int unit, int hdrlen,
261 (options[0] != CI_DEFLATE && options[0] != CI_DEFLATE_DRAFT) ||
262 options[1] != CILEN_DEFLATE ||
263 DEFLATE_METHOD(options[2]) != DEFLATE_METHOD_VAL ||
264 DEFLATE_SIZE(options[2]) != state->w_size ||
265 options[3] != DEFLATE_CHK_SEQUENCE) {
648 z_decomp_alloc(uchar_t *options, int opt_len)
654 (options[0] != CI_DEFLATE && options[0] != CI_DEFLATE_DRAFT) ||
655 options[1] != CILEN_DEFLATE ||
656 DEFLATE_METHOD(options[2]) != DEFLATE_METHOD_VAL ||
657 options[3] != DEFLATE_CHK_SEQUENCE) {
662 w_size = DEFLATE_SIZE(options[2]);
706 z_decomp_init(void *arg, uchar_t *options, int opt_len, int unit, int hdrlen,
712 (options[0] != CI_DEFLATE && options[0] != CI_DEFLATE_DRAFT) ||
713 options[1] != CILEN_DEFLATE ||
714 DEFLATE_METHOD(options[2]) != DEFLATE_METHOD_VAL ||
715 DEFLATE_SIZE(options[2]) != state->w_size ||
716 options[3] != DEFLATE_CHK_SEQUENCE) {