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