Searched refs:WeightRange (Results 1 – 4 of 4) sorted by relevance
/external/icu/android_icu4j/src/main/java/android/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/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
D | CollationWeights.java | 141 WeightRange range = ranges[rangeIndex]; in nextWeight() 157 private static final class WeightRange implements Comparable<WeightRange> { class in CollationWeights 162 public int compareTo(WeightRange other) { in compareTo() 272 private void lengthenRange(WeightRange range) { in lengthenRange() 312 …WeightRange[] lower = new WeightRange[5]; /* [0] and [1] are not used - this simplifies indexing */ in getWeightRanges() 313 WeightRange middle = new WeightRange(); in getWeightRanges() 314 WeightRange[] upper = new WeightRange[5]; in getWeightRanges() 334 lower[length] = new WeightRange(); in getWeightRanges() 354 upper[length] = new WeightRange(); in getWeightRanges() 539 ranges[1] = new WeightRange(); in allocWeightsInMinLengthRanges() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | collationweights.h | 77 struct WeightRange { struct 90 void lengthenRange(WeightRange &range) const; argument 103 WeightRange ranges[7];
|
D | collationweights.cpp | 184 CollationWeights::lengthenRange(WeightRange &range) const { in lengthenRange() 197 l=((const CollationWeights::WeightRange *)left)->start; in compareRanges() 198 r=((const CollationWeights::WeightRange *)right)->start; in compareRanges() 242 … WeightRange lower[5], middle, upper[5]; /* [0] and [1] are not used - this simplifies indexing */ in getWeightRanges() 372 uprv_memcpy(ranges, &middle, sizeof(WeightRange)); in getWeightRanges() 378 uprv_memcpy(ranges+rangeCount, upper+length, sizeof(WeightRange)); in getWeightRanges() 382 uprv_memcpy(ranges+rangeCount, lower+length, sizeof(WeightRange)); in getWeightRanges() 409 uprv_sortArray(ranges, rangeCount, sizeof(WeightRange), in allocWeightsInShortRanges() 551 WeightRange &range = ranges[rangeIndex]; in nextWeight()
|