Lines Matching refs:re

121 compf(const regex_t* re, const char* xstr, size_t xlen, regdisc_t* disc)  in compf()  argument
129 execf(const regex_t* re, void* data, const char* xstr, size_t xlen, const char* sstr, size_t slen, … in execf() argument
654 report(char* comment, char* fun, char* re, char* s, int len, char* msg, int flags, unsigned long te… in report() argument
659 if (re) in report()
662 quote(re, -1, test|TEST_DELIMIT); in report()
717 bad(char* comment, char* re, char* s, int len, unsigned long test) in bad() argument
720 report(comment, NiL, re, s, len, NiL, 0, test); in bad()
882 matchcheck(regmatch_t* match, int nmatch, int nsub, char* ans, char* re, char* s, int len, int flag… in matchcheck() argument
904 report("callout failed", NiL, re, s, len, NiL, flags, test); in matchcheck()
914 bad("improper answer\n", re, s, -1, test); in matchcheck()
930 bad("improper answer\n", re, s, -1, test); in matchcheck()
946 bad("improper answer\n", re, s, -1, test); in matchcheck()
951 report("failed: match was", NiL, re, s, len, NiL, flags, test); in matchcheck()
970 report("failed: match was", NiL, re, s, len, NiL, flags, test); in matchcheck()
981 report("failed: overran match array", NiL, re, s, len, NiL, flags, test); in matchcheck()
1078 extract(int* tabs, char* spec, char* re, char* s, char* ans, char* msg, char* accept, regmatch_t* m… in extract() argument
1116 quote(re, -1, test); in extract()
1138 catchfree(regex_t* preg, int flags, int* tabs, char* spec, char* re, char* s, char* ans, char* msg,… in catchfree() argument
1154 extract(tabs, spec, re, s, ans, msg, NiL, NiL, 0, 0, skip, level, test); in catchfree()
1157 report("failed", "regfree", re, NiL, -1, msg, flags, test); in catchfree()
1242 char* re; in main() local
1804 if (re = field[1]) in main()
1806 if (streq(re, "SAME")) in main()
1808 re = ppat; in main()
1814 escape(re); in main()
1815 re = expand(re, patbuf); in main()
1816 strcpy(ppat = pat, re); in main()
1913 extract(tabs, line, re, s, ans, msg, NiL, NiL, 0, 0, skip, level, test|TEST_OK); in main()
1919 quote(re, -1, test|TEST_DELIMIT); in main()
1944 cret = regcomp(&preg, re, flags); in main()
1948 cret = regcomp(&preg, re, flags); in main()
1955 p = re + preg.re_npat; in main()
1966 if (catchfree(&preg, flags, tabs, line, re, s, ans, msg, NiL, NiL, 0, 0, skip, level, test)) in main()
1980 p = re + preg.re_npat; in main()
1991 catchfree(&preg, flags, tabs, line, re, s, ans, msg, NiL, NiL, 0, 0, skip, level, test); in main()
1996 report("failed", fun, re, s, nstr, msg, flags, test); in main()
2002 report("failed", fun, re, s, nstr, msg, flags, test); in main()
2033 … skip = extract(tabs, line, re, s, ans, msg, "OK", NiL, 0, 0, skip, level, test|TEST_DELIMIT); in main()
2036 report("re_nsub incorrect", fun, re, NiL, -1, msg, flags, test); in main()
2049 skip = extract(tabs, line, re, s, ans, msg, "OK", NiL, 0, 0, skip, level, test|TEST_DELIMIT); in main()
2052 report("failed", fun, re, NiL, -1, msg, flags, test); in main()
2055 catchfree(&preg, flags, tabs, line, re, s, ans, msg, NiL, NiL, 0, 0, skip, level, test); in main()
2070 …skip = extract(tabs, line, re, s, ans, msg, codes[got].name, NiL, 0, 0, skip, level, test|TEST_DEL… in main()
2073 report("failed", fun, re, NiL, -1, msg, flags, test); in main()
2091 …skip = extract(tabs, line, re, s, ans, msg, codes[got].name, NiL, 0, 0, skip, level, test|TEST_DEL… in main()
2094 report("failed: invalid error code", NiL, re, NiL, -1, msg, flags, test); in main()
2101 …skip = extract(tabs, line, re, s, ans, msg, codes[got].name, NiL, 0, 0, skip, level, test|TEST_DEL… in main()
2106 report("should fail and did", fun, re, NiL, -1, msg, flags, test); in main()
2167 … skip = extract(tabs, line, re, s, ans, msg, "NOMATCH", NiL, 0, 0, skip, level, test|TEST_DELIMIT); in main()
2170 report("REG_NOSUB failed", fun, re, s, nstr, msg, flags, test); in main()
2178 …skip = extract(tabs, line, re, s, ans, msg, NiL, match, nmatch, nsub, skip, level, test|TEST_DELIM… in main()
2181 report("should fail and didn't", fun, re, s, nstr, msg, flags, test); in main()
2191 …skip = extract(tabs, line, re, s, ans, msg, "NOMATCH", NiL, 0, nsub, skip, level, test|TEST_DELIMI… in main()
2194 report("failed", fun, re, s, nstr, msg, flags, test); in main()
2207 …skip = extract(tabs, line, re, s, ans, msg, NiL, match, nmatch, nsub, skip, level, test|TEST_DELIM… in main()
2210 report("should fail and didn't", fun, re, s, nstr, msg, flags, test); in main()
2220 report("failed", fun, re, s, nstr, msg, flags, test); in main()
2233 skip = extract(tabs, line, re, s, ans, msg, NiL, NiL, 0, 0, skip, level, test); in main()
2236 report("failed: no match but match array assigned", NiL, re, s, nstr, msg, flags, test); in main()
2241 else if (matchcheck(match, nmatch, nsub, ans, re, s, nstr, flags, test)) in main()
2254 if (catchfree(&preg, flags, tabs, line, re, s, ans, msg, NiL, NiL, 0, 0, skip, level, test)) in main()
2260 … skip = extract(tabs, line, re, s, ans, msg, NiL, match, nmatch, nsub, skip, level, test|TEST_OK); in main()
2263 …skip = extract(tabs, line, re, s, ans, msg, NiL, match, nmatch, nsub, skip, level, test|TEST_DELIM… in main()
2264 if (catchfree(&preg, flags, tabs, line, re, s, ans, msg, NiL, NiL, 0, 0, skip, level, test)) in main()