Home
last modified time | relevance | path

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

/PHP-7.3/ext/intl/grapheme/
H A Dgrapheme_string.c207 char *haystack_dup, *needle_dup; in PHP_FUNCTION() local
211 haystack_dup = estrndup(haystack, haystack_len); in PHP_FUNCTION()
212 php_strtolower(haystack_dup, haystack_len); in PHP_FUNCTION()
214 found = php_memnstr(haystack_dup + noffset, needle_dup, needle_len, haystack_dup + haystack_len); in PHP_FUNCTION()
216 efree(haystack_dup); in PHP_FUNCTION()
220 RETURN_LONG(found - haystack_dup); in PHP_FUNCTION()
339 char *needle_dup, *haystack_dup; in PHP_FUNCTION() local
343 haystack_dup = estrndup(haystack, haystack_len); in PHP_FUNCTION()
344 php_strtolower(haystack_dup, haystack_len); in PHP_FUNCTION()
346 ret_pos = grapheme_strrpos_ascii(haystack_dup, haystack_len, needle_dup, needle_len, offset); in PHP_FUNCTION()
[all …]
/PHP-7.3/ext/standard/
H A Dstring.c1852 char *haystack_dup; local
1869 efree(haystack_dup);
1877 efree(haystack_dup);
1890 found_offset = found - haystack_dup;
1900 efree(haystack_dup);
2081 zend_string_release_ex(haystack_dup, 0);
2232 zend_string_release_ex(haystack_dup, 0);
2237 p = ZSTR_VAL(haystack_dup) + offset;
2246 p = ZSTR_VAL(haystack_dup);
2258 zend_string_release_ex(haystack_dup, 0);
[all …]

Completed in 18 milliseconds