Home | History | Annotate | Download | only in intltest

Lines Matching refs:pat1

1515     RegexPattern        *pat1 = RegexPattern::compile(re1, 0, pe, status);
1518 REGEX_ASSERT(*pat1 == *pat1);
1519 REGEX_ASSERT(*pat1 != pata);
1522 patb = *pat1;
1523 REGEX_ASSERT(patb == *pat1);
1526 RegexPattern patc(*pat1);
1527 REGEX_ASSERT(patc == *pat1);
1529 REGEX_ASSERT(pat1 != pat2);
1536 REGEX_ASSERT(*pat1a == *pat1);
1550 RegexPattern *pat1c = pat1->clone();
1551 REGEX_ASSERT(*pat1c == *pat1);
1556 delete pat1;
1604 pat1 = RegexPattern::compile(" +", pe, status);
1609 n = pat1->split("Now is the time", fields, 10, status);
1618 n = pat1->split("Now is the time", fields, 2, status);
1627 n = pat1->split("Now is the time", fields, 1, status);
1634 n = pat1->split(" Now is the time ", fields, 10, status);
1644 n = pat1->split(" ", fields, 10, status);
1651 n = pat1->split("", fields, 10, status);
1656 delete pat1;
1659 pat1 = RegexPattern::compile(UNICODE_STRING_SIMPLE("<(\\w*)>"), pe, status);
1663 n = pat1->split("<a>Now is <b>the time<c>", fields, 10, status);
1675 n = pat1->split(" <a>Now is <b>the time<c>", fields, 10, status);
1688 n = pat1->split(" <a>Now is <b>the time<c>", fields, 6, status);
1701 n = pat1->split(" <a>Now is <b>the time<c>", fields, 5, status);
1713 n = pat1->split(" <a>Now is <b>the time", fields, 5, status);
1724 n = pat1->split(" <a>Now is <b>the time<c>", fields, 4, status);
1732 delete pat1;
1734 pat1 = RegexPattern::compile("([-,])", pe, status);
1736 n = pat1->split("1-10,20", fields, 10, status);
1744 delete pat1;
1747 pat1 = RegexPattern::compile(",", pe, status);
1749 n = pat1->split("a,b,c,", fields, 10, status);
1757 n = pat1->split("a,,,", fields, 10, status);
1764 delete pat1;
1767 pat1 = RegexPattern::compile(":?", pe, status);
1769 n = pat1->split("abc", fields, 10, status);
1778 delete pat1;
1783 pat1 = new RegexPattern();
1784 REGEX_ASSERT(pat1->pattern() == "");
1785 delete pat1;
1787 pat1 = RegexPattern::compile("(Hello, world)*", pe, status);
1789 REGEX_ASSERT(pat1->pattern() == "(Hello, world)*");
1790 delete pat1;
1796 pat1 = RegexPattern::compile("(Hello, world)*", pe, status);
1798 REGEX_ASSERT(pat1->getDynamicClassID() == RegexPattern::getStaticClassID());
1799 REGEX_ASSERT(pat1->getDynamicClassID() != NULL);
1801 RegexMatcher *m = pat1->matcher(Hello, status);
1802 REGEX_ASSERT(pat1->getDynamicClassID() != m->getDynamicClassID());
1806 delete pat1;
2773 RegexPattern *pat1 = RegexPattern::compile(&re1, 0, pe, status);
2776 REGEX_ASSERT(*pat1 == *pat1);
2777 REGEX_ASSERT(*pat1 != pata);
2780 patb = *pat1;
2781 REGEX_ASSERT(patb == *pat1);
2784 RegexPattern patc(*pat1);
2785 REGEX_ASSERT(patc == *pat1);
2787 REGEX_ASSERT(pat1 != pat2);
2794 REGEX_ASSERT(*pat1a == *pat1);
2808 RegexPattern *pat1c = pat1->clone();
2809 REGEX_ASSERT(*pat1c == *pat1);
2814 delete pat1;
2905 pat1 = RegexPattern::compile(&re1, pe, status);
2910 n = pat1->split("Now is the time", fields, 10, status);
2919 n = pat1->split("Now is the time", fields, 2, status);
2928 n = pat1->split("Now is the time", fields, 1, status);
2935 n = pat1->split(" Now is the time ", fields, 10, status);
2947 n = pat1->split(" ", fields, 10, status);
2955 n = pat1->split("", fields, 10, status);
2960 delete pat1;
2964 pat1 = RegexPattern::compile(&re1, pe, status);
2969 n = pat1->split("<a>Now is <b>the time<c>", fields, 10, status);
2983 n = pat1->split(" <a>Now is <b>the time<c>", fields, 10, status);
2997 n = pat1->split(" <a>Now is <b>the time<c> ", fields, 6, status);
3010 n = pat1->split(" <a>Now is <b>the time<c>", fields, 5, status);
3022 n = pat1->split(" <a>Now is <b>the time", fields, 5, status);
3033 n = pat1->split(" <a>Now is <b>the time<c>", fields, 4, status);
3041 delete pat1;
3044 pat1 = RegexPattern::compile(&re1, pe, status);
3046 n = pat1->split("1-10,20", fields, 10, status);
3054 delete pat1;
3060 pat1 = new RegexPattern();
3061 REGEX_ASSERT(pat1->pattern() == "");
3062 REGEX_ASSERT_UTEXT_UTF8("", pat1->patternText(status));
3063 delete pat1;
3066 pat1 = RegexPattern::compile(&re1, pe, status);
3068 REGEX_ASSERT_UNISTR(pat1->pattern(),"(Hello, world)*");
3069 REGEX_ASSERT_UTEXT_INVARIANT("(Hello, world)*", pat1->patternText(status));
3070 delete pat1;
3752 RegexPattern *pat1= RegexPattern::compile(".*", flags, pe, status);
3754 delete pat1;