Lines Matching refs:breaker
199 BreakIterator * StringSearchTest::getBreakIterator(const char *breaker) in getBreakIterator() argument
204 if (breaker == NULL) { in getBreakIterator()
207 if (strcmp(breaker, "wordbreaker") == 0) { in getBreakIterator()
465 BreakIterator *breaker = getBreakIterator(search->breaker); in assertEqual() local
470 if(search->breaker) { in assertEqual()
482 if (breaker != NULL) { in assertEqual()
483 breaker->setText(text); in assertEqual()
488 breaker, status); in assertEqual()
522 BreakIterator *breaker = getBreakIterator(search->breaker); in assertCanonicalEqual() local
528 if(search->breaker) { in assertCanonicalEqual()
541 if (breaker != NULL) { in assertCanonicalEqual()
542 breaker->setText(text); in assertCanonicalEqual()
548 breaker, status); in assertCanonicalEqual()
575 BreakIterator *breaker = getBreakIterator(search->breaker); in assertEqualWithAttribute() local
581 if(search->breaker) { in assertEqualWithAttribute()
594 if (breaker != NULL) { in assertEqualWithAttribute()
595 breaker->setText(text); in assertEqualWithAttribute()
600 breaker, status); in assertEqualWithAttribute()
909 BreakIterator *breaker = getBreakIterator(search->breaker); in TestBreakIterator() local
916 if (breaker != NULL) { in TestBreakIterator()
917 breaker->setText(text); in TestBreakIterator()
921 strsrch = new StringSearch(pattern, text, collator, breaker, status); in TestBreakIterator()
923 strsrch->getBreakIterator() != breaker) { in TestBreakIterator()
934 breaker = getBreakIterator(search->breaker); in TestBreakIterator()
935 if (breaker != NULL) { in TestBreakIterator()
936 breaker->setText(text); in TestBreakIterator()
938 strsrch->setBreakIterator(breaker, status); in TestBreakIterator()
940 strsrch->getBreakIterator() != breaker) { in TestBreakIterator()
1689 strsrch = new StringSearch(pattern, text, coll, getBreakIterator(search->breaker), status); in TestDiacriticMatch()
1766 BreakIterator *breaker = getBreakIterator(search->breaker); in TestBreakIteratorCanonical() local
1768 breaker, status); in TestBreakIteratorCanonical()
1775 strsrch->getBreakIterator() != breaker) { in TestBreakIteratorCanonical()
1786 breaker = getBreakIterator(search->breaker); in TestBreakIteratorCanonical()
1787 if (breaker == NULL) { in TestBreakIteratorCanonical()
1791 breaker->setText(strsrch->getText()); in TestBreakIteratorCanonical()
1792 strsrch->setBreakIterator(breaker, status); in TestBreakIteratorCanonical()
1793 if (U_FAILURE(status) || strsrch->getBreakIterator() != breaker) { in TestBreakIteratorCanonical()