Home
last modified time | relevance | path

Searched refs:haystack_dup (Results 1 – 2 of 2) sorted by relevance

/PHP-8.0/ext/intl/grapheme/
H A Dgrapheme_string.c179 char *haystack_dup, *needle_dup; in PHP_FUNCTION() local
183 haystack_dup = estrndup(haystack, haystack_len); in PHP_FUNCTION()
184 php_strtolower(haystack_dup, haystack_len); in PHP_FUNCTION()
186 found = php_memnstr(haystack_dup + noffset, needle_dup, needle_len, haystack_dup + haystack_len); in PHP_FUNCTION()
188 efree(haystack_dup); in PHP_FUNCTION()
192 RETURN_LONG(found - haystack_dup); in PHP_FUNCTION()
295 char *needle_dup, *haystack_dup; in PHP_FUNCTION() local
299 haystack_dup = estrndup(haystack, haystack_len); in PHP_FUNCTION()
300 php_strtolower(haystack_dup, haystack_len); in PHP_FUNCTION()
302 ret_pos = grapheme_strrpos_ascii(haystack_dup, haystack_len, needle_dup, needle_len, offset); in PHP_FUNCTION()
[all …]
/PHP-8.0/ext/standard/
H A Dstring.c1740 char *haystack_dup; local
1757 found_offset = found - haystack_dup;
1767 efree(haystack_dup);
1927 zend_string_release_ex(haystack_dup, 0);
1983 zend_string *needle_dup, *haystack_dup; local
2025 zend_string_release_ex(haystack_dup, 0);
2029 p = ZSTR_VAL(haystack_dup) + offset;
2033 zend_string_release_ex(haystack_dup, 0);
2038 p = ZSTR_VAL(haystack_dup);
2050 zend_string_release_ex(haystack_dup, 0);
[all …]

Completed in 19 milliseconds