Searched refs:dict_size (Results 1 - 22 of 22) sorted by relevance

/freebsd-11-stable/contrib/xz/src/liblzma/lz/
H A Dlz_decoder.c246 if (lz_options.dict_size < 4096)
247 lz_options.dict_size = 4096;
256 if (lz_options.dict_size > SIZE_MAX - 15)
259 lz_options.dict_size = (lz_options.dict_size + 15) & ~((size_t)(15));
262 if (coder->dict.size != lz_options.dict_size) {
265 = lzma_alloc(lz_options.dict_size, allocator);
269 coder->dict.size = lz_options.dict_size;
280 lz_options.dict_size);
H A Dlz_encoder.c199 if (lz_options->dict_size < LZMA_DICT_SIZE_MIN
200 || lz_options->dict_size
205 mf->keep_size_before = lz_options->before_size + lz_options->dict_size;
221 uint32_t reserve = lz_options->dict_size / 2;
257 mf->cyclic_size = lz_options->dict_size + 1;
310 hs = lz_options->dict_size - 1;
H A Dlz_encoder.h135 size_t dict_size; member in struct:__anon4459
165 // before_size + dict_size + after_size + match_len_max
168 // memmove() calls reasonable. The bigger the dict_size is, the bigger
177 // amount of extra buffer needed after dict_size becomes
H A Dlz_decoder.h48 size_t dict_size; member in struct:__anon4455
/freebsd-11-stable/usr.bin/gzip/
H A Dunlz.c284 off_t pos, ppos, spos, dict_size; member in struct:lz_decoder
303 lz->wrapped = lz->pos >= lz->dict_size;
323 lz_create(struct lz_decoder *lz, int fin, int fdout, int dict_size) argument
337 lz->dict_size = dict_size;
340 lz->obuf = malloc(dict_size);
361 return lz->obuf[lz->dict_size + diff];
370 if (lz->dict_size == lz->pos)
520 if (rep[0] >= lz->dict_size ||
542 lz_decode(int fin, int fdout, unsigned dict_size, off_ argument
606 unsigned dict_size = 1 << (c & 0x1f); local
641 unsigned dict_size = lz_get_dict_size(header[5]); local
[all...]
/freebsd-11-stable/contrib/xz/src/liblzma/common/
H A Dalone_decoder.c73 coder->options.dict_size
77 if (coder->picky && coder->options.dict_size
84 uint32_t d = coder->options.dict_size - 1;
92 if (d != coder->options.dict_size)
222 coder->options.dict_size = 0;
H A Dalone_encoder.c108 if (options->dict_size < LZMA_DICT_SIZE_MIN)
115 uint32_t d = options->dict_size - 1;
H A Dblock_buffer_encoder.c96 .dict_size = LZMA_DICT_SIZE_MIN,
/freebsd-11-stable/contrib/gdb/gdb/
H A Ddictionary.h142 extern int dict_size (const struct dictionary *dict);
H A Ddictionary.c532 dict_size (const struct dictionary *dict) function
H A Dsymmisc.c499 dict_size (BLOCK_DICT (b)));
/freebsd-11-stable/contrib/xz/src/xz/
H A Dcoder.c327 const uint32_t orig_dict_size = opt->dict_size;
328 opt->dict_size &= ~((UINT32_C(1) << 20) - 1);
336 if (opt->dict_size < (UINT32_C(1) << 20))
349 // dict_size is very big.
350 opt->dict_size -= UINT32_C(1) << 20;
360 uint64_to_str(opt->dict_size >> 20, 1),
398 const uint32_t dict_size = opt->dict_size; local
401 if (dict_size != UINT32_MAX) {
402 uint32_t d = dict_size
[all...]
H A Doptions.c282 opt->dict_size = value;
H A Dmessage.c982 uint32_to_optstr(opt->dict_size));
/freebsd-11-stable/contrib/libarchive/libarchive/
H A Darchive_write_add_filter_xz.c126 uint32_t dict_size; member in struct:option_value
250 int dict_size = data->lzma_opt.dict_size; local
254 if (dict_size < (1 << 12) || dict_size > (1 << 27)) {
257 dict_size);
261 if (dict_size & (1 << log2dic))
264 if (dict_size > (1 << log2dic)) {
267 ((1 << log2dic) - dict_size) / (1 << (log2dic - 4));
340 data->lzma_opt.dict_size
[all...]
/freebsd-11-stable/contrib/xz/src/liblzma/lzma/
H A Dlzma_encoder_presets.c36 options->dict_size = UINT32_C(1) << dict_pow2[level];
H A Dlzma2_encoder.c350 if (lz_options->before_size + lz_options->dict_size < LZMA2_CHUNK_MAX)
352 = LZMA2_CHUNK_MAX - lz_options->dict_size;
382 uint32_t d = my_max(opt->dict_size, LZMA_DICT_SIZE_MIN);
409 return my_max((uint64_t)(opt->dict_size) * 3, UINT64_C(1) << 20);
H A Dlzma2_decoder.c298 opt->dict_size = UINT32_MAX;
300 opt->dict_size = 2 | (props[0] & 1U);
301 opt->dict_size <<= props[0] / 2U + 11;
H A Dlzma_encoder.c440 lz_options->dict_size = options->dict_size;
577 while ((UINT32_C(1) << log_size) < options->dict_size)
666 write32le(out + 1, opt->dict_size);
H A Dlzma_decoder.c958 lz_options->dict_size = options->dict_size;
1020 + lzma_lz_decoder_memusage(opt->dict_size);
1052 opt->dict_size = read32le(props + 1);
/freebsd-11-stable/contrib/xz/src/liblzma/api/lzma/
H A Dlzma12.h54 * reality when dict_size is a power of two. The formulas are more complex
66 * - dict_size <= 16 MiB: dict_size * 7.5
67 * - dict_size > 16 MiB: dict_size * 5.5 + 64 MiB
77 * - dict_size <= 32 MiB: dict_size * 7.5
78 * - dict_size > 32 MiB: dict_size * 6.5
87 * Memory usage: dict_size * 9.
217 uint32_t dict_size; member in struct:__anon21
[all...]
/freebsd-11-stable/contrib/xz/src/lzmainfo/
H A Dlzmainfo.c162 (opt->dict_size + 512 * 1024) / (1024 * 1024),
163 my_log2(opt->dict_size), opt->lc, opt->lp, opt->pb);

Completed in 124 milliseconds