Lines Matching refs:rightIndex
123 int32_t leftIndex = 0, rightIndex = 0; in compareUTF16() local
164 if(rightIndex == rightLength) { in compareUTF16()
168 UChar32 c = right[rightIndex++]; in compareUTF16()
188 rightPair = nextPair(table, c, rightPair, right, NULL, rightIndex, rightLength); in compareUTF16()
216 leftIndex = rightIndex = 0; in compareUTF16()
245 if(rightIndex == rightLength) { in compareUTF16()
249 UChar32 c = right[rightIndex++]; in compareUTF16()
264 rightPair = nextPair(table, c, rightPair, right, NULL, rightIndex, rightLength); in compareUTF16()
292 leftIndex = rightIndex = 0; in compareUTF16()
309 if(rightIndex == rightLength) { in compareUTF16()
313 UChar32 c = right[rightIndex++]; in compareUTF16()
316 rightPair = nextPair(table, c, rightPair, right, NULL, rightIndex, rightLength); in compareUTF16()
345 leftIndex = rightIndex = 0; in compareUTF16()
362 if(rightIndex == rightLength) { in compareUTF16()
366 UChar32 c = right[rightIndex++]; in compareUTF16()
369 rightPair = nextPair(table, c, rightPair, right, NULL, rightIndex, rightLength); in compareUTF16()
401 leftIndex = rightIndex = 0; in compareUTF16()
418 if(rightIndex == rightLength) { in compareUTF16()
422 UChar32 c = right[rightIndex++]; in compareUTF16()
425 rightPair = nextPair(table, c, rightPair, right, NULL, rightIndex, rightLength); in compareUTF16()
459 int32_t leftIndex = 0, rightIndex = 0; in compareUTF8() local
509 if(rightIndex == rightLength) { in compareUTF8()
513 UChar32 c = right[rightIndex++]; in compareUTF8()
522 } else if(c <= LATIN_MAX_UTF8_LEAD && 0xc2 <= c && rightIndex != rightLength && in compareUTF8()
523 0x80 <= (t = right[rightIndex]) && t <= 0xbf) { in compareUTF8()
524 ++rightIndex; in compareUTF8()
530 rightPair = lookupUTF8(table, c, right, rightIndex, rightLength); in compareUTF8()
539 rightPair = nextPair(table, c, rightPair, NULL, right, rightIndex, rightLength); in compareUTF8()
567 leftIndex = rightIndex = 0; in compareUTF8()
596 if(rightIndex == rightLength) { in compareUTF8()
600 UChar32 c = right[rightIndex++]; in compareUTF8()
604 rightPair = table[((c - 0xc2) << 6) + right[rightIndex++]]; in compareUTF8()
606 rightPair = lookupUTF8Unsafe(table, c, right, rightIndex); in compareUTF8()
615 rightPair = nextPair(table, c, rightPair, NULL, right, rightIndex, rightLength); in compareUTF8()
643 leftIndex = rightIndex = 0; in compareUTF8()
660 if(rightIndex == rightLength) { in compareUTF8()
664 UChar32 c = right[rightIndex++]; in compareUTF8()
665 rightPair = (c <= 0x7f) ? table[c] : lookupUTF8Unsafe(table, c, right, rightIndex); in compareUTF8()
667 rightPair = nextPair(table, c, rightPair, NULL, right, rightIndex, rightLength); in compareUTF8()
696 leftIndex = rightIndex = 0; in compareUTF8()
713 if(rightIndex == rightLength) { in compareUTF8()
717 UChar32 c = right[rightIndex++]; in compareUTF8()
718 rightPair = (c <= 0x7f) ? table[c] : lookupUTF8Unsafe(table, c, right, rightIndex); in compareUTF8()
720 rightPair = nextPair(table, c, rightPair, NULL, right, rightIndex, rightLength); in compareUTF8()
752 leftIndex = rightIndex = 0; in compareUTF8()
769 if(rightIndex == rightLength) { in compareUTF8()
773 UChar32 c = right[rightIndex++]; in compareUTF8()
774 rightPair = (c <= 0x7f) ? table[c] : lookupUTF8Unsafe(table, c, right, rightIndex); in compareUTF8()
776 rightPair = nextPair(table, c, rightPair, NULL, right, rightIndex, rightLength); in compareUTF8()