Lines Matching refs:BreakIterator
79 RuleBasedBreakIterator *bix = (RuleBasedBreakIterator *)BreakIterator::createLineInstance(Locale::getDefault(), status);
150 BreakIterator* a = BreakIterator::createWordInstance(Locale("hi"), status);
151 BreakIterator* b = BreakIterator::createWordInstance(Locale("hi_IN"),status);
159 BreakIterator* c = BreakIterator::createWordInstance(Locale("ja"),status);
299 TEST_ASSERT(rb->following(11) == BreakIterator::DONE);
303 //if(rb->following(11) != BreakIterator::DONE) {
439 if (i != BreakIterator::DONE) {
454 if (i != BreakIterator::DONE) {
503 if (i != BreakIterator::DONE) {
527 if (i != BreakIterator::DONE) {
569 if (i != BreakIterator::DONE) {
570 errln("Incorrect value from bi->next() at line %d. Expected BreakIterator::DONE, got %d", __LINE__, i);
656 RuleBasedBreakIterator *bi = (RuleBasedBreakIterator *)BreakIterator::createWordInstance(Locale::getEnglish(), status);
667 for (pos = bi->first(); pos != BreakIterator::DONE; pos = bi->next(), i++) {
694 BreakIterator::createLineInstance(Locale::getEnglish(), status);
872 BreakIterator* ja_word = BreakIterator::createWordInstance("ja_JP", status);
875 BreakIterator* ja_char = BreakIterator::createCharacterInstance("ja_JP", status);
876 BreakIterator* root_word = BreakIterator::createWordInstance("", status);
877 BreakIterator* root_char = BreakIterator::createCharacterInstance("", status);
889 URegistryKey key = BreakIterator::registerInstance(ja_word, "xx", UBRK_WORD, status);
897 BreakIterator* result = BreakIterator::createWordInstance("xx_XX", status);
909 BreakIterator* result = BreakIterator::createCharacterInstance("ja_JP", status);
921 BreakIterator* result = BreakIterator::createCharacterInstance("xx_XX", status);
933 StringEnumeration* avail = BreakIterator::getAvailableLocales();
949 UBool unreg = BreakIterator::unregister(key, status);
956 BreakIterator* result = BreakIterator::createWordInstance("en_US", status);
957 BreakIterator* root = BreakIterator::createWordInstance("", status);
970 StringEnumeration* avail = BreakIterator::getAvailableLocales();
988 const Locale *avail = BreakIterator::getAvailableLocales(count);
996 errln("BreakIterator::getAvailableLocales(&count), failed to find EN.");