Home | History | Annotate | Download | only in intltest

Lines Matching defs:pat1

1509     RegexPattern        *pat1 = RegexPattern::compile(re1, 0, pe, status);
1512 REGEX_ASSERT(*pat1 == *pat1);
1513 REGEX_ASSERT(*pat1 != pata);
1516 patb = *pat1;
1517 REGEX_ASSERT(patb == *pat1);
1520 RegexPattern patc(*pat1);
1521 REGEX_ASSERT(patc == *pat1);
1523 REGEX_ASSERT(pat1 != pat2);
1530 REGEX_ASSERT(*pat1a == *pat1);
1544 RegexPattern *pat1c = pat1->clone();
1545 REGEX_ASSERT(*pat1c == *pat1);
1550 delete pat1;
1598 pat1 = RegexPattern::compile(" +", pe, status);
1603 n = pat1->split("Now is the time", fields, 10, status);
1612 n = pat1->split("Now is the time", fields, 2, status);
1621 n = pat1->split("Now is the time", fields, 1, status);
1628 n = pat1->split(" Now is the time ", fields, 10, status);
1638 n = pat1->split(" ", fields, 10, status);
1645 n = pat1->split("", fields, 10, status);
1650 delete pat1;
1653 pat1 = RegexPattern::compile(UNICODE_STRING_SIMPLE("<(\\w*)>"), pe, status);
1657 n = pat1->split("<a>Now is <b>the time<c>", fields, 10, status);
1669 n = pat1->split(" <a>Now is <b>the time<c>", fields, 10, status);
1682 n = pat1->split(" <a>Now is <b>the time<c>", fields, 6, status);
1695 n = pat1->split(" <a>Now is <b>the time<c>", fields, 5, status);
1707 n = pat1->split(" <a>Now is <b>the time", fields, 5, status);
1718 n = pat1->split(" <a>Now is <b>the time<c>", fields, 4, status);
1726 delete pat1;
1728 pat1 = RegexPattern::compile("([-,])", pe, status);
1730 n = pat1->split("1-10,20", fields, 10, status);
1738 delete pat1;
1741 pat1 = RegexPattern::compile(",", pe, status);
1743 n = pat1->split("a,b,c,", fields, 10, status);
1751 n = pat1->split("a,,,", fields, 10, status);
1758 delete pat1;
1761 pat1 = RegexPattern::compile(":?", pe, status);
1763 n = pat1->split("abc", fields, 10, status);
1772 delete pat1;
1777 pat1 = new RegexPattern();
1778 REGEX_ASSERT(pat1->pattern() == "");
1779 delete pat1;
1781 pat1 = RegexPattern::compile("(Hello, world)*", pe, status);
1783 REGEX_ASSERT(pat1->pattern() == "(Hello, world)*");
1784 delete pat1;
1790 pat1 = RegexPattern::compile("(Hello, world)*", pe, status);
1792 REGEX_ASSERT(pat1->getDynamicClassID() == RegexPattern::getStaticClassID());
1793 REGEX_ASSERT(pat1->getDynamicClassID() != NULL);
1795 RegexMatcher *m = pat1->matcher(Hello, status);
1796 REGEX_ASSERT(pat1->getDynamicClassID() != m->getDynamicClassID());
1800 delete pat1;
2767 RegexPattern *pat1 = RegexPattern::compile(&re1, 0, pe, status);
2770 REGEX_ASSERT(*pat1 == *pat1);
2771 REGEX_ASSERT(*pat1 != pata);
2774 patb = *pat1;
2775 REGEX_ASSERT(patb == *pat1);
2778 RegexPattern patc(*pat1);
2779 REGEX_ASSERT(patc == *pat1);
2781 REGEX_ASSERT(pat1 != pat2);
2788 REGEX_ASSERT(*pat1a == *pat1);
2802 RegexPattern *pat1c = pat1->clone();
2803 REGEX_ASSERT(*pat1c == *pat1);
2808 delete pat1;
2899 pat1 = RegexPattern::compile(&re1, pe, status);
2904 n = pat1->split("Now is the time", fields, 10, status);
2913 n = pat1->split("Now is the time", fields, 2, status);
2922 n = pat1->split("Now is the time", fields, 1, status);
2929 n = pat1->split(" Now is the time ", fields, 10, status);
2941 n = pat1->split(" ", fields, 10, status);
2949 n = pat1->split("", fields, 10, status);
2954 delete pat1;
2958 pat1 = RegexPattern::compile(&re1, pe, status);
2963 n = pat1->split("<a>Now is <b>the time<c>", fields, 10, status);
2977 n = pat1->split(" <a>Now is <b>the time<c>", fields, 10, status);
2991 n = pat1->split(" <a>Now is <b>the time<c> ", fields, 6, status);
3004 n = pat1->split(" <a>Now is <b>the time<c>", fields, 5, status);
3016 n = pat1->split(" <a>Now is <b>the time", fields, 5, status);
3027 n = pat1->split(" <a>Now is <b>the time<c>", fields, 4, status);
3035 delete pat1;
3038 pat1 = RegexPattern::compile(&re1, pe, status);
3040 n = pat1->split("1-10,20", fields, 10, status);
3048 delete pat1;
3054 pat1 = new RegexPattern();
3055 REGEX_ASSERT(pat1->pattern() == "");
3056 REGEX_ASSERT_UTEXT_UTF8("", pat1->patternText(status));
3057 delete pat1;
3060 pat1 = RegexPattern::compile(&re1, pe, status);
3062 REGEX_ASSERT_UNISTR(pat1->pattern(),"(Hello, world)*");
3063 REGEX_ASSERT_UTEXT_INVARIANT("(Hello, world)*", pat1->patternText(status));
3064 delete pat1;
3743 RegexPattern *pat1= RegexPattern::compile(".*", flags, pe, status);
3745 delete pat1;