Home
last modified time | relevance | path

Searched refs:nextBreak (Results 1 – 5 of 5) 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.java857 int nextBreak = -1; in testFollowing() local
863 if (bk == nextBreak && bk > i) { in testFollowing()
867 if (i == nextBreak && bk > nextBreak) { in testFollowing()
869 nextBreak = bk; in testFollowing()
914 int nextBreak = fTestData.fString.length()+1; in testPreceding() local
921 if (bk == nextBreak && bk < i) { in testPreceding()
934 if (i == nextBreak && bk < nextBreak) { in testPreceding()
936 nextBreak = bk; in testPreceding()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/
DRBBIMonkeyTest.java860 int nextBreak = -1; in testFollowing() local
866 if (bk == nextBreak && bk > i) { in testFollowing()
870 if (i == nextBreak && bk > nextBreak) { in testFollowing()
872 nextBreak = bk; in testFollowing()
917 int nextBreak = fTestData.fString.length()+1; in testPreceding() local
924 if (bk == nextBreak && bk < i) { in testPreceding()
937 if (i == nextBreak && bk < nextBreak) { in testPreceding()
939 nextBreak = bk; in testPreceding()
/external/icu/icu4c/source/test/intltest/
Drbbimonkeytest.cpp726 int32_t nextBreak = -1; in testFollowing() local
732 if (bk == nextBreak && bk > i) { in testFollowing()
736 if (i == nextBreak && bk > nextBreak) { in testFollowing()
738 nextBreak = bk; in testFollowing()
776 int32_t nextBreak = fTestData->fString.length()+1; in testPreceding() local
783 if (bk == nextBreak && bk < i) { in testPreceding()
796 if (i == nextBreak && bk < nextBreak) { in testPreceding()
798 nextBreak = bk; in testPreceding()
/external/cldr/tools/java/org/unicode/cldr/util/
DTestUtilities.java482 for (int nextBreak = b.next(); nextBreak != BreakIterator.DONE; nextBreak = b.next()) { in testBreakIterator()
484 String piece = text.substring(lastBreak, nextBreak); in testBreakIterator()
488 lastBreak = nextBreak; in testBreakIterator()