Lines Matching full:range
110 lengthenRange(WeightRange *range, uint32_t maxByte, uint32_t countBytes) {
113 length=range->length2+1;
114 range->start=setWeightTrail(range->start, length, UCOL_BYTE_FIRST_TAILORED);
115 range->end=setWeightTrail(range->end, length, maxByte);
116 range->count2*=countBytes;
117 range->length2=length;
186 * range minimum length
224 /* set the middle range */
232 /* remove the middle range */
247 * it may result in a range with count>countBytes
286 /* copy upper first so that later the middle range is more likely the first one to use */
361 /* get the smallest number of bytes in a range */
384 /* easy case, just make this one range large enough by lengthening it once more, possibly split it */
389 /* calculate how to split the range between maxLength-1 (count1) and maxLength (count2) */
395 /* split the range */
397 printf("split the first range %ld:%ld\n", count1, count2);
402 /* lengthen the entire range to maxLength */
405 /* really split the range */
408 /* create a new range with the end and initial and current length of the old one */
414 /* set the end of the first range according to count1 */
434 /* set the start of the second range to immediately follow the end of the first one */
444 /* lengthen the second range to maxLength */
497 /* this range is finished, remove it and move the following ones up */