Searched refs:cost_ins (Results 1 - 6 of 6) sorted by relevance

/netbsd-6-1-5-RELEASE/external/bsd/tre/dist/lib/
H A Dtre-match-approx.c133 reach->params.cost_ins = default_params.cost_ins;
135 reach->params.cost_ins = value;
243 default_params.cost_ins,
390 if (reach[id].params.cost_ins != TRE_PARAM_UNSET)
391 cost += reach[id].params.cost_ins;
410 if (reach[id].params.cost_ins != TRE_PARAM_UNSET)
411 cost0 += reach[id].params.cost_ins;
413 cost0 += default_params.cost_ins;
H A Dtre.h188 int cost_ins; /* Default cost of an inserted character. */ member in struct:__anon2330
H A Dtre-parse.c616 int cost_ins, cost_del, cost_subst, cost_max; local
625 cost_ins = cost_del = cost_subst = cost_max = TRE_PARAM_UNSET;
773 cost_ins = cost;
871 if (cost_ins == TRE_PARAM_UNSET)
905 params[TRE_PARAM_COST_INS] = cost_ins;
919 min, max, cost_ins, cost_del, cost_subst, cost_max,
H A Dregexec.c336 params->cost_ins = 1;
/netbsd-6-1-5-RELEASE/external/bsd/tre/dist/python/
H A Dtre-python.c72 &self->ap.cost_del, &self->ap.cost_ins,
92 self->ap.cost_ins, self->ap.max_cost,
102 { "inscost", T_INT, offsetof(TreFuzzynessObject, ap.cost_ins), 0,
/netbsd-6-1-5-RELEASE/external/bsd/tre/dist/src/
H A Dagrep.c584 match_params.cost_ins = atoi(optarg);

Completed in 118 milliseconds