Lines Matching refs:eflags
217 test (const char *pattern, int cflags, const char *string, int eflags, in test() argument
228 if (eflags == -1) in test()
258 if (eflags == -1) in test()
273 if (regexec (&re, string, 10, rm, eflags)) in test()
321 mb_test (const char *pattern, int cflags, const char *string, int eflags, in mb_test() argument
327 = eflags == -1 ? string : mb_frob_string (string, letters); in mb_test()
339 ret = test (pattern_mb, cflags, string_mb, eflags, expect_mb, in mb_test()
351 mb_tests (const char *pattern, int cflags, const char *string, int eflags, in mb_tests() argument
400 ret |= mb_test (pattern, cflags, string, eflags, expect, matches, in mb_tests()
441 int cflags = REG_EXTENDED, eflags = 0, try_bre_ere = 0; in main() local
483 eflags = -1; in main()
495 eflags |= REG_NOTBOL; in main()
498 eflags |= REG_NOTEOL; in main()
513 if (eflags != -1) in main()
531 if (test (pattern, cflags, string, eflags, expect, matches, "FAIL") in main()
533 && test (pattern, cflags & ~REG_EXTENDED, string, eflags, in main()
543 else if (test (pattern, cflags, string, eflags, expect, matches, in main()
547 eflags, expect, matches, "UTF-8 FAIL"))) in main()
549 else if (mb_tests (pattern, cflags, string, eflags, expect, matches) in main()
552 eflags, expect, matches))) in main()