Home
last modified time | relevance | path

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

/PHP-7.4/ext/intl/grapheme/
H A Dgrapheme_string.c205 char *haystack_dup, *needle_dup; in PHP_FUNCTION() local
209 haystack_dup = estrndup(haystack, haystack_len); in PHP_FUNCTION()
210 php_strtolower(haystack_dup, haystack_len); in PHP_FUNCTION()
212 found = php_memnstr(haystack_dup + noffset, needle_dup, needle_len, haystack_dup + haystack_len); in PHP_FUNCTION()
214 efree(haystack_dup); in PHP_FUNCTION()
218 RETURN_LONG(found - haystack_dup); in PHP_FUNCTION()
337 char *needle_dup, *haystack_dup; in PHP_FUNCTION() local
341 haystack_dup = estrndup(haystack, haystack_len); in PHP_FUNCTION()
342 php_strtolower(haystack_dup, haystack_len); in PHP_FUNCTION()
344 ret_pos = grapheme_strrpos_ascii(haystack_dup, haystack_len, needle_dup, needle_len, offset); in PHP_FUNCTION()
[all …]
/PHP-7.4/ext/standard/
H A Dstring.c1835 char *haystack_dup; local
1852 efree(haystack_dup);
1860 efree(haystack_dup);
1873 found_offset = found - haystack_dup;
1883 efree(haystack_dup);
2064 zend_string_release_ex(haystack_dup, 0);
2215 zend_string_release_ex(haystack_dup, 0);
2220 p = ZSTR_VAL(haystack_dup) + offset;
2229 p = ZSTR_VAL(haystack_dup);
2241 zend_string_release_ex(haystack_dup, 0);
[all …]

Completed in 21 milliseconds