Lines Matching refs:BreakIterator
85 …RuleBasedBreakIterator *bix = (RuleBasedBreakIterator *)BreakIterator::createLineInstance(Locale::… in TestCloneEquals()
156 BreakIterator* a = BreakIterator::createWordInstance(Locale("hi"), status); in TestBoilerPlate()
157 BreakIterator* b = BreakIterator::createWordInstance(Locale("hi_IN"),status); in TestBoilerPlate()
167 BreakIterator* c = BreakIterator::createCharacterInstance(Locale("ja"),status); in TestBoilerPlate()
168 BreakIterator* d = BreakIterator::createCharacterInstance(Locale("root"),status); in TestBoilerPlate()
310 TEST_ASSERT(rb->following(11) == BreakIterator::DONE); in TestGetSetAdoptText()
450 if (i != BreakIterator::DONE) { in TestIteration()
465 if (i != BreakIterator::DONE) { in TestIteration()
514 if (i != BreakIterator::DONE) { in TestIteration()
538 if (i != BreakIterator::DONE) { in TestIteration()
580 if (i != BreakIterator::DONE) { in TestIteration()
667 BreakIterator *bi = BreakIterator::createWordInstance(Locale::getEnglish(), status); in TestRuleStatus()
678 for (pos = bi->first(); pos != BreakIterator::DONE; pos = bi->next(), i++) { in TestRuleStatus()
704 bi = BreakIterator::createLineInstance(Locale::getEnglish(), status); in TestRuleStatus()
882 BreakIterator* ja_word = BreakIterator::createWordInstance("ja_JP", status); in TestRegistration()
884 BreakIterator* ja_char = BreakIterator::createCharacterInstance("ja_JP", status); in TestRegistration()
885 BreakIterator* root_word = BreakIterator::createWordInstance("", status); in TestRegistration()
886 BreakIterator* root_char = BreakIterator::createCharacterInstance("", status); in TestRegistration()
899 URegistryKey key = BreakIterator::registerInstance(ja_word, "xx", UBRK_WORD, status); in TestRegistration()
909 BreakIterator* result = BreakIterator::createWordInstance("xx_XX", status); in TestRegistration()
921 BreakIterator* result = BreakIterator::createCharacterInstance("ja_JP", status); in TestRegistration()
933 BreakIterator* result = BreakIterator::createCharacterInstance("xx_XX", status); in TestRegistration()
945 StringEnumeration* avail = BreakIterator::getAvailableLocales(); in TestRegistration()
961 UBool unreg = BreakIterator::unregister(key, status); in TestRegistration()
968 BreakIterator* result = BreakIterator::createWordInstance("en_US", status); in TestRegistration()
969 BreakIterator* root = BreakIterator::createWordInstance("", status); in TestRegistration()
982 StringEnumeration* avail = BreakIterator::getAvailableLocales(); in TestRegistration()
1000 const Locale *avail = BreakIterator::getAvailableLocales(count); in TestRegistration()
1069 LocalPointer<BreakIterator> bi(BreakIterator::createLineInstance(Locale::getEnglish(), status)); in TestGetBinaryRules()
1127 …RuleBasedBreakIterator *bi = (RuleBasedBreakIterator *)BreakIterator::createLineInstance(Locale::g… in TestRefreshInputText()
1164 static void prtbrks(BreakIterator* brk, const UnicodeString &ustr, IntlTest &it) { in prtbrks()
1208 LocalPointer<BreakIterator> baseBI; in TestFilteredBreakIteratorBuilder()
1209 LocalPointer<BreakIterator> filteredBI; in TestFilteredBreakIteratorBuilder()
1210 LocalPointer<BreakIterator> frenchBI; in TestFilteredBreakIteratorBuilder()
1222 baseBI.adoptInstead(BreakIterator::createSentenceInstance(Locale::getEnglish(), status)); in TestFilteredBreakIteratorBuilder()
1257 baseBI.adoptInstead(BreakIterator::createSentenceInstance(Locale::getEnglish(), status)); in TestFilteredBreakIteratorBuilder()
1287 baseBI.adoptInstead(BreakIterator::createSentenceInstance(Locale::getEnglish(), status)); in TestFilteredBreakIteratorBuilder()
1310 baseBI.adoptInstead(BreakIterator::createSentenceInstance(Locale::getEnglish(), status)); in TestFilteredBreakIteratorBuilder()
1340 baseBI.adoptInstead(BreakIterator::createSentenceInstance(Locale::getEnglish(), status)); in TestFilteredBreakIteratorBuilder()
1366 baseBI.adoptInstead(BreakIterator::createSentenceInstance(Locale::getFrench(), status)); in TestFilteredBreakIteratorBuilder()
1380 TEST_ASSERT(BreakIterator::DONE == frenchBI->next()); in TestFilteredBreakIteratorBuilder()
1387 TEST_ASSERT(BreakIterator::DONE == filteredBI->next()); in TestFilteredBreakIteratorBuilder()
1443 void RBBIAPITest::doBoundaryTest(BreakIterator& bi, UnicodeString& text, int32_t *boundaries){ in doBoundaryTest()