Lines Matching refs:rangeCount
99 : middleLength(0), rangeIndex(0), rangeCount(0) { in CollationWeights()
372 rangeCount=0; in getWeightRanges()
375 rangeCount=1; in getWeightRanges()
380 uprv_memcpy(ranges+rangeCount, upper+length, sizeof(WeightRange)); in getWeightRanges()
381 ++rangeCount; in getWeightRanges()
384 uprv_memcpy(ranges+rangeCount, lower+length, sizeof(WeightRange)); in getWeightRanges()
385 ++rangeCount; in getWeightRanges()
388 return rangeCount>0; in getWeightRanges()
394 for(int32_t i = 0; i < rangeCount && ranges[i].length <= (minLength + 1); ++i) { in allocWeightsInShortRanges()
403 rangeCount = i + 1; in allocWeightsInShortRanges()
405 printf("take first %ld ranges\n", rangeCount); in allocWeightsInShortRanges()
408 if(rangeCount>1) { in allocWeightsInShortRanges()
411 uprv_sortArray(ranges, rangeCount, sizeof(WeightRange), in allocWeightsInShortRanges()
429 minLengthRangeCount < rangeCount && in allocWeightsInMinLengthRanges()
469 rangeCount = 1; in allocWeightsInMinLengthRanges()
474 splitRange, rangeCount, count1, count2); in allocWeightsInMinLengthRanges()
486 rangeCount = 2; in allocWeightsInMinLengthRanges()
530 for(int32_t i=0; i<rangeCount && ranges[i].length==minLength; ++i) { in allocWeights()
537 for(int32_t i=0; i<rangeCount; ++i) { in allocWeights()
549 if(rangeIndex >= rangeCount) { in nextWeight()