Lines Matching refs:leftIndex

121     int32_t leftIndex = 0, rightIndex = 0;  in compareUTF16()  local
131 if(leftIndex == leftLength) { in compareUTF16()
135 UChar32 c = left[leftIndex++]; in compareUTF16()
155 leftPair = nextPair(table, c, leftPair, left, NULL, leftIndex, leftLength); in compareUTF16()
214 leftIndex = rightIndex = 0; in compareUTF16()
218 if(leftIndex == leftLength) { in compareUTF16()
222 UChar32 c = left[leftIndex++]; in compareUTF16()
237 leftPair = nextPair(table, c, leftPair, left, NULL, leftIndex, leftLength); in compareUTF16()
290 leftIndex = rightIndex = 0; in compareUTF16()
294 if(leftIndex == leftLength) { in compareUTF16()
298 UChar32 c = left[leftIndex++]; in compareUTF16()
301 leftPair = nextPair(table, c, leftPair, left, NULL, leftIndex, leftLength); in compareUTF16()
343 leftIndex = rightIndex = 0; in compareUTF16()
347 if(leftIndex == leftLength) { in compareUTF16()
351 UChar32 c = left[leftIndex++]; in compareUTF16()
354 leftPair = nextPair(table, c, leftPair, left, NULL, leftIndex, leftLength); in compareUTF16()
399 leftIndex = rightIndex = 0; in compareUTF16()
403 if(leftIndex == leftLength) { in compareUTF16()
407 UChar32 c = left[leftIndex++]; in compareUTF16()
410 leftPair = nextPair(table, c, leftPair, left, NULL, leftIndex, leftLength); in compareUTF16()
457 int32_t leftIndex = 0, rightIndex = 0; in compareUTF8() local
470 if(leftIndex == leftLength) { in compareUTF8()
474 UChar32 c = left[leftIndex++]; in compareUTF8()
483 } else if(c <= LATIN_MAX_UTF8_LEAD && 0xc2 <= c && leftIndex != leftLength && in compareUTF8()
484 0x80 <= (t = left[leftIndex]) && t <= 0xbf) { in compareUTF8()
485 ++leftIndex; in compareUTF8()
491 leftPair = lookupUTF8(table, c, left, leftIndex, leftLength); in compareUTF8()
500 leftPair = nextPair(table, c, leftPair, NULL, left, leftIndex, leftLength); in compareUTF8()
565 leftIndex = rightIndex = 0; in compareUTF8()
569 if(leftIndex == leftLength) { in compareUTF8()
573 UChar32 c = left[leftIndex++]; in compareUTF8()
577 leftPair = table[((c - 0xc2) << 6) + left[leftIndex++]]; in compareUTF8()
579 leftPair = lookupUTF8Unsafe(table, c, left, leftIndex); in compareUTF8()
588 leftPair = nextPair(table, c, leftPair, NULL, left, leftIndex, leftLength); in compareUTF8()
641 leftIndex = rightIndex = 0; in compareUTF8()
645 if(leftIndex == leftLength) { in compareUTF8()
649 UChar32 c = left[leftIndex++]; in compareUTF8()
650 leftPair = (c <= 0x7f) ? table[c] : lookupUTF8Unsafe(table, c, left, leftIndex); in compareUTF8()
652 leftPair = nextPair(table, c, leftPair, NULL, left, leftIndex, leftLength); in compareUTF8()
694 leftIndex = rightIndex = 0; in compareUTF8()
698 if(leftIndex == leftLength) { in compareUTF8()
702 UChar32 c = left[leftIndex++]; in compareUTF8()
703 leftPair = (c <= 0x7f) ? table[c] : lookupUTF8Unsafe(table, c, left, leftIndex); in compareUTF8()
705 leftPair = nextPair(table, c, leftPair, NULL, left, leftIndex, leftLength); in compareUTF8()
750 leftIndex = rightIndex = 0; in compareUTF8()
754 if(leftIndex == leftLength) { in compareUTF8()
758 UChar32 c = left[leftIndex++]; in compareUTF8()
759 leftPair = (c <= 0x7f) ? table[c] : lookupUTF8Unsafe(table, c, left, leftIndex); in compareUTF8()
761 leftPair = nextPair(table, c, leftPair, NULL, left, leftIndex, leftLength); in compareUTF8()