Lines Matching refs:rangeIndex
475 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()
501 rangeIndex*=2; /* address pairs of pairs of units */ in uset_getSerializedRange()
503 if(rangeIndex<length) { in uset_getSerializedRange()
505 *pStart=(((int32_t)array[rangeIndex])<<16)|array[rangeIndex+1]; in uset_getSerializedRange()
506 rangeIndex+=2; in uset_getSerializedRange()
507 if(rangeIndex<length) { in uset_getSerializedRange()
508 *pEnd=((((int32_t)array[rangeIndex])<<16)|array[rangeIndex+1])-1; in uset_getSerializedRange()