Searched refs:pos_state (Results 1 - 6 of 6) sorted by relevance

/netbsd-current/external/public-domain/xz/dist/src/liblzma/lzma/
H A Dlzma_encoder.c78 length_update_prices(lzma_length_encoder *lc, const uint32_t pos_state) argument
81 lc->counters[pos_state] = table_size;
87 uint32_t *const prices = lc->prices[pos_state];
91 prices[i] = a0 + rc_bittree_price(lc->low[pos_state],
95 prices[i] = b0 + rc_bittree_price(lc->mid[pos_state],
108 const uint32_t pos_state, uint32_t len, const bool fast_mode)
115 rc_bittree(rc, lc->low[pos_state], LEN_LOW_BITS, len);
122 rc_bittree(rc, lc->mid[pos_state], LEN_MID_BITS, len);
133 if (--lc->counters[pos_state] == 0)
134 length_update_prices(lc, pos_state);
107 length(lzma_range_encoder *rc, lzma_length_encoder *lc, const uint32_t pos_state, uint32_t len, const bool fast_mode) argument
143 match(lzma_lzma1_encoder *coder, const uint32_t pos_state, const uint32_t distance, const uint32_t len) argument
190 rep_match(lzma_lzma1_encoder *coder, const uint32_t pos_state, const uint32_t rep, const uint32_t len) argument
237 const uint32_t pos_state = position & coder->pos_mask; local
298 const uint32_t pos_state = position & coder->pos_mask; local
[all...]
H A Dlzma_decoder.c40 #define len_decode(target, ld, pos_state, seq) \
45 probs = ld.low[pos_state];\
53 probs = ld.mid[pos_state]; \
117 #define len_decode(target, ld, pos_state, seq) \
123 rc_bit_case(ld.low[pos_state][symbol], , , seq ## _LOW0); \
124 rc_bit_case(ld.low[pos_state][symbol], , , seq ## _LOW1); \
125 rc_bit_case(ld.low[pos_state][symbol], , , seq ## _LOW2); \
132 rc_bit_case(ld.mid[pos_state][symbol], , , \
134 rc_bit_case(ld.mid[pos_state][symbol], , , \
136 rc_bit_case(ld.mid[pos_state][symbo
342 uint32_t pos_state = dict.pos & pos_mask; local
[all...]
H A Dlzma_encoder_optimum_normal.c59 const uint32_t len, const uint32_t pos_state)
63 return lencoder->prices[pos_state][len - MATCH_LEN_MIN];
69 const lzma_lzma_state state, const uint32_t pos_state)
72 + rc_bit_0_price(coder->is_rep0_long[state][pos_state]);
78 const lzma_lzma_state state, uint32_t pos_state)
84 price += rc_bit_1_price(coder->is_rep0_long[state][pos_state]);
104 const uint32_t pos_state)
106 return get_len_price(&coder->rep_len_encoder, len, pos_state)
107 + get_pure_rep_price(coder, rep_index, state, pos_state);
113 const uint32_t len, const uint32_t pos_state)
58 get_len_price(const lzma_length_encoder *const lencoder, const uint32_t len, const uint32_t pos_state) argument
68 get_short_rep_price(const lzma_lzma1_encoder *const coder, const lzma_lzma_state state, const uint32_t pos_state) argument
77 get_pure_rep_price(const lzma_lzma1_encoder *const coder, const uint32_t rep_index, const lzma_lzma_state state, uint32_t pos_state) argument
102 get_rep_price(const lzma_lzma1_encoder *const coder, const uint32_t rep_index, const uint32_t len, const lzma_lzma_state state, const uint32_t pos_state) argument
112 get_dist_len_price(const lzma_lzma1_encoder *const coder, const uint32_t dist, const uint32_t len, const uint32_t pos_state) argument
342 const uint32_t pos_state = position & coder->pos_mask; local
522 const uint32_t pos_state = position & coder->pos_mask; local
[all...]
/netbsd-current/usr.bin/gzip/
H A Dunlz.c266 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);
438 const int pos_state = lz_get_data_position(lz) & POS_STATE_MASK; local
440 if (lz_rd_decode_bit(rd, &bm_match[state][pos_state]) == 0) {
461 &bm_len[state][pos_state]) == 0)
489 lz_rd_decode_len(rd, &rep_len_model, pos_state);
493 lz_rd_decode_len(rd, &match_len_model, pos_state);
265 lz_rd_decode_len(struct lz_range_decoder *rd, struct lz_len_model *lm, int pos_state) argument
/netbsd-current/external/gpl3/gcc/dist/libbacktrace/
H A Delf.c2986 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, poffse
2985 elf_lzma_len(const unsigned char *compressed, size_t compressed_size, uint16_t *probs, int is_rep, unsigned int pos_state, size_t *poffset, uint32_t *prange, uint32_t *pcode) argument
[all...]
/netbsd-current/external/gpl3/gdb/dist/libbacktrace/
H A Delf.c2986 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, poffse
2985 elf_lzma_len(const unsigned char *compressed, size_t compressed_size, uint16_t *probs, int is_rep, unsigned int pos_state, size_t *poffset, uint32_t *prange, uint32_t *pcode) argument
[all...]

Completed in 111 milliseconds