Home
last modified time | relevance | path

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

/external/xz-embedded/linux/lib/xz/
Dxz_dec_lzma2.c190 uint16_t dist_slot[DIST_STATES][DIST_SLOTS]; member
649 uint32_t dist_slot; in lzma_match() local
660 probs = s->lzma.dist_slot[lzma_get_dist_state(s->lzma.len)]; in lzma_match()
661 dist_slot = rc_bittree(&s->rc, probs, DIST_SLOTS) - DIST_SLOTS; in lzma_match()
663 if (dist_slot < DIST_MODEL_START) { in lzma_match()
664 s->lzma.rep0 = dist_slot; in lzma_match()
666 limit = (dist_slot >> 1) - 1; in lzma_match()
667 s->lzma.rep0 = 2 + (dist_slot & 1); in lzma_match()
669 if (dist_slot < DIST_MODEL_END) { in lzma_match()
672 - dist_slot - 1; in lzma_match()
/external/toybox/toys/pending/
Dxzcat.c1346 uint16_t dist_slot[DIST_STATES][DIST_SLOTS]; member
1791 uint32_t dist_slot; in lzma_match() local
1802 probs = s->lzma.dist_slot[lzma_get_dist_state(s->lzma.len)]; in lzma_match()
1803 dist_slot = rc_bittree(&s->rc, probs, DIST_SLOTS) - DIST_SLOTS; in lzma_match()
1805 if (dist_slot < DIST_MODEL_START) { in lzma_match()
1806 s->lzma.rep0 = dist_slot; in lzma_match()
1808 limit = (dist_slot >> 1) - 1; in lzma_match()
1809 s->lzma.rep0 = 2 + (dist_slot & 1); in lzma_match()
1811 if (dist_slot < DIST_MODEL_END) { in lzma_match()
1814 - dist_slot - 1; in lzma_match()