Searched refs:haystack_dup (Results 1 – 2 of 2) sorted by relevance
/php-src/ext/intl/grapheme/ |
H A D | grapheme_string.c | 159 char *haystack_dup, *needle_dup; in PHP_FUNCTION() local 163 haystack_dup = estrndup(haystack, haystack_len); in PHP_FUNCTION() 164 zend_str_tolower(haystack_dup, haystack_len); in PHP_FUNCTION() 166 found = php_memnstr(haystack_dup + noffset, needle_dup, needle_len, haystack_dup + haystack_len); in PHP_FUNCTION() 168 efree(haystack_dup); in PHP_FUNCTION() 172 RETURN_LONG(found - haystack_dup); in PHP_FUNCTION() 275 char *needle_dup, *haystack_dup; in PHP_FUNCTION() local 279 haystack_dup = estrndup(haystack, haystack_len); in PHP_FUNCTION() 280 zend_str_tolower(haystack_dup, haystack_len); in PHP_FUNCTION() 282 ret_pos = grapheme_strrpos_ascii(haystack_dup, haystack_len, needle_dup, needle_len, offset); in PHP_FUNCTION() [all …]
|
/php-src/ext/standard/ |
H A D | string.c | 2087 zend_string *needle_dup, *haystack_dup; local 2125 haystack_dup = zend_string_tolower(haystack); 2128 zend_string_release_ex(haystack_dup, 0); 2132 p = ZSTR_VAL(haystack_dup) + offset; 2133 e = ZSTR_VAL(haystack_dup) + ZSTR_LEN(haystack); 2136 zend_string_release_ex(haystack_dup, 0); 2141 p = ZSTR_VAL(haystack_dup); 2143 e = ZSTR_VAL(haystack_dup) + ZSTR_LEN(haystack); 2151 RETVAL_LONG(found - ZSTR_VAL(haystack_dup)); 2153 zend_string_release_ex(haystack_dup, 0); [all …]
|
Completed in 64 milliseconds