Home
last modified time | relevance | path

Searched refs:middleLength (Results 1 – 5 of 5) sorted by relevance

/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationWeights.java28 middleLength=1; in initForPrimary()
46 middleLength=3; in initForSecondary()
59 middleLength=3; in initForTertiary()
297 assert(lowerLength>=middleLength); in getWeightRanges()
333 for(int length=lowerLength; length>middleLength; --length) { in getWeightRanges()
345 middle.start=incWeightTrail(weight, middleLength); in getWeightRanges()
353 for(int length=upperLength; length>middleLength; --length) { in getWeightRanges()
364 middle.end=decWeightTrail(weight, middleLength); in getWeightRanges()
367 middle.length=middleLength; in getWeightRanges()
369 middle.count=(int)((middle.end-middle.start)>>(8*(4-middleLength)))+1; in getWeightRanges()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DCollationWeights.java30 middleLength=1; in initForPrimary()
48 middleLength=3; in initForSecondary()
61 middleLength=3; in initForTertiary()
299 assert(lowerLength>=middleLength); in getWeightRanges()
335 for(int length=lowerLength; length>middleLength; --length) { in getWeightRanges()
347 middle.start=incWeightTrail(weight, middleLength); in getWeightRanges()
355 for(int length=upperLength; length>middleLength; --length) { in getWeightRanges()
366 middle.end=decWeightTrail(weight, middleLength); in getWeightRanges()
369 middle.length=middleLength; in getWeightRanges()
371 middle.count=(int)((middle.end-middle.start)>>(8*(4-middleLength)))+1; in getWeightRanges()
[all …]
/external/icu/icu4c/source/i18n/
Dcollationweights.cpp99 : middleLength(0), rangeIndex(0), rangeCount(0) { in CollationWeights()
107 middleLength=1; in initForPrimary()
126 middleLength=3; in initForSecondary()
140 middleLength=3; in initForTertiary()
223 U_ASSERT(lowerLength>=middleLength); in getWeightRanges()
264 for(int32_t length=lowerLength; length>middleLength; --length) { in getWeightRanges()
275 middle.start=incWeightTrail(weight, middleLength); in getWeightRanges()
283 for(int32_t length=upperLength; length>middleLength; --length) { in getWeightRanges()
293 middle.end=decWeightTrail(weight, middleLength); in getWeightRanges()
296 middle.length=middleLength; in getWeightRanges()
[all …]
Dcollationweights.h102 int32_t middleLength; variable
/external/icu/icu4c/source/tools/toolutil/
Dpackage.cpp974 int32_t idx, nameLength, middleLength; in findNextItem() local
993 middleLength=nameLength-findPrefixLength-findSuffixLength; in findNextItem()
1002 if(treeSep!=NULL && (treeSep-middle)<middleLength) { in findNextItem()