Home
last modified time | relevance | path

Searched refs:match_rule (Results 1 – 2 of 2) sorted by relevance

/netbsd/src/external/ibm-public/postfix/dist/src/util/
Ddict_regexp.c137 DICT_REGEXP_MATCH_RULE *match_rule; /* the rule we matched */ member
163 DICT_REGEXP_MATCH_RULE *match_rule = ctxt->match_rule; in dict_regexp_expand() local
175 if (n < 1 || n > match_rule->max_sub) in dict_regexp_expand()
177 dict_regexp->dict.name, match_rule->rule.lineno, in dict_regexp_expand()
224 DICT_REGEXP_MATCH_RULE *match_rule; in dict_regexp_lookup() local
251 match_rule = (DICT_REGEXP_MATCH_RULE *) rule; in dict_regexp_lookup()
253 match_rule->first_exp, in dict_regexp_lookup()
254 match_rule->first_match, in dict_regexp_lookup()
256 match_rule->max_sub > 0 ? in dict_regexp_lookup()
257 match_rule->max_sub + 1 : 0, in dict_regexp_lookup()
[all …]
Ddict_pcre.c222 DICT_PCRE_MATCH_RULE *match_rule; /* the rule we matched */ member
265 DICT_PCRE_MATCH_RULE *match_rule = ctxt->match_rule; in dict_pcre_expand() local
288 dict_pcre->dict.name, match_rule->rule.lineno, ret); in dict_pcre_expand()
424 DICT_PCRE_MATCH_RULE *match_rule; in dict_pcre_lookup() local
450 match_rule = (DICT_PCRE_MATCH_RULE *) rule; in dict_pcre_lookup()
452 match_rule->pattern, in dict_pcre_lookup()
453 DICT_PCRE_MATCH_HINT(match_rule), in dict_pcre_lookup()
454 match_rule->match, lookup_string, lookup_len)) in dict_pcre_lookup()
462 if (match_rule->max_sub == 0) in dict_pcre_lookup()
463 return match_rule->replacement; in dict_pcre_lookup()
[all …]