Lines Matching full:pattern
15 * match_one - Determines if a string matches a simple pattern
16 * @s: the string to examine for presence of the pattern
17 * @p: the string containing the pattern
21 * Description: Determines if the pattern @p is present in string @s. Can only
22 * match extremely simple token=arg style patterns. If the pattern is found,
97 * &struct match_token whose pattern is set to the NULL pointer.
110 for (p = table; !match_one(s, p->pattern, args) ; p++) in match_token()
271 * match_wildcard - parse if a string matches given wildcard pattern
272 * @pattern: wildcard pattern
276 * pattern @pattern. The pattern may contain two types of wildcards:
280 * Return: If the @str matches the @pattern, return true, else return false.
282 bool match_wildcard(const char *pattern, const char *str) in match_wildcard() argument
285 const char *p = pattern; in match_wildcard()
299 pattern = p; in match_wildcard()
310 p = pattern; in match_wildcard()