Lines Matching refs:breaker
202 BreakIterator * StringSearchTest::getBreakIterator(const char *breaker) in getBreakIterator() argument
207 if (breaker == NULL) { in getBreakIterator()
210 if (strcmp(breaker, "wordbreaker") == 0) { in getBreakIterator()
468 BreakIterator *breaker = getBreakIterator(search->breaker); in assertEqual() local
473 if(search->breaker) { in assertEqual()
485 if (breaker != NULL) { in assertEqual()
486 breaker->setText(text); in assertEqual()
491 breaker, status); in assertEqual()
525 BreakIterator *breaker = getBreakIterator(search->breaker); in assertCanonicalEqual() local
531 if(search->breaker) { in assertCanonicalEqual()
544 if (breaker != NULL) { in assertCanonicalEqual()
545 breaker->setText(text); in assertCanonicalEqual()
551 breaker, status); in assertCanonicalEqual()
578 BreakIterator *breaker = getBreakIterator(search->breaker); in assertEqualWithAttribute() local
584 if(search->breaker) { in assertEqualWithAttribute()
597 if (breaker != NULL) { in assertEqualWithAttribute()
598 breaker->setText(text); in assertEqualWithAttribute()
603 breaker, status); in assertEqualWithAttribute()
912 BreakIterator *breaker = getBreakIterator(search->breaker); in TestBreakIterator() local
919 if (breaker != NULL) { in TestBreakIterator()
920 breaker->setText(text); in TestBreakIterator()
924 strsrch = new StringSearch(pattern, text, collator, breaker, status); in TestBreakIterator()
926 strsrch->getBreakIterator() != breaker) { in TestBreakIterator()
937 breaker = getBreakIterator(search->breaker); in TestBreakIterator()
938 if (breaker != NULL) { in TestBreakIterator()
939 breaker->setText(text); in TestBreakIterator()
941 strsrch->setBreakIterator(breaker, status); in TestBreakIterator()
943 strsrch->getBreakIterator() != breaker) { in TestBreakIterator()
1692 strsrch = new StringSearch(pattern, text, coll, getBreakIterator(search->breaker), status); in TestDiacriticMatch()
1769 BreakIterator *breaker = getBreakIterator(search->breaker); in TestBreakIteratorCanonical() local
1771 breaker, status); in TestBreakIteratorCanonical()
1778 strsrch->getBreakIterator() != breaker) { in TestBreakIteratorCanonical()
1789 breaker = getBreakIterator(search->breaker); in TestBreakIteratorCanonical()
1790 if (breaker == NULL) { in TestBreakIteratorCanonical()
1794 breaker->setText(strsrch->getText()); in TestBreakIteratorCanonical()
1795 strsrch->setBreakIterator(breaker, status); in TestBreakIteratorCanonical()
1796 if (U_FAILURE(status) || strsrch->getBreakIterator() != breaker) { in TestBreakIteratorCanonical()