Home
last modified time | relevance | path

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

/PHP-7.4/ext/standard/
H A Dlevenshtein.c97 size_t str1_len, str2_len, callback_len; in PHP_FUNCTION() local
103 if (zend_parse_parameters(2, "ss", &str1, &str1_len, &str2, &str2_len) == FAILURE) { in PHP_FUNCTION()
106 distance = reference_levdist(str1, str1_len, str2, str2_len, 1, 1, 1); in PHP_FUNCTION()
110 …if (zend_parse_parameters(5, "sslll", &str1, &str1_len, &str2, &str2_len, &cost_ins, &cost_rep, &c… in PHP_FUNCTION()
113 distance = reference_levdist(str1, str1_len, str2, str2_len, cost_ins, cost_rep, cost_del); in PHP_FUNCTION()
117 …if (zend_parse_parameters(3, "sss", &str1, &str1_len, &str2, &str2_len, &callback_name, &callback_… in PHP_FUNCTION()
/PHP-7.4/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.4/Zend/
H A Dzend_compile.c788 zend_string *zend_concat3(char *str1, size_t str1_len, char *str2, size_t str2_len, char *str3, siz… in zend_concat3() argument
790 size_t len = str1_len + str2_len + str3_len; in zend_concat3()
793 memcpy(ZSTR_VAL(res), str1, str1_len); in zend_concat3()
794 memcpy(ZSTR_VAL(res) + str1_len, str2, str2_len); in zend_concat3()
795 memcpy(ZSTR_VAL(res) + str1_len + str2_len, str3, str3_len); in zend_concat3()

Completed in 29 milliseconds