Home
last modified time | relevance | path

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

/external/lzma/xz-embedded/
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.c1352 uint16_t dist_slot[DIST_STATES][DIST_SLOTS]; member
1797 uint32_t dist_slot; in lzma_match() local
1808 probs = s->lzma.dist_slot[lzma_get_dist_state(s->lzma.len)]; in lzma_match()
1809 dist_slot = rc_bittree(&s->rc, probs, DIST_SLOTS) - DIST_SLOTS; in lzma_match()
1811 if (dist_slot < DIST_MODEL_START) { in lzma_match()
1812 s->lzma.rep0 = dist_slot; in lzma_match()
1814 limit = (dist_slot >> 1) - 1; in lzma_match()
1815 s->lzma.rep0 = 2 + (dist_slot & 1); in lzma_match()
1817 if (dist_slot < DIST_MODEL_END) { in lzma_match()
1820 - dist_slot - 1; in lzma_match()