Lines Matching full:pattern
14 * match_one: - Determines if a string matches a simple pattern
15 * @s: the string to examine for presence of the pattern
16 * @p: the string containing the pattern
20 * Description: Determines if the pattern @p is present in string @s. Can only
21 * match extremely simple token=arg style patterns. If the pattern is found,
96 * &struct match_token whose pattern is set to the NULL pointer.
109 for (p = table; !match_one(s, p->pattern, args) ; p++) in match_token()
239 * match_wildcard: - parse if a string matches given wildcard pattern
240 * @pattern: wildcard pattern
244 * pattern @pattern. The pattern may contain two type wildcardes:
249 bool match_wildcard(const char *pattern, const char *str) in match_wildcard() argument
252 const char *p = pattern; in match_wildcard()
266 pattern = p; in match_wildcard()
277 p = pattern; in match_wildcard()