Lines Matching defs:range
186 CollationWeights::lengthenRange(WeightRange &range) const {
187 int32_t length=range.length+1;
188 range.start=setWeightTrail(range.start, length, minBytes[length]);
189 range.end=setWeightTrail(range.end, length, maxBytes[length]);
190 range.count*=countBytes(length);
191 range.length=length;
251 * range minimum length
278 // which would yield a middle range starting at 0.
279 middle.start=0xffffffff; // no middle range
295 /* set the middle range */
300 /* no middle range, eliminate overlaps */
328 // and the range-collecting code below will ignore this range.
378 /* copy upper first so that later the middle range is more likely the first one to use */
398 // Reduce the number of weights from the last minLength+1 range
446 // Calculate how to split the range between minLength (count1) and minLength+1 (count2).
465 // Make one long range.
471 // Split the range, lengthen the second part.
473 printf("split the range number %ld (out of %ld minLength ranges) by %ld:%ld\n",
511 /* get the smallest number of bytes in a range */
553 WeightRange &range = ranges[rangeIndex];
554 uint32_t weight = range.start;
555 if(--range.count == 0) {
556 /* this range is finished */
560 range.start = incWeight(weight, range.length);
561 U_ASSERT(range.start <= range.end);