Lines Matching refs:RegexPattern
338 RegexPattern *REPattern = NULL; in doRegexLMTest()
343 REPattern = RegexPattern::compile(patString, 0, pe, status); in doRegexLMTest()
401 RegexPattern *REPattern = NULL; in doRegexLMTestUTF8()
406 REPattern = RegexPattern::compile(&pattern, 0, pe, status); in doRegexLMTestUTF8()
491 RegexPattern *callerPattern = NULL; in regex_err()
497 callerPattern = RegexPattern::compile(patString, 0, pe, status); in regex_err()
516 callerPattern = RegexPattern::compile(&patternText, 0, pe, status); in regex_err()
552 RegexPattern *pattern; in Basic()
553 …pattern = RegexPattern::compile(UNICODE_STRING_SIMPLE("a\\u00dfx").unescape(), UREGEX_CASE_INSENSI… in Basic()
745 RegexPattern *pat2; in API_Match()
746 pat2 = RegexPattern::compile(re, flags, pe, status); in API_Match()
877 RegexPattern *pat = RegexPattern::compile(re, flags, pe, status); in API_Match()
936 RegexPattern *pat = RegexPattern::compile(re, flags, pe, status); in API_Match()
990 RegexPattern *pat = RegexPattern::compile(re, flags, pe, status); in API_Match()
1081 RegexPattern *p = RegexPattern::compile(".", 0, status); in API_Match()
1185 RegexPattern *p = RegexPattern::compile(".", 0, status); in API_Match()
1298 RegexPattern *pat = RegexPattern::compile(re, flags, pe, status); in API_Replace()
1371 RegexPattern *pat2 = RegexPattern::compile(re2, flags, pe, status); in API_Replace()
1477 RegexPattern pata; // Test default constructor to not crash. in API_Pattern()
1478 RegexPattern patb; in API_Pattern()
1488 RegexPattern *pat1 = RegexPattern::compile(re1, 0, pe, status); in API_Pattern()
1489 RegexPattern *pat2 = RegexPattern::compile(re2, 0, pe, status); in API_Pattern()
1499 RegexPattern patc(*pat1); in API_Pattern()
1508 RegexPattern *pat1a = RegexPattern::compile(re1, pe, status); in API_Pattern()
1514 RegexPattern *pat1b = RegexPattern::compile(re1, UREGEX_CASE_INSENSITIVE, pe, status); in API_Pattern()
1523 RegexPattern *pat1c = pat1->clone(); in API_Pattern()
1539 … RegexPattern *pSource = RegexPattern::compile(UNICODE_STRING_SIMPLE("\\p{L}+"), 0, status); in API_Pattern()
1540 RegexPattern *pClone = pSource->clone(); in API_Pattern()
1558 REGEX_ASSERT(RegexPattern::matches(".*", "random input", pe, status) == TRUE); in API_Pattern()
1560 REGEX_ASSERT(RegexPattern::matches("abc", "random input", pe, status) == FALSE); in API_Pattern()
1562 REGEX_ASSERT(RegexPattern::matches(".*nput", "random input", pe, status) == TRUE); in API_Pattern()
1564 REGEX_ASSERT(RegexPattern::matches("random input", "random input", pe, status) == TRUE); in API_Pattern()
1566 REGEX_ASSERT(RegexPattern::matches(".*u", "random input", pe, status) == FALSE); in API_Pattern()
1569 REGEX_ASSERT(RegexPattern::matches("abc", "abc", pe, status) == FALSE); in API_Pattern()
1577 pat1 = RegexPattern::compile(" +", pe, status); in API_Pattern()
1632 pat1 = RegexPattern::compile(UNICODE_STRING_SIMPLE("<(\\w*)>"), pe, status); in API_Pattern()
1707 pat1 = RegexPattern::compile("([-,])", pe, status); in API_Pattern()
1720 pat1 = RegexPattern::compile(",", pe, status); in API_Pattern()
1740 pat1 = RegexPattern::compile(":?", pe, status); in API_Pattern()
1756 pat1 = new RegexPattern(); in API_Pattern()
1760 pat1 = RegexPattern::compile("(Hello, world)*", pe, status); in API_Pattern()
1769 pat1 = RegexPattern::compile("(Hello, world)*", pe, status); in API_Pattern()
1771 REGEX_ASSERT(pat1->getDynamicClassID() == RegexPattern::getStaticClassID()); in API_Pattern()
1811 RegexPattern *pat2; in API_Match_UTF8()
1812 pat2 = RegexPattern::compile(&re, flags, pe, status); in API_Match_UTF8()
1955 RegexPattern *pat = RegexPattern::compile(&re, flags, pe, status); in API_Match_UTF8()
2100 RegexPattern *pat = RegexPattern::compile(&re, flags, pe, status); in API_Match_UTF8()
2161 RegexPattern *pat = RegexPattern::compile(&re, flags, pe, status); in API_Match_UTF8()
2265 RegexPattern *p = RegexPattern::compile(".", 0, status); in API_Match_UTF8()
2396 RegexPattern *pat = RegexPattern::compile(&re, flags, pe, status); in API_Replace_UTF8()
2554 RegexPattern *pat2 = RegexPattern::compile(&re, flags, pe, status); in API_Replace_UTF8()
2757 RegexPattern pata; // Test default constructor to not crash. in API_Pattern_UTF8()
2758 RegexPattern patb; in API_Pattern_UTF8()
2773 RegexPattern *pat1 = RegexPattern::compile(&re1, 0, pe, status); in API_Pattern_UTF8()
2774 RegexPattern *pat2 = RegexPattern::compile(&re2, 0, pe, status); in API_Pattern_UTF8()
2784 RegexPattern patc(*pat1); in API_Pattern_UTF8()
2793 RegexPattern *pat1a = RegexPattern::compile(&re1, pe, status); in API_Pattern_UTF8()
2799 RegexPattern *pat1b = RegexPattern::compile(&re1, UREGEX_CASE_INSENSITIVE, pe, status); in API_Pattern_UTF8()
2808 RegexPattern *pat1c = pat1->clone(); in API_Pattern_UTF8()
2831 RegexPattern *pSource = RegexPattern::compile(&pattern, 0, status); in API_Pattern_UTF8()
2832 RegexPattern *pClone = pSource->clone(); in API_Pattern_UTF8()
2866 REGEX_ASSERT(RegexPattern::matches(&pattern, &input, pe, status) == TRUE); in API_Pattern_UTF8()
2871 REGEX_ASSERT(RegexPattern::matches("abc", "random input", pe, status) == FALSE); in API_Pattern_UTF8()
2876 REGEX_ASSERT(RegexPattern::matches(".*nput", "random input", pe, status) == TRUE); in API_Pattern_UTF8()
2880 REGEX_ASSERT(RegexPattern::matches("random input", "random input", pe, status) == TRUE); in API_Pattern_UTF8()
2885 REGEX_ASSERT(RegexPattern::matches(".*u", "random input", pe, status) == FALSE); in API_Pattern_UTF8()
2891 REGEX_ASSERT(RegexPattern::matches("abc", "abc", pe, status) == FALSE); in API_Pattern_UTF8()
2905 pat1 = RegexPattern::compile(&re1, pe, status); in API_Pattern_UTF8()
2964 pat1 = RegexPattern::compile(&re1, pe, status); in API_Pattern_UTF8()
3044 pat1 = RegexPattern::compile(&re1, pe, status); in API_Pattern_UTF8()
3091 pat1 = new RegexPattern(); in API_Pattern_UTF8()
3097 pat1 = RegexPattern::compile(&re1, pe, status); in API_Pattern_UTF8()
3324 RegexPattern *parsePat = NULL; in regex_find()
3326 RegexPattern *callerPattern = NULL, *UTF8Pattern = NULL; in regex_find()
3372 callerPattern = RegexPattern::compile(pattern, bflags, pe, status); in regex_find()
3404 UTF8Pattern = RegexPattern::compile(&patternText, bflags, pe, status); in regex_find()
3470 parsePat = RegexPattern::compile("<(/?)(r|[0-9]+)>", 0, pe, status); in regex_find()
3793 RegexPattern *pat1= RegexPattern::compile(".*", flags, pe, status); in Errors()
4008 …RegexPattern* linePat = RegexPattern::compile(UNICODE_STRING_SIMPLE("(.+?)[\\r\\n]+"), 0, pe, stat… in PerlTests()
4019 RegexPattern* fieldPat = RegexPattern::compile(UNICODE_STRING_SIMPLE("\\t"), 0, pe, status); in PerlTests()
4027 …RegexPattern *flagPat = RegexPattern::compile(UNICODE_STRING_SIMPLE("('?)(.*)\\1(.*)"), 0, pe, sta… in PerlTests()
4044 …RegexPattern *groupsPat = RegexPattern::compile(UNICODE_STRING_SIMPLE("\\$([+\\-])\\[(\\d+)\\]"), … in PerlTests()
4048 RegexPattern *cgPat = RegexPattern::compile(UNICODE_STRING_SIMPLE("\\$(\\d+)"), 0, pe, status); in PerlTests()
4105 RegexPattern *testPat = RegexPattern::compile(pattern, flags, pe, status); in PerlTests()
4377 …RegexPattern* linePat = RegexPattern::compile(UNICODE_STRING_SIMPLE("(.+?)[\\r\\n]+"), 0, pe, stat… in PerlTestsUTF8()
4388 RegexPattern* fieldPat = RegexPattern::compile(UNICODE_STRING_SIMPLE("\\t"), 0, pe, status); in PerlTestsUTF8()
4396 …RegexPattern *flagPat = RegexPattern::compile(UNICODE_STRING_SIMPLE("('?)(.*)\\1(.*)"), 0, pe, sta… in PerlTestsUTF8()
4413 …RegexPattern *groupsPat = RegexPattern::compile(UNICODE_STRING_SIMPLE("\\$([+\\-])\\[(\\d+)\\]"), … in PerlTestsUTF8()
4417 RegexPattern *cgPat = RegexPattern::compile(UNICODE_STRING_SIMPLE("\\$(\\d+)"), 0, pe, status); in PerlTestsUTF8()
4487 RegexPattern *testPat = RegexPattern::compile(&patternText, flags, pe, status); in PerlTestsUTF8()
5178 RegexPattern *pat = RegexPattern::compile(UnicodeString( in NamedCapture()
5200 RegexPattern *copiedPat = new RegexPattern(*pat); in NamedCapture()
5416 RegexPattern *pat = RegexPattern::compile(pattern, 0, status); in NamedCaptureLimits()
5434 pat = RegexPattern::compile(pattern, 0, status); in NamedCaptureLimits()
5451 RegexPattern *REPattern = NULL; in Bug7651()
5456 REPattern = RegexPattern::compile(pattern1, 0, pe, status); in Bug7651()
5466 REPattern = RegexPattern::compile(pattern2, 0, pe, status); in Bug7651()
5649 LocalPointer<RegexPattern> compiledPat(RegexPattern::compile(patternString, 0, status)); in TestCase11049()
5698 LocalPointer<RegexPattern> compiledPat(RegexPattern::compile(patternString, 0, status)); in TestBug11371()
5710 LocalPointer<RegexPattern> compiledPat2(RegexPattern::compile(patternString, 0, status)); in TestBug11371()
5724 LocalPointer<RegexPattern> compiledPat3(RegexPattern::compile(patternString, 0, status)); in TestBug11371()