Home | History | Annotate | Download | only in intltest

Lines Matching refs:RegexPattern

365     RegexPattern        *REPattern = NULL;
370 REPattern = RegexPattern::compile(patString, 0, pe, status);
372 dataerrln("RegexTest failure in RegexPattern::compile() at line %d. Status = %s",
428 RegexPattern *REPattern = NULL;
433 REPattern = RegexPattern::compile(&pattern, 0, pe, status);
435 dataerrln("RegexTest failure in RegexPattern::compile() at line %d (UTF8). Status = %s\n",
518 RegexPattern *callerPattern = NULL;
524 callerPattern = RegexPattern::compile(patString, 0, pe, status);
543 callerPattern = RegexPattern::compile(&patternText, 0, pe, status);
579 RegexPattern *pattern;
580 pattern = RegexPattern::compile(UNICODE_STRING_SIMPLE("a\\u00dfx").unescape(), UREGEX_CASE_INSENSITIVE, pe, status);
772 RegexPattern *pat2;
773 pat2 = RegexPattern::compile(re, flags, pe, status);
904 RegexPattern *pat = RegexPattern::compile(re, flags, pe, status);
963 RegexPattern *pat = RegexPattern::compile(re, flags, pe, status);
1017 RegexPattern *pat = RegexPattern::compile(re, flags, pe, status);
1108 RegexPattern *p = RegexPattern::compile(".", 0, status);
1212 RegexPattern *p = RegexPattern::compile(".", 0, status);
1325 RegexPattern *pat = RegexPattern::compile(re, flags, pe, status);
1398 RegexPattern *pat2 = RegexPattern::compile(re2, flags, pe, status);
1499 // API_Pattern Test that the API for class RegexPattern is
1504 RegexPattern pata; // Test default constructor to not crash.
1505 RegexPattern patb;
1515 RegexPattern *pat1 = RegexPattern::compile(re1, 0, pe, status);
1516 RegexPattern *pat2 = RegexPattern::compile(re2, 0, pe, status);
1526 RegexPattern patc(*pat1);
1535 RegexPattern *pat1a = RegexPattern::compile(re1, pe, status);
1541 RegexPattern *pat1b = RegexPattern::compile(re1, UREGEX_CASE_INSENSITIVE, pe, status);
1550 RegexPattern *pat1c = pat1->clone();
1566 RegexPattern *pSource = RegexPattern::compile(UNICODE_STRING_SIMPLE("\\p{L}+"), 0, status);
1567 RegexPattern *pClone = pSource->clone();
1585 REGEX_ASSERT(RegexPattern::matches(".*", "random input", pe, status) == TRUE);
1587 REGEX_ASSERT(RegexPattern::matches("abc", "random input", pe, status) == FALSE);
1589 REGEX_ASSERT(RegexPattern::matches(".*nput", "random input", pe, status) == TRUE);
1591 REGEX_ASSERT(RegexPattern::matches("random input", "random input", pe, status) == TRUE);
1593 REGEX_ASSERT(RegexPattern::matches(".*u", "random input", pe, status) == FALSE);
1596 REGEX_ASSERT(RegexPattern::matches("abc", "abc", pe, status) == FALSE);
1604 pat1 = RegexPattern::compile(" +", pe, status);
1659 pat1 = RegexPattern::compile(UNICODE_STRING_SIMPLE("<(\\w*)>"), pe, status);
1734 pat1 = RegexPattern::compile("([-,])", pe, status);
1747 pat1 = RegexPattern::compile(",", pe, status);
1767 pat1 = RegexPattern::compile(":?", pe, status);
1781 // RegexPattern::pattern()
1783 pat1 = new RegexPattern();
1787 pat1 = RegexPattern::compile("(Hello, world)*", pe, status);
1796 pat1 = RegexPattern::compile("(Hello, world)*", pe, status);
1798 REGEX_ASSERT(pat1->getDynamicClassID() == RegexPattern::getStaticClassID());
1838 RegexPattern *pat2;
1839 pat2 = RegexPattern::compile(&re, flags, pe, status);
1982 RegexPattern *pat = RegexPattern::compile(&re, flags, pe, status);
2102 RegexPattern *pat = RegexPattern::compile(&re, flags, pe, status);
2163 RegexPattern *pat = RegexPattern::compile(&re, flags, pe, status);
2267 RegexPattern *p = RegexPattern::compile(".", 0, status);
2398 RegexPattern *pat = RegexPattern::compile(&re, flags, pe, status);
2556 RegexPattern *pat2 = RegexPattern::compile(&re, flags, pe, status);
2752 // API_Pattern_UTF8 Test that the API for class RegexPattern is
2757 RegexPattern pata; // Test default constructor to not crash.
2758 RegexPattern patb;
2773 RegexPattern *pat1 = RegexPattern::compile(&re1, 0, pe, status);
2774 RegexPattern *pat2 = RegexPattern::compile(&re2, 0, pe, status);
2784 RegexPattern patc(*pat1);
2793 RegexPattern *pat1a = RegexPattern::compile(&re1, pe, status);
2799 RegexPattern *pat1b = RegexPattern::compile(&re1, UREGEX_CASE_INSENSITIVE, pe, status);
2808 RegexPattern *pat1c = pat1->clone();
2831 RegexPattern *pSource = RegexPattern::compile(&pattern, 0, status);
2832 RegexPattern *pClone = pSource->clone();
2866 REGEX_ASSERT(RegexPattern::matches(&pattern, &input, pe, status) == TRUE);
2871 REGEX_ASSERT(RegexPattern::matches("abc", "random input", pe, status) == FALSE);
2876 REGEX_ASSERT(RegexPattern::matches(".*nput", "random input", pe, status) == TRUE);
2880 REGEX_ASSERT(RegexPattern::matches("random input", "random input", pe, status) == TRUE);
2885 REGEX_ASSERT(RegexPattern::matches(".*u", "random input", pe, status) == FALSE);
2891 REGEX_ASSERT(RegexPattern::matches("abc", "abc", pe, status) == FALSE);
2905 pat1 = RegexPattern::compile(&re1, pe, status);
2964 pat1 = RegexPattern::compile(&re1, pe, status);
3044 pat1 = RegexPattern::compile(&re1, pe, status);
3058 // RegexPattern::pattern() and patternText()
3060 pat1 = new RegexPattern();
3066 pat1 = RegexPattern::compile(&re1, pe, status);
3293 RegexPattern *parsePat = NULL;
3295 RegexPattern *callerPattern = NULL, *UTF8Pattern = NULL;
3341 callerPattern = RegexPattern::compile(pattern, bflags, pe, status);
3373 UTF8Pattern = RegexPattern::compile(&patternText, bflags, pe, status);
3439 parsePat = RegexPattern::compile("<(/?)(r|[0-9]+)>", 0, pe, status);
3752 RegexPattern *pat1= RegexPattern::compile(".*", flags, pe, status);
3967 RegexPattern* linePat = RegexPattern::compile(UNICODE_STRING_SIMPLE("(.+?)[\\r\\n]+"), 0, pe, status);
3969 dataerrln("RegexPattern::compile() error");
3978 RegexPattern* fieldPat = RegexPattern::compile(UNICODE_STRING_SIMPLE("\\t"), 0, pe, status);
3986 RegexPattern *flagPat = RegexPattern
4003 RegexPattern *groupsPat = RegexPattern::compile(UNICODE_STRING_SIMPLE("\\$([+\\-])\\[(\\d+)\\]"), 0, pe, status);
4007 RegexPattern *cgPat = RegexPattern::compile(UNICODE_STRING_SIMPLE("\\$(\\d+)"), 0, pe, status);
4064 RegexPattern *testPat = RegexPattern::compile(pattern, flags, pe, status);
4336 RegexPattern* linePat = RegexPattern::compile(UNICODE_STRING_SIMPLE("(.+?)[\\r\\n]+"), 0, pe, status);
4338 dataerrln("RegexPattern::compile() error");
4347 RegexPattern* fieldPat = RegexPattern::compile(UNICODE_STRING_SIMPLE("\\t"), 0, pe, status);
4355 RegexPattern *flagPat = RegexPattern::compile(UNICODE_STRING_SIMPLE("('?)(.*)\\1(.*)"), 0, pe, status);
4372 RegexPattern *groupsPat = RegexPattern::compile(UNICODE_STRING_SIMPLE("\\$([+\\-])\\[(\\d+)\\]"), 0, pe, status);
4376 RegexPattern *cgPat = RegexPattern::compile(UNICODE_STRING_SIMPLE("\\$(\\d+)"), 0, pe, status);
4446 RegexPattern *testPat = RegexPattern::compile(&patternText, flags, pe, status);
5116 RegexPattern *REPattern = NULL;
5121 REPattern = RegexPattern::compile(pattern1, 0, pe, status);
5131 REPattern = RegexPattern::compile(pattern2, 0, pe, status);