Searched refs:needle_dup (Results 1 – 2 of 2) sorted by relevance
/php-src/ext/intl/grapheme/ |
H A D | grapheme_string.c | 165 char *haystack_dup, *needle_dup; in PHP_FUNCTION() local 167 needle_dup = estrndup(needle, needle_len); in PHP_FUNCTION() 168 zend_str_tolower(needle_dup, needle_len); in PHP_FUNCTION() 172 found = php_memnstr(haystack_dup + noffset, needle_dup, needle_len, haystack_dup + haystack_len); in PHP_FUNCTION() 175 efree(needle_dup); in PHP_FUNCTION() 287 char *needle_dup, *haystack_dup; in PHP_FUNCTION() local 289 needle_dup = estrndup(needle, needle_len); in PHP_FUNCTION() 290 zend_str_tolower(needle_dup, needle_len); in PHP_FUNCTION() 294 ret_pos = grapheme_strrpos_ascii(haystack_dup, haystack_len, needle_dup, needle_len, offset); in PHP_FUNCTION() 297 efree(needle_dup); in PHP_FUNCTION()
|
/php-src/ext/standard/ |
H A D | string.c | 2055 zend_string *needle_dup, *haystack_dup; local 2117 needle_dup = zend_string_tolower(needle); 2118 if ((found = (char *)zend_memnrstr(p, ZSTR_VAL(needle_dup), ZSTR_LEN(needle_dup), e))) { 2120 zend_string_release_ex(needle_dup, 0); 2123 zend_string_release_ex(needle_dup, 0);
|
Completed in 20 milliseconds