Searched refs:haystack_dup (Results 1 – 2 of 2) sorted by relevance
/PHP-8.2/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-8.2/ext/standard/ |
H A D | string.c | 1913 zend_string *needle_dup, *haystack_dup; local 1951 haystack_dup = zend_string_tolower(haystack); 1954 zend_string_release_ex(haystack_dup, 0); 1958 p = ZSTR_VAL(haystack_dup) + offset; 1959 e = ZSTR_VAL(haystack_dup) + ZSTR_LEN(haystack); 1962 zend_string_release_ex(haystack_dup, 0); 1967 p = ZSTR_VAL(haystack_dup); 1969 e = ZSTR_VAL(haystack_dup) + ZSTR_LEN(haystack); 1977 RETVAL_LONG(found - ZSTR_VAL(haystack_dup)); 1979 zend_string_release_ex(haystack_dup, 0); [all …]
|
Completed in 21 milliseconds