Searched refs:cost_del (Results 1 – 2 of 2) sorted by relevance
/PHP-7.2/ext/standard/ |
H A D | levenshtein.c | 30 … size_t l1, const char *s2, size_t l2, zend_long cost_ins, zend_long cost_rep, zend_long cost_del ) in reference_levdist() argument 40 return l1 * cost_del; in reference_levdist() 53 p2[0] = p1[0] + cost_del; in reference_levdist() 57 c1 = p1[i2 + 1] + cost_del; in reference_levdist() 99 zend_long cost_ins, cost_rep, cost_del; in PHP_FUNCTION() local 111 …ters(5, "sslll", &str1, &str1_len, &str2, &str2_len, &cost_ins, &cost_rep, &cost_del) == FAILURE) { in PHP_FUNCTION() 114 distance = reference_levdist(str1, str1_len, str2, str2_len, cost_ins, cost_rep, cost_del); in PHP_FUNCTION()
|
H A D | basic_functions.c | 1557 ZEND_ARG_INFO(0, cost_del)
|
Completed in 35 milliseconds