Lines Matching refs:options
36 static void *z_comp_alloc(unsigned char *options, int opt_len);
37 static void *z_decomp_alloc(unsigned char *options, int opt_len);
40 static int z_comp_init(void *state, unsigned char *options,
43 static int z_decomp_init(void *state, unsigned char *options,
85 static void *z_comp_alloc(unsigned char *options, int opt_len) in z_comp_alloc() argument
91 (options[0] != CI_DEFLATE && options[0] != CI_DEFLATE_DRAFT) || in z_comp_alloc()
92 options[1] != CILEN_DEFLATE || in z_comp_alloc()
93 DEFLATE_METHOD(options[2]) != DEFLATE_METHOD_VAL || in z_comp_alloc()
94 options[3] != DEFLATE_CHK_SEQUENCE) in z_comp_alloc()
96 w_size = DEFLATE_SIZE(options[2]); in z_comp_alloc()
137 static int z_comp_init(void *arg, unsigned char *options, int opt_len, in z_comp_init() argument
143 (options[0] != CI_DEFLATE && options[0] != CI_DEFLATE_DRAFT) || in z_comp_init()
144 options[1] != CILEN_DEFLATE || in z_comp_init()
145 DEFLATE_METHOD(options[2]) != DEFLATE_METHOD_VAL || in z_comp_init()
146 DEFLATE_SIZE(options[2]) != state->w_size || in z_comp_init()
147 options[3] != DEFLATE_CHK_SEQUENCE) in z_comp_init()
301 static void *z_decomp_alloc(unsigned char *options, int opt_len) in z_decomp_alloc() argument
307 (options[0] != CI_DEFLATE && options[0] != CI_DEFLATE_DRAFT) || in z_decomp_alloc()
308 options[1] != CILEN_DEFLATE || in z_decomp_alloc()
309 DEFLATE_METHOD(options[2]) != DEFLATE_METHOD_VAL || in z_decomp_alloc()
310 options[3] != DEFLATE_CHK_SEQUENCE) in z_decomp_alloc()
312 w_size = DEFLATE_SIZE(options[2]); in z_decomp_alloc()
351 static int z_decomp_init(void *arg, unsigned char *options, int opt_len, in z_decomp_init() argument
357 (options[0] != CI_DEFLATE && options[0] != CI_DEFLATE_DRAFT) || in z_decomp_init()
358 options[1] != CILEN_DEFLATE || in z_decomp_init()
359 DEFLATE_METHOD(options[2]) != DEFLATE_METHOD_VAL || in z_decomp_init()
360 DEFLATE_SIZE(options[2]) != state->w_size || in z_decomp_init()
361 options[3] != DEFLATE_CHK_SEQUENCE) in z_decomp_init()