Lines Matching defs:pattern
19 /* Match STRING against the file name pattern PATTERN, returning zero if
21 static int EXT (INT opt, const CHAR *pattern, const CHAR *string,
28 FCT (const CHAR *pattern, const CHAR *string, const CHAR *string_end,
31 register const CHAR *p = pattern, *n = string;
103 /* This is a pattern. Skip over it. */
129 /* The wildcard(s) is/are the last element of the pattern.
252 /* The name is too long and therefore the pattern
982 END (const CHAR *pattern)
984 const CHAR *p = pattern;
988 /* This is an invalid pattern. */
989 return pattern;
1006 /* This is no valid pattern. */
1007 return pattern;
1021 EXT (INT opt, const CHAR *pattern, const CHAR *string, const CHAR *string_end,
1032 size_t pattern_len = STRLEN (pattern);
1037 /* Parse the pattern. Store the individual parts in the list. */
1039 for (startp = p = pattern + 1; ; ++p)
1041 /* This is an invalid pattern. */
1059 /* This is no valid pattern. */
1070 /* This means we found the end of the pattern. */
1118 /* First match the prefix with the current pattern with the
1119 current pattern. */
1123 of the pattern. */
1130 /* This didn't work. Try the whole pattern. */
1132 && FCT (pattern - 1, rs, string_end,
1155 pattern list and the rest of the pattern following the
1156 pattern list. */
1189 /* None of the patterns together with the rest of the pattern