Lines Matching refs:len1
220 int len1, len2; in php_spn_common_handler() local
223 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|ll", &s11, &len1, in php_spn_common_handler()
229 len = len1; in php_spn_common_handler()
235 start += len1; in php_spn_common_handler()
239 } else if (start > len1) { in php_spn_common_handler()
244 len += (len1 - start); in php_spn_common_handler()
250 if (len > len1 - start) { in php_spn_common_handler()
251 len = len1 - start; in php_spn_common_handler()
2870 static void php_similar_str(const char *txt1, int len1, const char *txt2, int len2, int *pos1, int … argument
2873 char *end1 = (char *) txt1 + len1;
2893 static int php_similar_char(const char *txt1, int len1, const char *txt2, int len2) argument
2898 php_similar_str(txt1, len1, txt2, len2, &pos1, &pos2, &max);
2904 if ((pos1 + max < len1) && (pos2 + max < len2)) {
2905 sum += php_similar_char(txt1 + pos1 + max, len1 - pos1 - max,