Home
last modified time | relevance | path

Searched refs:dist_slot (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/contrib/xz-embedded/linux/lib/xz/
H A Dxz_dec_lzma2.c190 uint16_t dist_slot[DIST_STATES][DIST_SLOTS]; member
681 uint32_t dist_slot; in lzma_match() local
692 probs = s->lzma.dist_slot[lzma_get_dist_state(s->lzma.len)]; in lzma_match()
693 dist_slot = rc_bittree(&s->rc, probs, DIST_SLOTS) - DIST_SLOTS; in lzma_match()
695 if (dist_slot < DIST_MODEL_START) { in lzma_match()
696 s->lzma.rep0 = dist_slot; in lzma_match()
698 limit = (dist_slot >> 1) - 1; in lzma_match()
699 s->lzma.rep0 = 2 + (dist_slot & 1); in lzma_match()
701 if (dist_slot < DIST_MODEL_END) { in lzma_match()
704 - dist_slot - 1; in lzma_match()
/freebsd/contrib/libarchive/libarchive/
H A Darchive_read_support_format_rar5.c3113 uint16_t dist_slot; in do_uncompress_block() local
3127 &dist_slot)) in do_uncompress_block()
3136 if(dist_slot < 4) { in do_uncompress_block()
3138 dist += dist_slot; in do_uncompress_block()
3140 dbits = dist_slot / 2 - 1; in do_uncompress_block()
3147 (dist_slot & 1)) << dbits; in do_uncompress_block()