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
977 END (const CHAR *pattern)
979 const CHAR *p = pattern;
983 /* This is an invalid pattern. */
984 return pattern;
1001 /* This is no valid pattern. */
1002 return pattern;
1016 EXT (INT opt, const CHAR *pattern, const CHAR *string, const CHAR *string_end,
1028 size_t pattern_len = STRLEN (pattern);
1038 /* Parse the pattern. Store the individual parts in the list. */
1040 for (startp = p = pattern + 1; ; ++p)
1042 /* This is an invalid pattern. */
1060 /* This is no valid pattern. */
1071 /* This means we found the end of the pattern. */
1134 /* First match the prefix with the current pattern with the
1135 current pattern. */
1139 of the pattern. */
1146 /* This didn't work. Try the whole pattern. */
1148 && FCT (pattern - 1, rs, string_end,
1185 pattern list and the rest of the pattern following the
1186 pattern list. */
1231 /* None of the patterns together with the rest of the pattern