Lines Matching refs:pat
173 #define REGEX_TESTLM(pat, text, looking, match) {doRegexLMTest(pat, text, looking, match, __LINE__);doRegexLMTestUTF8(pat, text, looking, match, __LINE__);}
175 UBool RegexTest::doRegexLMTest(const char *pat, const char *text, UBool looking, UBool match, int32_t line) {
176 const UnicodeString pattern(pat, -1, US_INV);
184 UnicodeString patString(pat, -1, US_INV);
236 UBool RegexTest::doRegexLMTestUTF8(const char *pat, const char *text, UBool looking, UBool match, int32_t line) {
247 utext_openUTF8(&pattern, pat, -1, &status);
325 #define REGEX_ERR(pat, line, col, status) regex_err(pat, line, col, status, __LINE__);
327 void RegexTest::regex_err(const char *pat, int32_t errLine, int32_t errCol,
329 UnicodeString pattern(pat);
338 UnicodeString patString(pat);
357 utext_openUTF8(&patternText, pat, -1, &status);
709 RegexPattern *pat = RegexPattern::compile(re, flags, pe, status);
713 RegexMatcher *matcher = pat->matcher(data, status);
755 delete pat;
768 RegexPattern *pat = RegexPattern::compile(re, flags, pe, status);
773 RegexMatcher *matcher = pat->matcher(data, status);
809 delete pat;
822 RegexPattern *pat = RegexPattern::compile(re, flags, pe, status);
827 RegexMatcher *matcher = pat->matcher(data, status);
841 delete pat;
1130 RegexPattern *pat = RegexPattern::compile(re, flags, pe, status);
1134 RegexMatcher *matcher = pat->matcher(data, status);
1298 delete pat;
1743 RegexPattern *pat = RegexPattern::compile(&re, flags, pe, status);
1749 RegexMatcher *matcher = pat->matcher(&input, RegexPattern::PATTERN_IS_UTEXT, status);
1836 delete pat;
1853 RegexPattern *pat = RegexPattern::compile(&re, flags, pe, status);
1859 RegexMatcher *matcher = pat->matcher(&input, RegexPattern::PATTERN_IS_UTEXT, status);
1895 delete pat;
1912 RegexPattern *pat = RegexPattern::compile(&re, flags, pe, status);
1919 RegexMatcher *matcher = pat
1933 delete pat;
2138 RegexPattern *pat = RegexPattern::compile(&re, flags, pe, status);
2145 RegexMatcher *matcher = pat->matcher(&dataText, RegexPattern::PATTERN_IS_UTEXT, status);
2447 delete pat;
3548 // # in this format, don't add it here: put it in op/pat.t instead.