Lines Matching defs:pat

357 #define REGEX_TESTLM(pat, text, looking, match) {doRegexLMTest(pat, text, looking, match, __LINE__);doRegexLMTestUTF8(pat, text, looking, match, __LINE__);}
359 UBool RegexTest::doRegexLMTest(const char *pat, const char *text, UBool looking, UBool match, int32_t line) {
360 const UnicodeString pattern(pat, -1, US_INV);
368 UnicodeString patString(pat, -1, US_INV);
420 UBool RegexTest::doRegexLMTestUTF8(const char *pat, const char *text, UBool looking, UBool match, int32_t line) {
431 regextst_openUTF8FromInvariant(&pattern, pat, -1, &status);
509 #define REGEX_ERR(pat, line, col, status) regex_err(pat, line, col, status, __LINE__);
511 void RegexTest::regex_err(const char *pat, int32_t errLine, int32_t errCol,
513 UnicodeString pattern(pat);
522 UnicodeString patString(pat);
541 regextst_openUTF8FromInvariant(&patternText, pat, -1, &status);
898 RegexPattern *pat = RegexPattern::compile(re, flags, pe, status);
902 RegexMatcher *matcher = pat->matcher(data, status);
944 delete pat;
957 RegexPattern *pat = RegexPattern::compile(re, flags, pe, status);
962 RegexMatcher *matcher = pat->matcher(data, status);
998 delete pat;
1011 RegexPattern *pat = RegexPattern::compile(re, flags, pe, status);
1016 RegexMatcher *matcher = pat->matcher(data, status);
1030 delete pat;
1319 RegexPattern *pat = RegexPattern::compile(re, flags, pe, status);
1323 RegexMatcher *matcher = pat->matcher(data, status);
1487 delete pat;
1976 RegexPattern *pat = RegexPattern::compile(&re, flags, pe, status);
1983 RegexMatcher *matcher = &pat->matcher(status)->reset(&input);
2078 delete pat;
2096 RegexPattern *pat = RegexPattern::compile(&re, flags, pe, status);
2103 RegexMatcher *matcher = &pat->matcher(status)->reset(&input);
2139 delete pat;
2157 RegexPattern *pat = RegexPattern::compile(&re, flags, pe, status);
2165 RegexMatcher *matcher = &pat->matcher(status)->reset(&input);
2179 delete pat;
2392 RegexPattern *pat = RegexPattern::compile(&re, flags, pe, status);
2401 RegexMatcher *matcher = &pat->matcher(status)->reset(&dataText);
2735 delete pat;
3922 // # in this format, don't add it here: put it in op/pat.t instead.