Home | History | Annotate | Download | only in testsuite

Lines Matching refs:pattern

214 test (const char *pattern, int cflags, const char *string, int eflags,
221 n = regcomp (&re, pattern, cflags);
319 mb_test (const char *pattern, int cflags, const char *string, int eflags,
323 char *pattern_mb = mb_frob_pattern (pattern, letters);
349 mb_tests (const char *pattern, int cflags, const char *string, int eflags,
358 if (strstr (pattern, "[:xdigit:]"))
362 if (strstr (pattern, "[[=b=]]"))
370 if (!strchr (pattern, 'a') && !strchr (string, 'a')
371 && !strchr (pattern, 'A') && !strchr (string, 'A'))
377 if (!strchr (pattern, 'b') && !strchr (string, 'b')
378 && !strchr (pattern, 'B') && !strchr (string, 'B'))
384 if (!strchr (pattern, 'c') && !strchr (string, 'c')
385 && !strchr (pattern, 'C') && !strchr (string, 'C'))
391 if (!strchr (pattern, 'd') && !strchr (string, 'd')
392 && !strchr (pattern, 'D') && !strchr (string, 'D'))
398 ret |= mb_test (pattern, cflags, string, eflags, expect, matches,
440 char *pattern, *flagstr, *string, *expect, *matches, *p;
453 pattern = strtok (line, "\t");
454 if (pattern == NULL)
457 if (strcmp (pattern, "\"\"") == 0)
458 pattern += 2;
511 replace_special_chars (pattern);
512 glibc_re_syntax (pattern);
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,