Searched refs:rangeIndex (Results 1 – 10 of 10) sorted by relevance
101 public final boolean getRange(int rangeIndex, int[] range) { in getRange() argument102 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 …]
475 uset_getSerializedRange(const USerializedSet* set, int32_t rangeIndex, in uset_getSerializedRange() argument480 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 …]
78 le_int32 rangeIndex = in getGlyphCoverage() local81 if (rangeIndex < 0) { in getGlyphCoverage()85 TTGlyphID firstInRange = SWAPW(rangeRecordArray[rangeIndex].firstGlyph); in getGlyphCoverage()86 le_uint16 startCoverageIndex = SWAPW(rangeRecordArray[rangeIndex].rangeValue); in getGlyphCoverage()
106 le_int32 rangeIndex = in getGlyphClass() local109 if (rangeIndex < 0 || LE_FAILURE(success)) { in getGlyphClass()113 return SWAPW(classRangeRecordArrayRef(rangeIndex, success).rangeValue); in getGlyphClass()
122 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
97 : 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()
104 int32_t rangeIndex; variable
16 - (NSRange)rangeAtIndex:(NSUInteger)rangeIndex;
71 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
1123 uset_getSerializedRange(const USerializedSet* set, int32_t rangeIndex,