Home
last modified time | relevance | path

Searched refs:nextBreak (Results 1 – 4 of 4) sorted by relevance

/external/icu/icu4c/source/test/thaitest/
Dthaitest.cpp229 int32_t nextBreak = 0; in compareWordBreaks() local
235 nextBreak = breakIter->next(); in compareWordBreaks()
237 if (nextSpaceBreak == BreakIterator::DONE || nextBreak == BreakIterator::DONE) { in compareWordBreaks()
238 if (nextBreak != BreakIterator::DONE) { in compareWordBreaks()
247 while (nextSpaceBreak != nextBreak && in compareWordBreaks()
248 nextSpaceBreak != BreakIterator::DONE && nextBreak != BreakIterator::DONE) { in compareWordBreaks()
249 if (nextSpaceBreak < nextBreak) { in compareWordBreaks()
253 } else if (nextSpaceBreak > nextBreak) { in compareWordBreaks()
254 foundInvalidBreak(nextBreak); in compareWordBreaks()
256 nextBreak = breakIter->next(); in compareWordBreaks()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/
DRBBIMonkeyTest.java851 int nextBreak = -1; in testFollowing() local
857 if (bk == nextBreak && bk > i) { in testFollowing()
861 if (i == nextBreak && bk > nextBreak) { in testFollowing()
863 nextBreak = bk; in testFollowing()
908 int nextBreak = fTestData.fString.length()+1; in testPreceding() local
915 if (bk == nextBreak && bk < i) { in testPreceding()
928 if (i == nextBreak && bk < nextBreak) { in testPreceding()
930 nextBreak = bk; in testPreceding()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/
DRBBIMonkeyTest.java854 int nextBreak = -1; in testFollowing() local
860 if (bk == nextBreak && bk > i) { in testFollowing()
864 if (i == nextBreak && bk > nextBreak) { in testFollowing()
866 nextBreak = bk; in testFollowing()
911 int nextBreak = fTestData.fString.length()+1; in testPreceding() local
918 if (bk == nextBreak && bk < i) { in testPreceding()
931 if (i == nextBreak && bk < nextBreak) { in testPreceding()
933 nextBreak = bk; in testPreceding()
/external/icu/icu4c/source/test/intltest/
Drbbimonkeytest.cpp710 int32_t nextBreak = -1; in testFollowing() local
716 if (bk == nextBreak && bk > i) { in testFollowing()
720 if (i == nextBreak && bk > nextBreak) { in testFollowing()
722 nextBreak = bk; in testFollowing()
760 int32_t nextBreak = fTestData->fString.length()+1; in testPreceding() local
767 if (bk == nextBreak && bk < i) { in testPreceding()
780 if (i == nextBreak && bk < nextBreak) { in testPreceding()
782 nextBreak = bk; in testPreceding()