• Home
  • Raw
  • Download

Lines Matching refs:leftIndex

123     int32_t leftIndex = 0, rightIndex = 0;  in compareUTF16()  local
133 if(leftIndex == leftLength) { in compareUTF16()
137 UChar32 c = left[leftIndex++]; in compareUTF16()
157 leftPair = nextPair(table, c, leftPair, left, NULL, leftIndex, leftLength); in compareUTF16()
216 leftIndex = rightIndex = 0; in compareUTF16()
220 if(leftIndex == leftLength) { in compareUTF16()
224 UChar32 c = left[leftIndex++]; in compareUTF16()
239 leftPair = nextPair(table, c, leftPair, left, NULL, leftIndex, leftLength); in compareUTF16()
292 leftIndex = rightIndex = 0; in compareUTF16()
296 if(leftIndex == leftLength) { in compareUTF16()
300 UChar32 c = left[leftIndex++]; in compareUTF16()
303 leftPair = nextPair(table, c, leftPair, left, NULL, leftIndex, leftLength); in compareUTF16()
345 leftIndex = rightIndex = 0; in compareUTF16()
349 if(leftIndex == leftLength) { in compareUTF16()
353 UChar32 c = left[leftIndex++]; in compareUTF16()
356 leftPair = nextPair(table, c, leftPair, left, NULL, leftIndex, leftLength); in compareUTF16()
401 leftIndex = rightIndex = 0; in compareUTF16()
405 if(leftIndex == leftLength) { in compareUTF16()
409 UChar32 c = left[leftIndex++]; in compareUTF16()
412 leftPair = nextPair(table, c, leftPair, left, NULL, leftIndex, leftLength); in compareUTF16()
459 int32_t leftIndex = 0, rightIndex = 0; in compareUTF8() local
472 if(leftIndex == leftLength) { in compareUTF8()
476 UChar32 c = left[leftIndex++]; in compareUTF8()
485 } else if(c <= LATIN_MAX_UTF8_LEAD && 0xc2 <= c && leftIndex != leftLength && in compareUTF8()
486 0x80 <= (t = left[leftIndex]) && t <= 0xbf) { in compareUTF8()
487 ++leftIndex; in compareUTF8()
493 leftPair = lookupUTF8(table, c, left, leftIndex, leftLength); in compareUTF8()
502 leftPair = nextPair(table, c, leftPair, NULL, left, leftIndex, leftLength); in compareUTF8()
567 leftIndex = rightIndex = 0; in compareUTF8()
571 if(leftIndex == leftLength) { in compareUTF8()
575 UChar32 c = left[leftIndex++]; in compareUTF8()
579 leftPair = table[((c - 0xc2) << 6) + left[leftIndex++]]; in compareUTF8()
581 leftPair = lookupUTF8Unsafe(table, c, left, leftIndex); in compareUTF8()
590 leftPair = nextPair(table, c, leftPair, NULL, left, leftIndex, leftLength); in compareUTF8()
643 leftIndex = rightIndex = 0; in compareUTF8()
647 if(leftIndex == leftLength) { in compareUTF8()
651 UChar32 c = left[leftIndex++]; in compareUTF8()
652 leftPair = (c <= 0x7f) ? table[c] : lookupUTF8Unsafe(table, c, left, leftIndex); in compareUTF8()
654 leftPair = nextPair(table, c, leftPair, NULL, left, leftIndex, leftLength); in compareUTF8()
696 leftIndex = rightIndex = 0; in compareUTF8()
700 if(leftIndex == leftLength) { in compareUTF8()
704 UChar32 c = left[leftIndex++]; in compareUTF8()
705 leftPair = (c <= 0x7f) ? table[c] : lookupUTF8Unsafe(table, c, left, leftIndex); in compareUTF8()
707 leftPair = nextPair(table, c, leftPair, NULL, left, leftIndex, leftLength); in compareUTF8()
752 leftIndex = rightIndex = 0; in compareUTF8()
756 if(leftIndex == leftLength) { in compareUTF8()
760 UChar32 c = left[leftIndex++]; in compareUTF8()
761 leftPair = (c <= 0x7f) ? table[c] : lookupUTF8Unsafe(table, c, left, leftIndex); in compareUTF8()
763 leftPair = nextPair(table, c, leftPair, NULL, left, leftIndex, leftLength); in compareUTF8()