Searched refs:distance (Results 1 – 2 of 2) sorted by relevance
/PHP-5.3/ext/standard/ |
H A D | levenshtein.c | 99 int distance = -1; in PHP_FUNCTION() local 106 distance = reference_levdist(str1, str1_len, str2, str2_len, 1, 1, 1); in PHP_FUNCTION() 113 distance = reference_levdist(str1, str1_len, str2, str2_len, cost_ins, cost_rep, cost_del); in PHP_FUNCTION() 120 distance = custom_levdist(str1, str2, callback_name TSRMLS_CC); in PHP_FUNCTION() 127 if (distance < 0 && /* TODO */ ZEND_NUM_ARGS() != 3) { in PHP_FUNCTION() 131 RETURN_LONG(distance); in PHP_FUNCTION()
|
/PHP-5.3/Zend/ |
H A D | zend_compile.c | 1895 long current, distance; in zend_resolve_goto_label() local 1917 for (distance = 0; current != dest->brk_cont; distance++) { in zend_resolve_goto_label() 1929 if (distance == 0) { in zend_resolve_goto_label() 1936 ZVAL_LONG(&opline->op2.u.constant, distance); in zend_resolve_goto_label()
|
Completed in 20 milliseconds