Searched refs:cost_max (Results 1 – 1 of 1) sorted by relevance
/netbsd-src/external/bsd/tre/dist/lib/ |
H A D | tre-parse.c | 616 int cost_ins, cost_del, cost_subst, cost_max; in tre_parse_bound() local 625 cost_ins = cost_del = cost_subst = cost_max = TRE_PARAM_UNSET; in tre_parse_bound() 748 cost_max = tre_parse_int(&r, ctx->re_end); in tre_parse_bound() 749 if (cost_max < 0) in tre_parse_bound() 750 cost_max = INT_MAX; in tre_parse_bound() 752 cost_max--; in tre_parse_bound() 894 if (cost_max == TRE_PARAM_UNSET) in tre_parse_bound() 895 cost_max = INT_MAX; in tre_parse_bound() 908 params[TRE_PARAM_COST_MAX] = cost_max; in tre_parse_bound() 919 min, max, cost_ins, cost_del, cost_subst, cost_max, in tre_parse_bound()
|