Lines Matching defs:options
856 const lzma_options_lzma *options = opt;
862 coder->pos_mask = (1U << options->pb) - 1;
865 literal_init(coder->literal, options->lc, options->lp);
867 coder->literal_context_bits = options->lc;
868 coder->literal_pos_mask = (1U << options->lp) - 1;
876 coder->pos_mask = (1U << options->pb) - 1;
903 const uint32_t num_pos_states = 1U << options->pb;
951 const lzma_options_lzma *options = opt;
952 lz_options->dict_size = options->dict_size;
953 lz_options->preset_dict = options->preset_dict;
954 lz_options->preset_dict_size = options->preset_dict_size;
965 const void *options, lzma_lz_options *lz_options)
967 if (!is_lclppb_valid(options))
971 lz, allocator, options, lz_options));
973 lzma_decoder_reset(lz->coder, options);
994 lzma_lzma_lclppb_decode(lzma_options_lzma *options, uint8_t byte)
1000 options->pb = byte / (9 * 5);
1001 byte -= options->pb * 9 * 5;
1002 options->lp = byte / 9;
1003 options->lc = byte - options->lp * 9;
1005 return options->lc + options->lp > LZMA_LCLP_MAX;
1010 lzma_lzma_decoder_memusage_nocheck(const void *options)
1012 const lzma_options_lzma *const opt = options;
1018 lzma_lzma_decoder_memusage(const void *options)
1020 if (!is_lclppb_valid(options))
1023 return lzma_lzma_decoder_memusage_nocheck(options);
1028 lzma_lzma_props_decode(void **options, lzma_allocator *allocator,
1050 *options = opt;