Lines Matching refs:index

277         // ab deletions meet bc insertions at the same intermediate-string index.
401 array(a), index(0), length(len), remaining(0),
410 U_ASSERT(index < length);
411 U_ASSERT(array[index] >= 0x8000);
412 return array[index++] & 0x7fff;
414 U_ASSERT((index + 2) <= length);
415 U_ASSERT(array[index] >= 0x8000);
416 U_ASSERT(array[index + 1] >= 0x8000);
418 ((int32_t)(array[index] & 0x7fff) << 15) |
419 (array[index + 1] & 0x7fff);
420 index += 2;
452 // Leaves the array index one after the last unit of that span.
465 ++index; // next() rests on the index after the sequence unit.
480 if (index >= length) {
483 int32_t u = array[index++];
488 while (index < length && (u = array[index]) <= MAX_UNCHANGED) {
489 ++index;
495 if (index >= length) {
498 // already fetched u > MAX_UNCHANGED at index
499 ++index;
530 while (index < length && (u = array[index]) > MAX_UNCHANGED) {
531 ++index;
548 // Leaves the array index on the head unit of that span.
560 --index; // previous() rests on the sequence unit.
570 int32_t u = array[index];
579 if (index <= 0) {
582 int32_t u = array[--index];
587 while (index > 0 && (u = array[index - 1]) <= MAX_UNCHANGED) {
588 --index;
621 // and reset the index to the head again.
622 U_ASSERT(index > 0);
623 while ((u = array[--index]) > 0x7fff) {}
625 int32_t headIndex = index++;
628 index = headIndex;
636 while (index > 0 && (u = array[index - 1]) > MAX_UNCHANGED) {
637 --index;
643 // Read the lengths, and reset the index to the head again.
644 int32_t headIndex = index++;
647 index = headIndex;
657 if (findSource) { // find source index
660 } else { // find destination index
673 // The index is in the current span.
677 // Is the index in one of the remaining compressed edits?
680 int32_t u = array[index];
703 index = remaining = oldLength_ = newLength_ = srcIndex = replIndex = destIndex = 0;
705 // The index is in the current span.
717 // The index is in the current span.
721 // Is the index in one of the remaining compressed edits?