Searched refs:needle_dup (Results 1 – 2 of 2) sorted by relevance
/PHP-7.1/ext/intl/grapheme/ |
H A D | grapheme_string.c | 172 char *haystack, *needle, *haystack_dup, *needle_dup; in PHP_FUNCTION() local 205 needle_dup = estrndup(needle, needle_len); in PHP_FUNCTION() 206 php_strtolower(needle_dup, needle_len); in PHP_FUNCTION() 210 found = php_memnstr(haystack_dup + noffset, needle_dup, needle_len, haystack_dup + haystack_len); in PHP_FUNCTION() 213 efree(needle_dup); in PHP_FUNCTION() 335 char *needle_dup, *haystack_dup; in PHP_FUNCTION() local 337 needle_dup = estrndup(needle, needle_len); in PHP_FUNCTION() 338 php_strtolower(needle_dup, needle_len); in PHP_FUNCTION() 342 ret_pos = grapheme_strrpos_ascii(haystack_dup, haystack_len, needle_dup, needle_len, offset); in PHP_FUNCTION() 345 efree(needle_dup); in PHP_FUNCTION()
|
/PHP-7.1/ext/standard/ |
H A D | string.c | 1979 zend_string *needle_dup = NULL, *haystack_dup; local 2003 needle_dup = php_string_tolower(Z_STR_P(needle)); 2005 ZSTR_VAL(needle_dup), ZSTR_LEN(needle_dup), ZSTR_VAL(haystack_dup) + ZSTR_LEN(haystack)); 2027 if (needle_dup) { 2028 zend_string_release(needle_dup); 2106 zend_string *needle_dup, *haystack_dup, *ord_needle = NULL; local 2189 needle_dup = php_string_tolower(needle); 2190 if ((found = (char *)zend_memnrstr(p, ZSTR_VAL(needle_dup), ZSTR_LEN(needle_dup), e))) { 2192 zend_string_release(needle_dup); 2196 zend_string_release(needle_dup);
|
Completed in 65 milliseconds