Lines Matching refs:cflags
214 test (const char *pattern, int cflags, const char *string, int eflags,
221 n = regcomp (&re, pattern, cflags);
288 if (cflags & REG_NOSUB)
319 mb_test (const char *pattern, int cflags, const char *string, int eflags,
337 ret = test (pattern_mb, cflags, string_mb, eflags, expect_mb,
349 mb_tests (const char *pattern, int cflags, const char *string, int eflags,
398 ret |= mb_test (pattern, cflags, string, eflags, expect, matches,
441 int cflags = REG_EXTENDED, eflags = 0, try_bre_ere = 0;
477 cflags &= ~REG_EXTENDED;
486 cflags |= REG_ICASE;
489 cflags |= REG_NOSUB;
492 cflags |= REG_NEWLINE;
531 if (test (pattern, cflags, string, eflags, expect, matches, "FAIL")
533 && test (pattern, cflags & ~REG_EXTENDED, string, eflags,
543 else if (test (pattern, cflags, string, eflags, expect, matches,
546 && test (pattern, cflags & ~REG_EXTENDED, string,
549 else if (mb_tests (pattern, cflags, string, eflags, expect, matches)
551 && mb_tests (pattern, cflags & ~REG_EXTENDED, string,