Searched refs:WeightRange (Results 1 – 4 of 4) sorted by relevance
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
D | CollationWeights.java | 143 WeightRange range = ranges[rangeIndex]; in nextWeight() 159 private static final class WeightRange implements Comparable<WeightRange> { class in CollationWeights 164 public int compareTo(WeightRange other) { in compareTo() 274 private void lengthenRange(WeightRange range) { in lengthenRange() 314 …WeightRange[] lower = new WeightRange[5]; /* [0] and [1] are not used - this simplifies indexing */ in getWeightRanges() 315 WeightRange middle = new WeightRange(); in getWeightRanges() 316 WeightRange[] upper = new WeightRange[5]; in getWeightRanges() 336 lower[length] = new WeightRange(); in getWeightRanges() 356 upper[length] = new WeightRange(); in getWeightRanges() 541 ranges[1] = new WeightRange(); in allocWeightsInMinLengthRanges() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/ |
D | CollationWeights.java | 145 WeightRange range = ranges[rangeIndex]; in nextWeight() 161 private static final class WeightRange implements Comparable<WeightRange> { class in CollationWeights 166 public int compareTo(WeightRange other) { in compareTo() 276 private void lengthenRange(WeightRange range) { in lengthenRange() 316 …WeightRange[] lower = new WeightRange[5]; /* [0] and [1] are not used - this simplifies indexing */ in getWeightRanges() 317 WeightRange middle = new WeightRange(); in getWeightRanges() 318 WeightRange[] upper = new WeightRange[5]; in getWeightRanges() 338 lower[length] = new WeightRange(); in getWeightRanges() 358 upper[length] = new WeightRange(); in getWeightRanges() 543 ranges[1] = new WeightRange(); in allocWeightsInMinLengthRanges() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | collationweights.h | 79 struct WeightRange { struct 92 void lengthenRange(WeightRange &range) const; argument 105 WeightRange ranges[7];
|
D | collationweights.cpp | 186 CollationWeights::lengthenRange(WeightRange &range) const { in lengthenRange() 199 l=((const CollationWeights::WeightRange *)left)->start; in compareRanges() 200 r=((const CollationWeights::WeightRange *)right)->start; in compareRanges() 244 … WeightRange lower[5], middle, upper[5]; /* [0] and [1] are not used - this simplifies indexing */ in getWeightRanges() 374 uprv_memcpy(ranges, &middle, sizeof(WeightRange)); in getWeightRanges() 380 uprv_memcpy(ranges+rangeCount, upper+length, sizeof(WeightRange)); in getWeightRanges() 384 uprv_memcpy(ranges+rangeCount, lower+length, sizeof(WeightRange)); in getWeightRanges() 411 uprv_sortArray(ranges, rangeCount, sizeof(WeightRange), in allocWeightsInShortRanges() 553 WeightRange &range = ranges[rangeIndex]; in nextWeight()
|