Home
last modified time | relevance | path

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

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DUSerializedSet.java101 public final boolean getRange(int rangeIndex, int[] range) { in getRange() argument
102 if( rangeIndex<0) { in getRange()
111 rangeIndex*=2; /* address start/limit pairs */ in getRange()
112 if(rangeIndex<bmpLength) { in getRange()
113 range[0]=array[rangeIndex++]; in getRange()
114 if(rangeIndex<bmpLength) { in getRange()
115 range[1]=array[rangeIndex]-1; in getRange()
116 } else if(rangeIndex<length) { in getRange()
117 range[1]=((((int)array[rangeIndex])<<16)|array[rangeIndex+1])-1; in getRange()
123 rangeIndex-=bmpLength; in getRange()
[all …]
/external/icu/icu4c/source/common/
Duset.cpp475 uset_getSerializedRange(const USerializedSet* set, int32_t rangeIndex, in uset_getSerializedRange() argument
480 if(set==NULL || rangeIndex<0 || pStart==NULL || pEnd==NULL) { in uset_getSerializedRange()
488 rangeIndex*=2; /* address start/limit pairs */ in uset_getSerializedRange()
489 if(rangeIndex<bmpLength) { in uset_getSerializedRange()
490 *pStart=array[rangeIndex++]; in uset_getSerializedRange()
491 if(rangeIndex<bmpLength) { in uset_getSerializedRange()
492 *pEnd=array[rangeIndex]-1; in uset_getSerializedRange()
493 } else if(rangeIndex<length) { in uset_getSerializedRange()
494 *pEnd=((((int32_t)array[rangeIndex])<<16)|array[rangeIndex+1])-1; in uset_getSerializedRange()
500 rangeIndex-=bmpLength; in uset_getSerializedRange()
[all …]
/external/icu/icu4c/source/layout/
DCoverageTables.cpp78 le_int32 rangeIndex = in getGlyphCoverage() local
81 if (rangeIndex < 0) { in getGlyphCoverage()
85 TTGlyphID firstInRange = SWAPW(rangeRecordArray[rangeIndex].firstGlyph); in getGlyphCoverage()
86 le_uint16 startCoverageIndex = SWAPW(rangeRecordArray[rangeIndex].rangeValue); in getGlyphCoverage()
DClassDefinitionTables.cpp106 le_int32 rangeIndex = in getGlyphClass() local
109 if (rangeIndex < 0 || LE_FAILURE(success)) { in getGlyphClass()
113 return SWAPW(classRangeRecordArrayRef(rangeIndex, success).rangeValue); in getGlyphClass()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationWeights.java122 rangeIndex = 0; in allocWeights()
137 if(rangeIndex >= rangeCount) { in nextWeight()
141 WeightRange range = ranges[rangeIndex]; in nextWeight()
145 ++rangeIndex; in nextWeight()
535 private int rangeIndex; field in CollationWeights
/external/icu/icu4c/source/i18n/
Dcollationweights.cpp97 : middleLength(0), rangeIndex(0), rangeCount(0) { in CollationWeights()
516 rangeIndex = 0; in allocWeights()
522 if(rangeIndex >= rangeCount) { in nextWeight()
526 WeightRange &range = ranges[rangeIndex]; in nextWeight()
530 ++rangeIndex; in nextWeight()
Dcollationweights.h104 int32_t rangeIndex; variable
/external/clang/test/Rewriter/
Dobjc-modern-StretAPI-2.mm16 - (NSRange)rangeAtIndex:(NSUInteger)rangeIndex;
/external/icu/icu4c/source/tools/gennorm2/
Dn2builder.cpp71 HangulIterator() : rangeIndex(0) {} in HangulIterator()
73 if(rangeIndex<UPRV_LENGTHOF(ranges)) { in nextRange()
74 return ranges+rangeIndex++; in nextRange()
79 void reset() { rangeIndex=0; } in reset()
82 int32_t rangeIndex; member in HangulIterator
/external/icu/icu4c/source/common/unicode/
Duset.h1123 uset_getSerializedRange(const USerializedSet* set, int32_t rangeIndex,