Home
last modified time | relevance | path

Searched refs:distance (Results 1 – 2 of 2) sorted by relevance

/PHP-5.5/ext/standard/
H A Dlevenshtein.c99 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.5/Zend/
H A Dzend_compile.c2331 long current, distance; in zend_resolve_goto_label() local
2360 for (distance = 0; current != dest->brk_cont; distance++) { in zend_resolve_goto_label()
2372 if (distance == 0) { in zend_resolve_goto_label()
2379 ZVAL_LONG(label, distance); in zend_resolve_goto_label()

Completed in 24 milliseconds