Lines Matching refs:rangeCount
97 : middleLength(0), rangeIndex(0), rangeCount(0) { in CollationWeights()
345 rangeCount=0; in getWeightRanges()
348 rangeCount=1; in getWeightRanges()
353 uprv_memcpy(ranges+rangeCount, upper+length, sizeof(WeightRange)); in getWeightRanges()
354 ++rangeCount; in getWeightRanges()
357 uprv_memcpy(ranges+rangeCount, lower+length, sizeof(WeightRange)); in getWeightRanges()
358 ++rangeCount; in getWeightRanges()
361 return rangeCount>0; in getWeightRanges()
367 for(int32_t i = 0; i < rangeCount && ranges[i].length <= (minLength + 1); ++i) { in allocWeightsInShortRanges()
376 rangeCount = i + 1; in allocWeightsInShortRanges()
378 printf("take first %ld ranges\n", rangeCount); in allocWeightsInShortRanges()
381 if(rangeCount>1) { in allocWeightsInShortRanges()
384 uprv_sortArray(ranges, rangeCount, sizeof(WeightRange), in allocWeightsInShortRanges()
402 minLengthRangeCount < rangeCount && in allocWeightsInMinLengthRanges()
442 rangeCount = 1; in allocWeightsInMinLengthRanges()
447 splitRange, rangeCount, count1, count2); in allocWeightsInMinLengthRanges()
459 rangeCount = 2; in allocWeightsInMinLengthRanges()
510 for(int32_t i=0; i<rangeCount; ++i) { in allocWeights()
522 if(rangeIndex >= rangeCount) { in nextWeight()