Lines Matching refs:regex
202 cmp = pred->regex.match(addr, &pred->regex, pred->regex.field_len);
217 cmp = pred->regex.match(*addr, &pred->regex, len);
243 cmp = pred->regex.match(addr, &pred->regex, str_len);
257 * regex_match_foo - Basic regex callbacks
260 * @r: the regex structure containing the pattern string
268 static int regex_match_full(char *str, struct regex *r, int len)
275 static int regex_match_front(char *str, struct regex *r, int len)
282 static int regex_match_middle(char *str, struct regex *r, int len)
289 static int regex_match_end(char *str, struct regex *r, int len)
300 * filter_parse_regex - parse a basic regex
301 * @buff: the raw regex
302 * @len: length of the regex
306 * This passes in a buffer containing a regex and this function will
351 struct regex *r = &pred->regex;
539 pred->regex.len = 0;
803 pred->regex.field_len = field->size;
810 ret = strict_strtoll(pred->regex.pattern, 0, &val);
812 ret = strict_strtoull(pred->regex.pattern, 0, &val);
1145 strcpy(pred->regex.pattern, operand2);
1146 pred->regex.len = strlen(pred->regex.pattern);