| /src/external/public-domain/xz/dist/src/liblzma/common/ |
| microlzma_decoder.c | 34 uint32_t dict_size; member in struct:__anon365 82 .dict_size = coder->dict_size, 174 uint32_t dict_size) 200 coder->dict_size = dict_size; 211 uint32_t dict_size) 214 uncomp_size, uncomp_size_is_exact, dict_size);
|
| alone_decoder.c | 72 coder->options.dict_size 76 if (coder->picky && coder->options.dict_size 83 uint32_t d = coder->options.dict_size - 1; 91 if (d != coder->options.dict_size) 229 coder->options.dict_size = 0;
|
| alone_encoder.c | 106 if (options->dict_size < LZMA_DICT_SIZE_MIN) 113 uint32_t d = options->dict_size - 1;
|
| lzip_decoder.c | 192 // dict_size = 2^21 - 2^21 * 5 / 16 = 1408 KiB 203 coder->options.dict_size = (UINT32_C(1) << b2log) 206 assert(coder->options.dict_size >= 4096); 207 assert(coder->options.dict_size <= (UINT32_C(512) << 20));
|
| block_buffer_encoder.c | 95 .dict_size = LZMA_DICT_SIZE_MIN,
|
| /src/usr.bin/gzip/ |
| unlz.c | 283 off_t pos, ppos, spos, dict_size; member in struct:lz_decoder 304 lz->wrapped = lz->pos >= lz->dict_size; 356 lz_create(struct lz_decoder *lz, int fin, int fdout, int dict_size, 387 lz->dict_size = dict_size; 390 lz->obuf = malloc(dict_size); 411 return lz->obuf[lz->dict_size + diff]; 420 if (lz->dict_size == lz->pos) 570 if (rep[0] >= lz->dict_size || 592 lz_decode(int fin, int fdout, unsigned dict_size, off_t *insize 657 unsigned dict_size = 1 << (c & 0x1f); local 700 unsigned dict_size = lz_get_dict_size(header[5]); local [all...] |
| /src/external/public-domain/xz/dist/src/liblzma/lz/ |
| lz_decoder.c | 254 if (lz_options.dict_size < 4096) 255 lz_options.dict_size = 4096; 268 if (lz_options.dict_size > SIZE_MAX - 15 - 2 * LZ_DICT_REPEAT_MAX 272 lz_options.dict_size = (lz_options.dict_size + 15) & ~((size_t)(15)); 277 = lz_options.dict_size + 2 * LZ_DICT_REPEAT_MAX; 292 // NOTE: Yes, alloc_size, not lz_options.dict_size. The way 294 // still reject distances larger than lz_options.dict_size. 306 lz_options.dict_size);
|
| lz_encoder.c | 198 if (!IS_ENC_DICT_SIZE_VALID(lz_options->dict_size) 202 mf->keep_size_before = lz_options->before_size + lz_options->dict_size; 218 uint32_t reserve = lz_options->dict_size / 2; 254 mf->cyclic_size = lz_options->dict_size + 1; 311 hs = lz_options->dict_size - 1;
|
| lz_decoder.h | 114 size_t dict_size; member in struct:__anon387
|
| lz_encoder.h | 142 size_t dict_size; member in struct:__anon391 168 /// buffer size. If this size is larger than dict_size, then only 169 /// the dict_size sized tail of the preset_dict will be used. 176 // before_size + dict_size + after_size + match_len_max 179 // memmove() calls reasonable. The bigger the dict_size is, the bigger 188 // amount of extra buffer needed after dict_size becomes
|
| /src/external/bsd/libarchive/dist/libarchive/ |
| archive_write_add_filter_xz.c | 127 uint32_t dict_size; member in struct:option_value 251 int dict_size = data->lzma_opt.dict_size; local 255 if (dict_size < (1 << 12) || dict_size > (1 << 29)) { 258 dict_size); 262 if (dict_size & (1 << log2dic)) 265 if (dict_size > (1 << log2dic)) { 268 ((1 << log2dic) - dict_size) / (1 << (log2dic - 4)); 340 data->lzma_opt.dict_size = val->dict_size [all...] |
| /src/external/public-domain/xz/dist/src/liblzma/api/lzma/ |
| lzma12.h | 75 * reality when dict_size is a power of two. The formulas are more complex 87 * - dict_size <= 16 MiB: dict_size * 7.5 88 * - dict_size > 16 MiB: dict_size * 5.5 + 64 MiB 98 * - dict_size <= 32 MiB: dict_size * 7.5 99 * - dict_size > 32 MiB: dict_size * 6.5 108 * Memory usage: dict_size * 9. 248 uint32_t dict_size; member in struct:__anon326 [all...] |
| container.h | 103 * on the compression options. For LZMA2 it will be 3*dict_size 975 * \param dict_size LZMA dictionary size that was used when 993 uint32_t dict_size) lzma_nothrow;
|
| /src/external/public-domain/xz/dist/src/liblzma/lzma/ |
| lzma_encoder_presets.c | 35 options->dict_size = UINT32_C(1) << dict_pow2[level];
|
| lzma2_encoder.c | 347 if (lz_options->before_size + lz_options->dict_size < LZMA2_CHUNK_MAX) 349 = LZMA2_CHUNK_MAX - lz_options->dict_size; 382 uint32_t d = my_max(opt->dict_size, LZMA_DICT_SIZE_MIN); 408 if (!IS_ENC_DICT_SIZE_VALID(opt->dict_size)) 412 return my_max((uint64_t)(opt->dict_size) * 3, UINT64_C(1) << 20);
|
| lzma2_decoder.c | 298 opt->dict_size = UINT32_MAX; 300 opt->dict_size = 2 | (props[0] & 1U); 301 opt->dict_size <<= props[0] / 2U + 11;
|
| lzma_encoder.c | 492 lz_options->dict_size = options->dict_size; 639 if (options->dict_size > (UINT32_C(1) << 30) 644 while ((UINT32_C(1) << log_size) < options->dict_size) 775 write32le(out + 1, opt->dict_size);
|
| lzma_decoder.c | 1133 lz_options->dict_size = options->dict_size; 1219 + lzma_lz_decoder_memusage(opt->dict_size); 1251 opt->dict_size = read32le(props + 1);
|
| /src/external/public-domain/xz/dist/src/lzmainfo/ |
| lzmainfo.c | 185 (opt->dict_size / 1024 + 512) / 1024, 186 my_log2(opt->dict_size), opt->lc, opt->lp, opt->pb);
|
| /src/external/bsd/zstd/dist/contrib/diagnose_corruption/ |
| check_flipped_bits.c | 35 size_t dict_size; member in struct:__anon8530 224 stuff->dict_size = 0; 249 stuff->ddict = readDictByID(stuff, dict_id, &stuff->dict, &stuff->dict_size); 258 stuff->ddict = readDict(stuff->dict_file_name, &stuff->dict, &stuff->dict_size, &stuff->dict_id);
|
| /src/external/public-domain/xz/dist/src/xz/ |
| coder.c | 679 const uint32_t orig_dict_size = opt->dict_size; 680 opt->dict_size &= ~((UINT32_C(1) << 20) - 1); 686 if (opt->dict_size < (UINT32_C(1) << 20)) 699 opt->dict_size -= UINT32_C(1) << 20; 708 const char *to_size = uint64_to_str(opt->dict_size >> 20, 1); 758 const uint32_t dict_size = opt->dict_size; local 761 if (dict_size != UINT32_MAX) { 762 uint32_t d = dict_size - 1; 769 if (d != dict_size || dict_size == 0 [all...] |
| /src/external/gpl3/gcc/dist/libcpp/ |
| makeuname2c.cc | 111 static size_t dict_size, tree_size, max_entry_len; variable 634 dict_size = key_idx; 638 dict = (char *) xmalloc (dict_size + 1); 642 dict[dict_size] = '\0'; 717 printf ("static const char uname2c_dict[%ld] =\n", (long) (dict_size + 1)); 718 for (i = 0; i < dict_size; i += 77) 719 printf ("\"%.77s\"%s\n", dict + i, i + 76 > dict_size ? ";" : "");
|
| /src/external/public-domain/xz/dist/tests/ |
| test_filter_str.c | 183 assert_uint_eq(opts->dict_size, 4096); 335 assert_uint_eq(opts->dict_size, 4096 << 10); 348 assert_uint_eq(opts->dict_size, 40 << 20); 361 assert_uint_eq(opts->dict_size, 1 << 30);
|
| test_filter_flags.c | 384 assert_uint_eq(decoded->dict_size, expected->dict_size);
|
| test_microlzma.c | 108 opt_lzma.dict_size = LZMA_DICT_SIZE_MIN - 1; 114 opt_lzma.dict_size = (UINT32_C(1) << 30) + (UINT32_C(1) << 29) + 1;
|