Lines Matching refs:RuleBasedBreakIterator
337 BreakIterator *bi = new RuleBasedBreakIterator(rulesString1, parseError, status); in TestStatusReturn()
447 void RBBITest::generalIteratorTest(RuleBasedBreakIterator& bi, BITestData &td) in generalIteratorTest()
467 void RBBITest::testFirstAndNext(RuleBasedBreakIterator& bi, BITestData &td) in testFirstAndNext()
478 for (p=bi.first(); p!=RuleBasedBreakIterator::DONE; p=bi.next()) { in testFirstAndNext()
496 void RBBITest::testLastAndPrevious(RuleBasedBreakIterator& bi, BITestData &td) in testLastAndPrevious()
507 for (p=bi.last(); p!=RuleBasedBreakIterator::DONE; p=bi.previous()) { in testLastAndPrevious()
526 void RBBITest::testFollowing(RuleBasedBreakIterator& bi, BITestData &td) in testFollowing()
548 if (p == RuleBasedBreakIterator::DONE) { in testFollowing()
571 void RBBITest::testPreceding(RuleBasedBreakIterator& bi, BITestData &td) { in testPreceding()
590 if (p == RuleBasedBreakIterator::DONE) { in testPreceding()
613 void RBBITest::testIsBoundary(RuleBasedBreakIterator& bi, BITestData &td) { in testIsBoundary()
634 void RBBITest::doMultipleSelectionTest(RuleBasedBreakIterator& iterator, BITestData &td) in doMultipleSelectionTest()
638 RuleBasedBreakIterator* testIterator =(RuleBasedBreakIterator*)iterator.clone(); in doMultipleSelectionTest()
654 if (offset != RuleBasedBreakIterator::DONE) { in doMultipleSelectionTest()
658 if (offset != RuleBasedBreakIterator::DONE && *testIterator == iterator) { in doMultipleSelectionTest()
669 } while (offset != RuleBasedBreakIterator::DONE); in doMultipleSelectionTest()
681 if (offset != RuleBasedBreakIterator::DONE) { in doMultipleSelectionTest()
685 } while (offset != RuleBasedBreakIterator::DONE); in doMultipleSelectionTest()
703 …RuleBasedBreakIterator* bi = (RuleBasedBreakIterator *)BreakIterator::createLineInstance(Locale::g… in TestEmptyString()
1047 int32_t rs = ((RuleBasedBreakIterator *)t->bi)->getRuleStatus(); in executeTest()
1558 RuleBasedBreakIterator bi(rules, parseError, status); in TestDictRules()
1566 if (position == RuleBasedBreakIterator::DONE) { in TestDictRules()
1704 RuleBasedBreakIterator *bi; in TestUnicodeFiles()
1707 …bi = (RuleBasedBreakIterator *)BreakIterator::createCharacterInstance(Locale::getEnglish(), statu… in TestUnicodeFiles()
1714 bi = (RuleBasedBreakIterator *)BreakIterator::createWordInstance(Locale::getEnglish(), status); in TestUnicodeFiles()
1721 …bi = (RuleBasedBreakIterator *)BreakIterator::createSentenceInstance(Locale::getEnglish(), status… in TestUnicodeFiles()
1728 bi = (RuleBasedBreakIterator *)BreakIterator::createLineInstance(Locale::getEnglish(), status); in TestUnicodeFiles()
1768 void RBBITest::runUnicodeTestData(const char *fileName, RuleBasedBreakIterator *bi) { in runUnicodeTestData()
1905 RuleBasedBreakIterator *bi) { in checkUnicodeTestCase()
4451 LocalPointer<RuleBasedBreakIterator> brkiter(static_cast<RuleBasedBreakIterator *>( in TestBug9983()
4454 LocalPointer<RuleBasedBreakIterator> brkiterPOSIX(static_cast<RuleBasedBreakIterator *>( in TestBug9983()
4501 RuleBasedBreakIterator* bi = in TestDebug()
4504 … (RuleBasedBreakIterator *)BreakIterator::createSentenceInstance(Locale::getDefault(), status); in TestDebug()