Lines Matching refs:minLength
392 CollationWeights::allocWeightsInShortRanges(int32_t n, int32_t minLength) { in allocWeightsInShortRanges() argument
394 for(int32_t i = 0; i < rangeCount && ranges[i].length <= (minLength + 1); ++i) { in allocWeightsInShortRanges()
397 if(ranges[i].length > minLength) { in allocWeightsInShortRanges()
423 CollationWeights::allocWeightsInMinLengthRanges(int32_t n, int32_t minLength) { in allocWeightsInMinLengthRanges() argument
430 ranges[minLengthRangeCount].length == minLength; in allocWeightsInMinLengthRanges()
435 int32_t nextCountBytes = countBytes(minLength + 1); in allocWeightsInMinLengthRanges()
478 ranges[0].end = incWeightByOffset(start, minLength, count1 - 1); in allocWeightsInMinLengthRanges()
481 ranges[1].start = incWeight(ranges[0].end, minLength); in allocWeightsInMinLengthRanges()
483 ranges[1].length = minLength; // +1 when lengthened in allocWeightsInMinLengthRanges()
512 int32_t minLength=ranges[0].length; in allocWeights() local
514 if(allocWeightsInShortRanges(n, minLength)) { break; } in allocWeights()
516 if(minLength == 4) { in allocWeights()
524 if(allocWeightsInMinLengthRanges(n, minLength)) { break; } in allocWeights()
528 … printf("lengthen the short ranges from %ld bytes to %ld and iterate\n", minLength, minLength+1); in allocWeights()
530 for(int32_t i=0; i<rangeCount && ranges[i].length==minLength; ++i) { in allocWeights()