Lines Matching defs:range
7 *Based on small lzma deflate implementation/Small range coder
57 /* Small range coder implementation for lzma.
75 uint32_t range;
115 rc->range = 0xFFFFFFFF;
141 rc->range <<= 8;
146 if (rc->range < (1 << RC_TOP_BITS))
157 rc->bound = *p * (rc->range >> RC_MODEL_TOTAL_BITS);
169 rc->range = rc->bound;
174 rc->range -= rc->bound;
197 rc->range >>= 1;
198 if (rc->code >= rc->range) {
199 rc->code -= rc->range;