Lines Matching refs:bk
690 for (int32_t bk=fBI->first(); bk != BreakIterator::DONE; bk=fBI->next()) {
691 if (bk <= previousBreak) {
692 MONKEY_ERROR("Break Iterator Stall", bk);
695 if (bk < 0 || bk > fTestData->fString.length()) {
696 MONKEY_ERROR("Boundary out of bounds", bk);
699 fTestData->fActualBreaks.setCharAt(bk, 1);
712 int32_t bk = fBI->following(i);
713 if (bk == BreakIterator::DONE && i == fTestData->fString.length()) {
716 if (bk == nextBreak && bk > i) {
720 if (i == nextBreak && bk > nextBreak) {
721 fTestData->fActualBreaks.setCharAt(bk, 1);
722 nextBreak = bk;
739 for (int32_t bk=fBI->last(); bk != BreakIterator::DONE; bk=fBI->previous()) {
740 if (bk >= previousBreak) {
741 MONKEY_ERROR("Break Iterator Stall", bk);
744 if (bk < 0 || bk > fTestData->fString.length()) {
745 MONKEY_ERROR("Boundary out of bounds", bk);
748 fTestData->fActualBreaks.setCharAt(bk, 1);
762 int32_t bk = fBI->preceding(i);
763 // printf("i:%d bk:%d nextBreak:%d\n", i, bk, nextBreak);
764 if (bk == BreakIterator::DONE && i == 0) {
767 if (bk == nextBreak && bk < i) {
780 if (i == nextBreak && bk < nextBreak) {
781 fTestData->fActualBreaks.setCharAt(bk, 1);
782 nextBreak = bk;