Home
last modified time | relevance | path

Searched refs:str1_len (Results 1 – 3 of 3) sorted by relevance

/PHP-7.1/ext/standard/
H A Dlevenshtein.c98 size_t str1_len, str2_len, callback_len; in PHP_FUNCTION() local
104 if (zend_parse_parameters(2, "ss", &str1, &str1_len, &str2, &str2_len) == FAILURE) { in PHP_FUNCTION()
107 distance = reference_levdist(str1, str1_len, str2, str2_len, 1, 1, 1); in PHP_FUNCTION()
111 …if (zend_parse_parameters(5, "sslll", &str1, &str1_len, &str2, &str2_len, &cost_ins, &cost_rep, &c… in PHP_FUNCTION()
114 distance = reference_levdist(str1, str1_len, str2, str2_len, cost_ins, cost_rep, cost_del); in PHP_FUNCTION()
118 …if (zend_parse_parameters(3, "sss", &str1, &str1_len, &str2, &str2_len, &callback_name, &callback_… in PHP_FUNCTION()
/PHP-7.1/ext/intl/collator/
H A Dcollator_compare.c36 size_t str1_len = 0; in PHP_FUNCTION() local
50 &object, Collator_ce_ptr, &str1, &str1_len, &str2, &str2_len ) == FAILURE ) in PHP_FUNCTION()
76 &ustr1, &ustr1_len, str1, str1_len, COLLATOR_ERROR_CODE_P( co ) ); in PHP_FUNCTION()
/PHP-7.1/Zend/
H A Dzend_compile.c834 zend_string *zend_concat3(char *str1, size_t str1_len, char *str2, size_t str2_len, char *str3, siz… in zend_concat3() argument
836 size_t len = str1_len + str2_len + str3_len; in zend_concat3()
839 memcpy(ZSTR_VAL(res), str1, str1_len); in zend_concat3()
840 memcpy(ZSTR_VAL(res) + str1_len, str2, str2_len); in zend_concat3()
841 memcpy(ZSTR_VAL(res) + str1_len + str2_len, str3, str3_len); in zend_concat3()

Completed in 23 milliseconds