Lines Matching refs:bk

706     for (int32_t bk=fBI->first(); bk != BreakIterator::DONE; bk=fBI->next()) {  in testForwards()  local
707 if (bk <= previousBreak) { in testForwards()
708 MONKEY_ERROR("Break Iterator Stall", bk); in testForwards()
711 if (bk < 0 || bk > fTestData->fString.length()) { in testForwards()
712 MONKEY_ERROR("Boundary out of bounds", bk); in testForwards()
715 fTestData->fActualBreaks.setCharAt(bk, 1); in testForwards()
728 int32_t bk = fBI->following(i); in testFollowing() local
729 if (bk == BreakIterator::DONE && i == fTestData->fString.length()) { in testFollowing()
732 if (bk == nextBreak && bk > i) { in testFollowing()
736 if (i == nextBreak && bk > nextBreak) { in testFollowing()
737 fTestData->fActualBreaks.setCharAt(bk, 1); in testFollowing()
738 nextBreak = bk; in testFollowing()
755 for (int32_t bk=fBI->last(); bk != BreakIterator::DONE; bk=fBI->previous()) { in testPrevious() local
756 if (bk >= previousBreak) { in testPrevious()
757 MONKEY_ERROR("Break Iterator Stall", bk); in testPrevious()
760 if (bk < 0 || bk > fTestData->fString.length()) { in testPrevious()
761 MONKEY_ERROR("Boundary out of bounds", bk); in testPrevious()
764 fTestData->fActualBreaks.setCharAt(bk, 1); in testPrevious()
778 int32_t bk = fBI->preceding(i); in testPreceding() local
780 if (bk == BreakIterator::DONE && i == 0) { in testPreceding()
783 if (bk == nextBreak && bk < i) { in testPreceding()
796 if (i == nextBreak && bk < nextBreak) { in testPreceding()
797 fTestData->fActualBreaks.setCharAt(bk, 1); in testPreceding()
798 nextBreak = bk; in testPreceding()