Lines Matching defs:pattern
24 * match_one - Determines if a string matches a simple pattern
25 * @s: the string to examine for presence of the pattern
26 * @p: the string containing the pattern
30 * Description: Determines if the pattern @p is present in string @s. Can only
31 * match extremely simple token=arg style patterns. If the pattern is found,
106 * &struct match_token whose pattern is set to the NULL pointer.
119 for (p = table; !match_one(s, p->pattern, args) ; p++)
272 * match_wildcard - parse if a string matches given wildcard pattern
273 * @pattern: wildcard pattern
277 * pattern @pattern. The pattern may contain two types of wildcards:
281 * Return: If the @str matches the @pattern, return true, else return false.
283 bool match_wildcard(const char *pattern, const char *str)
286 const char *p = pattern;
300 pattern = p;
311 p = pattern;