Lines Matching refs:Range
12 public uint Range;
33 Range = 0xFFFFFFFF;
56 Low += start * (Range /= total);
57 Range *= size;
58 while (Range < kTopValue)
60 Range <<= 8;
86 Range >>= 1;
88 Low += Range;
89 if (Range < kTopValue)
91 Range <<= 8;
99 uint newBound = (Range >> numTotalBits) * size0;
101 Range = newBound;
105 Range -= newBound;
107 while (Range < kTopValue)
109 Range <<= 8;
125 public uint Range;
136 Range = 0xFFFFFFFF;
154 while (Range < kTopValue)
157 Range <<= 8;
163 if (Range < kTopValue)
166 Range <<= 8;
172 return Code / (Range /= total);
177 Code -= start * Range;
178 Range *= size;
184 uint range = Range;
189 range >>= 1;
192 if (code >= range)
194 code -= range;
198 uint t = (code - range) >> 31;
199 code -= range & (t - 1);
202 if (range < kTopValue)
205 range <<= 8;
208 Range = range;
215 uint newBound = (Range >> numTotalBits) * size0;
220 Range = newBound;
226 Range -= newBound;