Searched refs:cost_del (Results 1 – 2 of 2) sorted by relevance
/PHP-5.4/ext/standard/ |
H A D | levenshtein.c | 30 …_levdist(const char *s1, int l1, const char *s2, int l2, int cost_ins, int cost_rep, int cost_del ) in reference_levdist() argument 39 return l1 * cost_del; in reference_levdist() 52 p2[0] = p1[0] + cost_del; in reference_levdist() 56 c1 = p1[i2 + 1] + cost_del; in reference_levdist() 98 long cost_ins, cost_rep, cost_del; in PHP_FUNCTION() local 110 …MLS_CC, "sslll", &str1, &str1_len, &str2, &str2_len, &cost_ins, &cost_rep, &cost_del) == FAILURE) { in PHP_FUNCTION() 113 distance = reference_levdist(str1, str1_len, str2, str2_len, cost_ins, cost_rep, cost_del); in PHP_FUNCTION()
|
H A D | basic_functions.c | 1596 ZEND_ARG_INFO(0, cost_del)
|
Completed in 13 milliseconds