Lines Matching defs:NiL
147 #ifndef NiL
149 #define NiL 0
151 #define NiL (char*)0
720 report(comment, NiL, re, s, len, NiL, 0, test);
837 bad("invalid C \\ escape\n", s - 1, NiL, 0, 0);
901 bad("out of space [discipline string]\n", NiL, NiL, 0, 0);
906 report("callout failed", NiL, re, s, len, NiL, flags, test);
953 report("failed: match was", NiL, re, s, len, NiL, flags, test);
972 report("failed: match was", NiL, re, s, len, NiL, flags, test);
983 report("failed: overran match array", NiL, re, s, len, NiL, flags, test);
984 matchprint(match, nmatch + 1, nsub, NiL, test);
1005 sigprocmask(op, &mask, NiL);
1127 matchprint(match, nmatch, nsub, NiL, test);
1156 extract(tabs, spec, re, s, ans, msg, NiL, NiL, 0, 0, skip, level, test);
1159 report("failed", "regfree", re, NiL, -1, msg, flags, test);
1406 if (regerror(REG_VERSIONID, NiL, pat, sizeof(pat)) > 0)
1442 bad("out of space [discipline string stream]\n", NiL, NiL, 0, 0);
1517 bad("too many fields\n", NiL, NiL, 0, 0);
1526 bad("NIL spec\n", NiL, NiL, 0, 0);
1542 bad("nmatch must be < 100\n", NiL, NiL, 0, 0);
1556 bad("locale query expected\n", NiL, NiL, 0, 0);
1559 bad("locale nesting not supported\n", NiL, NiL, 0, 0);
1561 bad("locale field expected\n", NiL, NiL, 0, 0);
1728 bad("invalid {...} nesting\n", NiL, NiL, 0, 0);
1762 bad("bad spec\n", spec, NiL, 0, test);
1797 bad("too few fields\n", NiL, NiL, 0, test);
1831 bad("NIL answer\n", NiL, NiL, 0, test);
1909 extract(tabs, line, re, s, ans, msg, NiL, NiL, 0, 0, skip, level, test|TEST_OK);
1955 cret = regsubcomp(&preg, p, NiL, 0, 0);
1959 cret = regsubcomp(&preg, p, NiL, 0, 0);
1964 if (catchfree(&preg, flags, tabs, line, re, s, ans, msg, NiL, NiL, 0, 0, skip, level, test))
1989 catchfree(&preg, flags, tabs, line, re, s, ans, msg, NiL, NiL, 0, 0, skip, level, test);
2031 skip = extract(tabs, line, re, s, ans, msg, "OK", NiL, 0, 0, skip, level, test|TEST_DELIMIT);
2034 report("re_nsub incorrect", fun, re, NiL, -1, msg, flags, test);
2047 skip = extract(tabs, line, re, s, ans, msg, "OK", NiL, 0, 0, skip, level, test|TEST_DELIMIT);
2050 report("failed", fun, re, NiL, -1, msg, flags, test);
2053 catchfree(&preg, flags, tabs, line, re, s, ans, msg, NiL, NiL, 0, 0, skip, level, test);
2068 skip = extract(tabs, line, re, s, ans, msg, codes[got].name, NiL, 0, 0, skip, level, test|TEST_DELIMIT);
2071 report("failed", fun, re, NiL, -1, msg, flags, test);
2089 skip = extract(tabs, line, re, s, ans, msg, codes[got].name, NiL, 0, 0, skip, level, test|TEST_DELIMIT);
2092 report("failed: invalid error code", NiL, re, NiL, -1, msg, flags, test);
2099 skip = extract(tabs, line, re, s, ans, msg, codes[got].name, NiL, 0, 0, skip, level, test|TEST_DELIMIT);
2104 report("should fail and did", fun, re, NiL, -1, msg, flags, test);
2165 skip = extract(tabs, line, re, s, ans, msg, "NOMATCH", NiL, 0, 0, skip, level, test|TEST_DELIMIT);
2176 skip = extract(tabs, line, re, s, ans, msg, NiL, match, nmatch, nsub, skip, level, test|TEST_DELIMIT);
2189 skip = extract(tabs, line, re, s, ans, msg, "NOMATCH", NiL, 0, nsub, skip, level, test|TEST_DELIMIT);
2205 skip = extract(tabs, line, re, s, ans, msg, NiL, match, nmatch, nsub, skip, level, test|TEST_DELIMIT);
2209 matchprint(match, nmatch, nsub, NiL, test);
2231 skip = extract(tabs, line, re, s, ans, msg, NiL, NiL, 0, 0, skip, level, test);
2234 report("failed: no match but match array assigned", NiL, re, s, nstr, msg, flags, test);
2235 matchprint(match, nmatch, nsub, NiL, test);
2252 if (catchfree(&preg, flags, tabs, line, re, s, ans, msg, NiL, NiL, 0, 0, skip, level, test))
2258 skip = extract(tabs, line, re, s, ans, msg, NiL, match, nmatch, nsub, skip, level, test|TEST_OK);
2261 skip = extract(tabs, line, re, s, ans, msg, NiL, match, nmatch, nsub, skip, level, test|TEST_DELIMIT);
2262 if (catchfree(&preg, flags, tabs, line, re, s, ans, msg, NiL, NiL, 0, 0, skip, level, test))