Lines Matching defs:pattern
38 * search parameters such as the pattern and algorithm name.
58 * the pattern to look for and flags. As a flag, you can set TS_IGNORECASE
80 * const char *pattern = "chicken";
83 * conf = textsearch_prepare("kmp", pattern, strlen(pattern),
215 * textsearch_find_continuous - search a pattern in continuous/linear data
224 * Returns the position of first occurrence of the pattern or
243 * @pattern: pattern data
244 * @len: length of pattern
249 * configuration for the specified pattern. Upon completion all
253 * Note: The format of the pattern may not be compatible between
257 * parameters or a ERR_PTR(). If a zero length pattern is passed, this
260 struct ts_config *textsearch_prepare(const char *algo, const void *pattern,
286 conf = ops->init(pattern, len, gfp_mask, flags);