Lines Matching refs:RuleBasedBreakIterator
52 if (exec) logln("TestSuite RuleBasedBreakIterator: ");
387 RuleBasedBreakIterator *bi = new RuleBasedBreakIterator(rulesString1, parseError, status);
489 RuleBasedBreakIterator* e = (RuleBasedBreakIterator *)BreakIterator::createLineInstance(
534 RuleBasedBreakIterator* e = (RuleBasedBreakIterator *)BreakIterator::createLineInstance(Locale("th"), status);
565 RuleBasedBreakIterator* e = (RuleBasedBreakIterator *)BreakIterator::createLineInstance(
587 RuleBasedBreakIterator* bi =
588 (RuleBasedBreakIterator *)BreakIterator::createWordInstance(Locale("th"), status);
621 RuleBasedBreakIterator* e = (RuleBasedBreakIterator *)BreakIterator::createWordInstance(
859 void RBBITest::generalIteratorTest(RuleBasedBreakIterator& bi, BITestData &td)
879 void RBBITest::testFirstAndNext(RuleBasedBreakIterator& bi, BITestData &td)
890 for (p=bi.first(); p!=RuleBasedBreakIterator::DONE; p=bi.next()) {
908 void RBBITest::testLastAndPrevious(RuleBasedBreakIterator& bi, BITestData &td)
919 for (p=bi.last(); p!=RuleBasedBreakIterator::DONE; p=bi.previous()) {
938 void RBBITest::testFollowing(RuleBasedBreakIterator& bi, BITestData &td)
960 if (p == RuleBasedBreakIterator::DONE) {
983 void RBBITest::testPreceding(RuleBasedBreakIterator& bi, BITestData &td) {
1002 if (p == RuleBasedBreakIterator::DONE) {
1025 void RBBITest::testIsBoundary(RuleBasedBreakIterator& bi, BITestData &td) {
1046 void RBBITest::doMultipleSelectionTest(RuleBasedBreakIterator& iterator, BITestData &td)
1050 RuleBasedBreakIterator* testIterator =(RuleBasedBreakIterator*)iterator.clone();
1066 if (offset != RuleBasedBreakIterator::DONE) {
1070 if (offset != RuleBasedBreakIterator::DONE && *testIterator == iterator) {
1075 errln("Does (RuleBasedBreakIterator::DONE == -1)?");
1081 } while (offset != RuleBasedBreakIterator::DONE);
1093 if (offset != RuleBasedBreakIterator::DONE) {
1097 } while (offset != RuleBasedBreakIterator::DONE);
1115 RuleBasedBreakIterator* bi = (RuleBasedBreakIterator *)BreakIterator::createLineInstance(Locale::getDefault(), status);
1380 int32_t rs = ((RuleBasedBreakIterator *)t->bi)->getRuleStatus();
1433 int32_t rs = ((RuleBasedBreakIterator *)t->bi)->getRuleStatus();
2018 RuleBasedBreakIterator bi(rules, parseError, status);
2026 if (position == RuleBasedBreakIterator::DONE) {
2032 dataerrln("Error creating RuleBasedBreakIterator: %s", u_errorName(status));
2164 RuleBasedBreakIterator *bi;
2167 bi = (RuleBasedBreakIterator *)BreakIterator::createCharacterInstance(Locale::getEnglish(), status);
2174 bi = (RuleBasedBreakIterator *)BreakIterator::createWordInstance(Locale::getEnglish(), status);
2181 bi = (RuleBasedBreakIterator *)BreakIterator::createSentenceInstance(Locale::getEnglish(), status);
2188 bi = (RuleBasedBreakIterator *)BreakIterator::createLineInstance(Locale::getEnglish(), status);
2202 void RBBITest::runUnicodeTestData(const char *fileName, RuleBasedBreakIterator *bi) {
2347 RuleBasedBreakIterator *bi) {
4774 RuleBasedBreakIterator* bi =
4775 // (RuleBasedBreakIterator *)BreakIterator::createLineInstance(Locale::getDefault(), status);
4776 // (RuleBasedBreakIterator *)BreakIterator::createWordInstance(Locale::Locale("th"), status);
4777 (RuleBasedBreakIterator *)BreakIterator::createSentenceInstance(Locale::getDefault(), status);