Home
last modified time | relevance | path

Searched refs:rangeIndex (Results 1 – 12 of 12) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/impl/
DUSerializedSet.java104 public final boolean getRange(int rangeIndex, int[] range) { in getRange() argument
105 if( rangeIndex<0) { in getRange()
114 rangeIndex*=2; /* address start/limit pairs */ in getRange()
115 if(rangeIndex<bmpLength) { in getRange()
116 range[0]=array[rangeIndex++]; in getRange()
117 if(rangeIndex<bmpLength) { in getRange()
118 range[1]=array[rangeIndex]-1; in getRange()
119 } else if(rangeIndex<length) { in getRange()
120 range[1]=((((int)array[rangeIndex])<<16)|array[rangeIndex+1])-1; in getRange()
126 rangeIndex-=bmpLength; in getRange()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DUSerializedSet.java102 public final boolean getRange(int rangeIndex, int[] range) { in getRange() argument
103 if( rangeIndex<0) { in getRange()
112 rangeIndex*=2; /* address start/limit pairs */ in getRange()
113 if(rangeIndex<bmpLength) { in getRange()
114 range[0]=array[rangeIndex++]; in getRange()
115 if(rangeIndex<bmpLength) { in getRange()
116 range[1]=array[rangeIndex]-1; in getRange()
117 } else if(rangeIndex<length) { in getRange()
118 range[1]=((((int)array[rangeIndex])<<16)|array[rangeIndex+1])-1; in getRange()
124 rangeIndex-=bmpLength; in getRange()
[all …]
/external/icu/icu4c/source/common/
Duset.cpp477 uset_getSerializedRange(const USerializedSet* set, int32_t rangeIndex, in uset_getSerializedRange() argument
482 if(set==NULL || rangeIndex<0 || pStart==NULL || pEnd==NULL) { in uset_getSerializedRange()
490 rangeIndex*=2; /* address start/limit pairs */ in uset_getSerializedRange()
491 if(rangeIndex<bmpLength) { in uset_getSerializedRange()
492 *pStart=array[rangeIndex++]; in uset_getSerializedRange()
493 if(rangeIndex<bmpLength) { in uset_getSerializedRange()
494 *pEnd=array[rangeIndex]-1; in uset_getSerializedRange()
495 } else if(rangeIndex<length) { in uset_getSerializedRange()
496 *pEnd=((((int32_t)array[rangeIndex])<<16)|array[rangeIndex+1])-1; in uset_getSerializedRange()
502 rangeIndex-=bmpLength; in uset_getSerializedRange()
[all …]
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationWeights.java124 rangeIndex = 0; in allocWeights()
139 if(rangeIndex >= rangeCount) { in nextWeight()
143 WeightRange range = ranges[rangeIndex]; in nextWeight()
147 ++rangeIndex; in nextWeight()
557 private int rangeIndex; field in CollationWeights
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DCollationWeights.java126 rangeIndex = 0; in allocWeights()
141 if(rangeIndex >= rangeCount) { in nextWeight()
145 WeightRange range = ranges[rangeIndex]; in nextWeight()
149 ++rangeIndex; in nextWeight()
559 private int rangeIndex; field in CollationWeights
/external/icu/icu4c/source/i18n/
Dcollationweights.cpp99 : middleLength(0), rangeIndex(0), rangeCount(0) { in CollationWeights()
543 rangeIndex = 0; in allocWeights()
549 if(rangeIndex >= rangeCount) { in nextWeight()
553 WeightRange &range = ranges[rangeIndex]; in nextWeight()
557 ++rangeIndex; in nextWeight()
Dcollationweights.h106 int32_t rangeIndex; variable
/external/clang/test/Rewriter/
Dobjc-modern-StretAPI-2.mm16 - (NSRange)rangeAtIndex:(NSUInteger)rangeIndex;
/external/icu/icu4c/source/tools/gennorm2/
Dn2builder.cpp74 HangulIterator() : rangeIndex(0) {} in HangulIterator()
76 if(rangeIndex<UPRV_LENGTHOF(ranges)) { in nextRange()
77 return ranges+rangeIndex++; in nextRange()
84 int32_t rangeIndex; member in HangulIterator
/external/icu/icu4c/source/common/unicode/
Duset.h1131 uset_getSerializedRange(const USerializedSet* set, int32_t rangeIndex,
/external/icu/libandroidicu/include/unicode/
Duset.h1131 uset_getSerializedRange(const USerializedSet* set, int32_t rangeIndex,
/external/icu/libandroidicu/static_shim/
Dshim.cpp2646 UBool uset_getSerializedRange_android(const USerializedSet * set, int32_t rangeIndex, UChar32 * pSt… in uset_getSerializedRange_android() argument
2647 return uset_getSerializedRange(set, rangeIndex, pStart, pEnd); in uset_getSerializedRange_android()