Lines Matching defs:pattern
39 * the search parameters such as the pattern and algorithm name.
59 * the pattern to look for and flags. As a flag, you can set TS_IGNORECASE
70 * the position of the first occurrence of the pattern or UINT_MAX if
82 * const char *pattern = "chicken";
85 * conf = textsearch_prepare("kmp", pattern, strlen(pattern),
219 * textsearch_find_continuous - search a pattern in continuous/linear data
228 * Returns the position of first occurrence of the pattern or
248 * @pattern: pattern data
249 * @len: length of pattern
254 * configuration for the specified pattern.
256 * Note: The format of the pattern may not be compatible between
260 * parameters or a ERR_PTR(). If a zero length pattern is passed, this
263 struct ts_config *textsearch_prepare(const char *algo, const void *pattern,
289 conf = ops->init(pattern, len, gfp_mask, flags);