Lines Matching defs:range
64 uint32_t range, low;
286 c->range = 0xFFFFFFFF;
293 c->range <<= 8;
301 if (c->range >= RAC_BOTTOM)
310 c->range >>= 1;
312 bit = (c->range <= c->low);
314 c->low -= c->range;
316 if (c->range < RAC_BOTTOM)
326 c->range >>= nbits;
327 val = c->low / c->range;
328 c->low -= c->range * val;
330 if (c->range < RAC_BOTTOM)
340 helper = m->zero_freq * (c->range >> MODEL2_SCALE);
344 c->range -= helper;
346 c->range = helper;
349 if (c->range < RAC_BOTTOM)
363 prob2 = c->range;
364 c->range >>= MODEL_SCALE;
369 helper = m->freqs[end] * c->range;
380 c->range = prob2 - prob;
381 if (c->range < RAC_BOTTOM)
395 prob2 = c->range;
396 c->range >>= MODEL_SCALE;
398 helper = c->low / c->range;
413 prob = m->freqs[val] * c->range;
415 prob2 = m->freqs[val + 1] * c->range;
418 c->range = prob2 - prob;
419 if (c->range < RAC_BOTTOM)