Lines Matching +full:no +full:- +full:comp
3 /*-
29 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
44 #include <atf-c.h>
74 { "a[-]?c", "ac" }, // basic.dat in bug()
156 { "a[-]?c", "ac" }, // basic.dat in bug()
200 { "no *? +? mimimal match ops", HAVE_MINIMAL }, in optional()
223 "BUG=alternation-order", // don't have it in unsupported()
224 "BUG=first-match", // don't have it in unsupported()
225 "BUG=nomatch-match", // don't have it in unsupported()
226 "BUG=repeat-any", // don't have it in unsupported()
227 "BUG=range-null", // don't have it in unsupported()
228 "BUG=repeat-null-unknown", // don't have it in unsupported()
229 "BUG=repeat-null", // don't have it in unsupported()
230 "BUG=repeat-artifact", // don't have it in unsupported()
231 "BUG=subexpression-first", // don't have it in unsupported()
237 "BUG=alternation-order", // don't have it in unsupported()
238 "BUG=first-match", // don't have it in unsupported()
239 "BUG=range-null", // don't have it in unsupported()
240 "BUG=repeat-null", // don't have it in unsupported()
241 "BUG=repeat-artifact", // don't have it in unsupported()
242 "BUG=subexpression-first", // don't have it in unsupported()
243 "BUG=repeat-short", // don't have it in unsupported()
260 geterror(const char *s, int *comp, int *exec) in geterror() argument
267 #define COMP 1 in geterror() macro
269 { "OK", 0, COMP|EXEC }, in geterror()
272 _DO(BADPAT, COMP) in geterror()
273 _DO(ECOLLATE, COMP) in geterror()
274 _DO(ECTYPE, COMP) in geterror()
275 _DO(EESCAPE, COMP) in geterror()
276 _DO(ESUBREG, COMP) in geterror()
277 _DO(EBRACK, COMP) in geterror()
278 _DO(EPAREN, COMP) in geterror()
279 _DO(EBRACE, COMP) in geterror()
280 _DO(BADBR, COMP) in geterror()
281 _DO(ERANGE, COMP) in geterror()
283 _DO(BADRPT, COMP) in geterror()
284 _DO(EMPTY, COMP) in geterror()
285 _DO(ASSERT, COMP) in geterror()
286 _DO(INVARG, COMP) in geterror()
288 _DO(ENOSYS, COMP) in geterror()
291 _DO(ILLSEQ, COMP) in geterror()
295 *comp = 0; in geterror()
299 if (nv[i].ce & COMP) in geterror()
300 *comp = nv[i].v; in geterror()
350 ATF_REQUIRE_MSG(i != 0, "No parentheses found"); in getmatches()
374 if (pm[i].rm_so == -1 && pm[i].rm_eo == -1) in checkmatches()
375 l = snprintf(res + off, len - off, "(?,?)"); in checkmatches()
377 l = snprintf(res + off, len - off, "(%lld,%lld)", in checkmatches()
379 ATF_REQUIRE_MSG((size_t) l < len - off, "String too long %s" in checkmatches()
380 " cur=%d, max=%zu", res, l, len - off); in checkmatches()
441 ATF_REQUIRE(strunvis(pattern, pattern) != -1); in att_test()
442 ATF_REQUIRE(strunvis(input, input) != -1); in att_test()
489 int comp, exec; in att_test() local
491 geterror(matches, &comp, &exec); in att_test()
495 comp = exec = 0; in att_test()
520 ATF_REQUIRE_MSG(c == comp, in att_test()
571 atf_tc_set_md_var(tc, "descr", "Tests left-associative " in ATF_TC_HEAD()
577 /* jmmv: I converted the original shell-based tests to C and they in ATF_TC_BODY()
588 atf_tc_set_md_var(tc, "descr", "Tests right-associative " in ATF_TC_HEAD()
594 /* jmmv: I converted the original shell-based tests to C and they in ATF_TC_BODY()