Searched refs:needle_dup (Results 1 – 2 of 2) sorted by relevance
/PHP-7.4/ext/intl/grapheme/ |
H A D | grapheme_string.c | 205 char *haystack_dup, *needle_dup; in PHP_FUNCTION() local 207 needle_dup = estrndup(needle, needle_len); in PHP_FUNCTION() 208 php_strtolower(needle_dup, needle_len); in PHP_FUNCTION() 212 found = php_memnstr(haystack_dup + noffset, needle_dup, needle_len, haystack_dup + haystack_len); in PHP_FUNCTION() 215 efree(needle_dup); in PHP_FUNCTION() 337 char *needle_dup, *haystack_dup; in PHP_FUNCTION() local 339 needle_dup = estrndup(needle, needle_len); in PHP_FUNCTION() 340 php_strtolower(needle_dup, needle_len); in PHP_FUNCTION() 344 ret_pos = grapheme_strrpos_ascii(haystack_dup, haystack_len, needle_dup, needle_len, offset); in PHP_FUNCTION() 347 efree(needle_dup); in PHP_FUNCTION()
|
/PHP-7.4/ext/standard/ |
H A D | string.c | 2009 zend_string *needle_dup = NULL, *haystack_dup; local 2036 needle_dup = php_string_tolower(Z_STR_P(needle)); 2038 ZSTR_VAL(needle_dup), ZSTR_LEN(needle_dup), ZSTR_VAL(haystack_dup) + ZSTR_LEN(haystack)); 2065 if (needle_dup) { 2066 zend_string_release_ex(needle_dup, 0); 2147 zend_string *needle_dup, *haystack_dup, *ord_needle = NULL; local 2237 needle_dup = php_string_tolower(needle); 2238 if ((found = (char *)zend_memnrstr(p, ZSTR_VAL(needle_dup), ZSTR_LEN(needle_dup), e))) { 2240 zend_string_release_ex(needle_dup, 0); 2244 zend_string_release_ex(needle_dup, 0);
|
Completed in 23 milliseconds