Searched refs:needle_dup (Results 1 – 2 of 2) sorted by relevance
/PHP-8.3/ext/intl/grapheme/ |
H A D | grapheme_string.c | 159 char *haystack_dup, *needle_dup; in PHP_FUNCTION() local 161 needle_dup = estrndup(needle, needle_len); in PHP_FUNCTION() 162 zend_str_tolower(needle_dup, needle_len); in PHP_FUNCTION() 166 found = php_memnstr(haystack_dup + noffset, needle_dup, needle_len, haystack_dup + haystack_len); in PHP_FUNCTION() 169 efree(needle_dup); in PHP_FUNCTION() 275 char *needle_dup, *haystack_dup; in PHP_FUNCTION() local 277 needle_dup = estrndup(needle, needle_len); in PHP_FUNCTION() 278 zend_str_tolower(needle_dup, needle_len); in PHP_FUNCTION() 282 ret_pos = grapheme_strrpos_ascii(haystack_dup, haystack_len, needle_dup, needle_len, offset); in PHP_FUNCTION() 285 efree(needle_dup); in PHP_FUNCTION()
|
/PHP-8.3/ext/standard/ |
H A D | string.c | 1856 zend_string *needle_dup, *haystack_dup; local 1918 needle_dup = zend_string_tolower(needle); 1919 if ((found = (char *)zend_memnrstr(p, ZSTR_VAL(needle_dup), ZSTR_LEN(needle_dup), e))) { 1921 zend_string_release_ex(needle_dup, 0); 1924 zend_string_release_ex(needle_dup, 0);
|
Completed in 18 milliseconds