Lines Matching refs:lz_options

183 		const lzma_lz_options *lz_options)
188 if (lz_options->dict_size < LZMA_DICT_SIZE_MIN
189 || lz_options->dict_size
191 || lz_options->nice_len > lz_options->match_len_max)
194 mf->keep_size_before = lz_options->before_size + lz_options->dict_size;
196 mf->keep_size_after = lz_options->after_size
197 + lz_options->match_len_max;
210 uint32_t reserve = lz_options->dict_size / 2;
214 reserve += (lz_options->before_size + lz_options->match_len_max
215 + lz_options->after_size) / 2 + (UINT32_C(1) << 19);
228 mf->match_len_max = lz_options->match_len_max;
229 mf->nice_len = lz_options->nice_len;
246 mf->cyclic_size = lz_options->dict_size + 1;
249 switch (lz_options->match_finder) {
287 const uint32_t hash_bytes = lz_options->match_finder & 0x0F;
291 const bool is_bt = (lz_options->match_finder & 0x10) != 0;
299 hs = lz_options->dict_size - 1;
350 mf->depth = lz_options->depth;
364 const lzma_lz_options *lz_options)
423 if (lz_options->preset_dict != NULL
424 && lz_options->preset_dict_size > 0) {
427 mf->write_pos = my_min(lz_options->preset_dict_size, mf->size);
428 memcpy(mf->buffer, lz_options->preset_dict
429 + lz_options->preset_dict_size - mf->write_pos,
442 lzma_lz_encoder_memusage(const lzma_lz_options *lz_options)
453 if (lz_encoder_prepare(&mf, NULL, lz_options))
502 lzma_lz_options *lz_options))
532 lzma_lz_options lz_options;
534 filters[0].options, &lz_options));
538 if (lz_encoder_prepare(&next->coder->mf, allocator, &lz_options))
543 if (lz_encoder_init(&next->coder->mf, allocator, &lz_options))