Lines Matching defs:rb
294 LocalPointer<RuleBasedBreakIterator> rb((RuleBasedBreakIterator*)wordIter1->clone());
295 rb->adoptText(text1);
296 if(rb->getText() != *text1)
298 rb->adoptText(text2);
299 if(rb->getText() != *text2)
305 rb->adoptText(text3);
306 TEST_ASSERT(rb->preceding(2) == 0);
307 TEST_ASSERT(rb->following(11) == BreakIterator::DONE);
308 //if(rb->preceding(2) != 3) {
311 //if(rb->following(11) != BreakIterator::DONE) {
1105 RuleBasedBreakIterator *rb = (RuleBasedBreakIterator *)BreakIterator::createWordInstance(Locale::getEnglish(), status);
1106 if (rb == NULL || U_FAILURE(status)) {
1110 const uint8_t *rules = rb->getBinaryRules(length);
1113 TEST_ASSERT(*rb == *rb2);
1126 delete rb;