Home
last modified time | relevance | path

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

/PHP-7.1/ext/intl/grapheme/
H A Dgrapheme_string.c172 char *haystack, *needle, *haystack_dup, *needle_dup; in PHP_FUNCTION() local
207 haystack_dup = estrndup(haystack, haystack_len); in PHP_FUNCTION()
208 php_strtolower(haystack_dup, haystack_len); in PHP_FUNCTION()
210 found = php_memnstr(haystack_dup + noffset, needle_dup, needle_len, haystack_dup + haystack_len); in PHP_FUNCTION()
212 efree(haystack_dup); in PHP_FUNCTION()
216 RETURN_LONG(found - haystack_dup); in PHP_FUNCTION()
335 char *needle_dup, *haystack_dup; in PHP_FUNCTION() local
339 haystack_dup = estrndup(haystack, haystack_len); in PHP_FUNCTION()
340 php_strtolower(haystack_dup, haystack_len); in PHP_FUNCTION()
342 ret_pos = grapheme_strrpos_ascii(haystack_dup, haystack_len, needle_dup, needle_len, offset); in PHP_FUNCTION()
[all …]
/PHP-7.1/ext/standard/
H A Dstring.c1823 char *haystack_dup; local
1837 efree(haystack_dup);
1845 efree(haystack_dup);
1854 found_offset = found - haystack_dup;
1864 efree(haystack_dup);
2026 zend_string_release(haystack_dup);
2167 zend_string_release(haystack_dup);
2176 zend_string_release(haystack_dup);
2181 p = ZSTR_VAL(haystack_dup);
2193 zend_string_release(haystack_dup);
[all …]

Completed in 17 milliseconds