Lines Matching refs:nextIdx
598 int32_t nextIdx = modChunkSize(fEndBufIdx + 1); in addFollowing() local
599 if (nextIdx == fStartBufIdx) { in addFollowing()
602 fBoundaries[nextIdx] = position; in addFollowing()
603 fStatuses[nextIdx] = static_cast<uint16_t>(ruleStatusIdx); in addFollowing()
604 fEndBufIdx = nextIdx; in addFollowing()
607 fBufIdx = nextIdx; in addFollowing()
613 U_ASSERT(nextIdx != fBufIdx); in addFollowing()
620 int32_t nextIdx = modChunkSize(fStartBufIdx - 1); in addPreceding() local
621 if (nextIdx == fEndBufIdx) { in addPreceding()
630 fBoundaries[nextIdx] = position; in addPreceding()
631 fStatuses[nextIdx] = static_cast<uint16_t>(ruleStatusIdx); in addPreceding()
632 fStartBufIdx = nextIdx; in addPreceding()
634 fBufIdx = nextIdx; in addPreceding()