Searched refs:needle_dup (Results 1 – 2 of 2) sorted by relevance
/PHP-7.2/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.2/ext/standard/ |
H A D | string.c | 2010 zend_string *needle_dup = NULL, *haystack_dup; local 2037 needle_dup = php_string_tolower(Z_STR_P(needle)); 2039 ZSTR_VAL(needle_dup), ZSTR_LEN(needle_dup), ZSTR_VAL(haystack_dup) + ZSTR_LEN(haystack)); 2061 if (needle_dup) { 2062 zend_string_release(needle_dup); 2140 zend_string *needle_dup, *haystack_dup, *ord_needle = NULL; local 2225 needle_dup = php_string_tolower(needle); 2226 if ((found = (char *)zend_memnrstr(p, ZSTR_VAL(needle_dup), ZSTR_LEN(needle_dup), e))) { 2228 zend_string_release(needle_dup); 2232 zend_string_release(needle_dup);
|
Completed in 19 milliseconds