HomeSort by: relevance | last modified time | path
    Searched refs:pos_state (Results 1 - 8 of 8) sorted by relevancy

  /src/external/public-domain/xz/dist/src/liblzma/lzma/
lzma_encoder.c 77 length_update_prices(lzma_length_encoder *lc, const uint32_t pos_state)
80 lc->counters[pos_state] = table_size;
86 uint32_t *const prices = lc->prices[pos_state];
90 prices[i] = a0 + rc_bittree_price(lc->low[pos_state],
94 prices[i] = b0 + rc_bittree_price(lc->mid[pos_state],
107 const uint32_t pos_state, uint32_t len, const bool fast_mode)
114 rc_bittree(rc, lc->low[pos_state], LEN_LOW_BITS, len);
121 rc_bittree(rc, lc->mid[pos_state], LEN_MID_BITS, len);
132 if (--lc->counters[pos_state] == 0)
133 length_update_prices(lc, pos_state);
236 const uint32_t pos_state = position & coder->pos_mask; local
299 const uint32_t pos_state = position & coder->pos_mask; local
    [all...]
lzma_decoder.c 35 #define len_decode(target, ld, pos_state, seq) \
40 probs = ld.low[pos_state];\
48 probs = ld.mid[pos_state]; \
70 #define len_decode_fast(target, ld, pos_state) \
75 rc_bittree3(ld.low[pos_state], \
82 rc_bittree3(ld.mid[pos_state], -LEN_MID_SYMBOLS \
287 uint32_t pos_state = dict.pos & pos_mask; local
330 // Calculate new pos_state. This is skipped on the first loop
333 pos_state = dict.pos & pos_mask;
353 rc_if_0(coder->is_match[state][pos_state]) {
    [all...]
lzma_encoder_optimum_normal.c 58 const uint32_t len, const uint32_t pos_state)
62 return lencoder->prices[pos_state][len - MATCH_LEN_MIN];
68 const lzma_lzma_state state, const uint32_t pos_state)
71 + rc_bit_0_price(coder->is_rep0_long[state][pos_state]);
77 const lzma_lzma_state state, uint32_t pos_state)
83 price += rc_bit_1_price(coder->is_rep0_long[state][pos_state]);
103 const uint32_t pos_state)
105 return get_len_price(&coder->rep_len_encoder, len, pos_state)
106 + get_pure_rep_price(coder, rep_index, state, pos_state);
112 const uint32_t len, const uint32_t pos_state)
341 const uint32_t pos_state = position & coder->pos_mask; local
521 const uint32_t pos_state = position & coder->pos_mask; local
    [all...]
  /src/usr.bin/gzip/
unlz.c 266 int pos_state)
269 return lz_rd_decode_tree(rd, lm->bm_low[pos_state], LOW_BITS);
273 lz_rd_decode_tree(rd, lm->bm_mid[pos_state], MID_BITS);
490 const int pos_state = lz_get_data_position(lz) & POS_STATE_MASK; local
492 if (lz_rd_decode_bit(rd, &bm_match[state][pos_state]) == 0) {
513 &bm_len[state][pos_state]) == 0)
541 lz_rd_decode_len(rd, &rep_len_model, pos_state);
545 lz_rd_decode_len(rd, &match_len_model, pos_state);
  /src/external/gpl3/gcc.old/dist/libbacktrace/
elf.c 2986 uint16_t *probs, int is_rep, unsigned int pos_state,
3015 ? LZMA_REP_LEN_MID (pos_state, 0)
3016 : LZMA_MATCH_LEN_MID (pos_state, 0));
3024 ? LZMA_REP_LEN_LOW (pos_state, 0)
3025 : LZMA_MATCH_LEN_LOW (pos_state, 0));
3371 unsigned int pos_state; local
3381 pos_state = ((uncompressed_offset - dict_start_offset)
3385 probs + LZMA_IS_MATCH (lstate, pos_state),
3434 pos_state)),
3448 probs, 1, pos_state, poffset
    [all...]
  /src/external/gpl3/gcc/dist/libbacktrace/
elf.c 5506 uint16_t *probs, int is_rep, unsigned int pos_state,
5535 ? LZMA_REP_LEN_MID (pos_state, 0)
5536 : LZMA_MATCH_LEN_MID (pos_state, 0));
5544 ? LZMA_REP_LEN_LOW (pos_state, 0)
5545 : LZMA_MATCH_LEN_LOW (pos_state, 0));
5893 unsigned int pos_state; local
5903 pos_state = ((uncompressed_offset - dict_start_offset)
5907 probs + LZMA_IS_MATCH (lstate, pos_state),
5956 pos_state)),
5970 probs, 1, pos_state, poffset
    [all...]
  /src/external/gpl3/gdb/dist/libbacktrace/
elf.c 5506 uint16_t *probs, int is_rep, unsigned int pos_state,
5535 ? LZMA_REP_LEN_MID (pos_state, 0)
5536 : LZMA_MATCH_LEN_MID (pos_state, 0));
5544 ? LZMA_REP_LEN_LOW (pos_state, 0)
5545 : LZMA_MATCH_LEN_LOW (pos_state, 0));
5893 unsigned int pos_state; local
5903 pos_state = ((uncompressed_offset - dict_start_offset)
5907 probs + LZMA_IS_MATCH (lstate, pos_state),
5956 pos_state)),
5970 probs, 1, pos_state, poffset
    [all...]
  /src/external/gpl3/gdb.old/dist/libbacktrace/
elf.c 5506 uint16_t *probs, int is_rep, unsigned int pos_state,
5535 ? LZMA_REP_LEN_MID (pos_state, 0)
5536 : LZMA_MATCH_LEN_MID (pos_state, 0));
5544 ? LZMA_REP_LEN_LOW (pos_state, 0)
5545 : LZMA_MATCH_LEN_LOW (pos_state, 0));
5893 unsigned int pos_state; local
5903 pos_state = ((uncompressed_offset - dict_start_offset)
5907 probs + LZMA_IS_MATCH (lstate, pos_state),
5956 pos_state)),
5970 probs, 1, pos_state, poffset
    [all...]

Completed in 33 milliseconds