Lines Matching refs:pattern
34 static void xx(char* pattern, char* str, int from, int to, int mem, int not) in xx() argument
43 r = regcomp(®, pattern, REG_EXTENDED | REG_NEWLINE); in xx()
61 fprintf(stdout, "OK(N): /%s/ '%s'\n", pattern, str); in xx()
65 fprintf(stdout, "FAIL: /%s/ '%s'\n", pattern, str); in xx()
71 fprintf(stdout, "FAIL(N): /%s/ '%s'\n", pattern, str); in xx()
76 fprintf(stdout, "OK: /%s/ '%s'\n", pattern, str); in xx()
80 fprintf(stdout, "FAIL: /%s/ '%s' %d-%d : %d-%d\n", pattern, str, in xx()
92 r = onig_new(®, (UChar* )pattern, (UChar* )(pattern + SLEN(pattern)), in xx()
115 fprintf(stdout, "OK(N): /%s/ '%s'\n", pattern, str); in xx()
119 fprintf(stdout, "FAIL: /%s/ '%s'\n", pattern, str); in xx()
125 fprintf(stdout, "FAIL(N): /%s/ '%s'\n", pattern, str); in xx()
130 fprintf(stdout, "OK: /%s/ '%s'\n", pattern, str); in xx()
134 fprintf(stdout, "FAIL: /%s/ '%s' %d-%d : %d-%d\n", pattern, str, in xx()
144 static void x2(char* pattern, char* str, int from, int to) in x2() argument
146 xx(pattern, str, from, to, 0, 0); in x2()
149 static void x3(char* pattern, char* str, int from, int to, int mem) in x3() argument
151 xx(pattern, str, from, to, mem, 0); in x3()
154 static void n(char* pattern, char* str) in n() argument
156 xx(pattern, str, 0, 0, 0, 1); in n()