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

/PHP_TRUNK/ext/intl/grapheme/
H A Dgrapheme_string.c169 char *haystack, *needle, *haystack_dup, *needle_dup; local
204 haystack_dup = estrndup(haystack, haystack_len);
205 php_strtolower(haystack_dup, haystack_len);
207 found = php_memnstr(haystack_dup + offset, needle_dup, needle_len, haystack_dup + haystack_len);
209 efree(haystack_dup);
213 RETURN_LONG(found - haystack_dup);
332 char *needle_dup, *haystack_dup; local
336 haystack_dup = estrndup(haystack, haystack_len);
337 php_strtolower(haystack_dup, haystack_le
[all...]
/PHP_TRUNK/ext/standard/
H A Dstring.c1851 char *haystack_dup; local
1859 haystack_dup = estrndup(ZSTR_VAL(haystack), ZSTR_LEN(haystack));
1865 efree(haystack_dup);
1869 found = php_stristr(haystack_dup, orig_needle, ZSTR_LEN(haystack), Z_STRLEN_P(needle));
1873 efree(haystack_dup);
1878 found = php_stristr(haystack_dup, needle_char, ZSTR_LEN(haystack), 1);
1882 found_offset = found - haystack_dup;
1892 efree(haystack_dup);
2010 zend_string *needle_dup = NULL, *haystack_dup; local
2030 haystack_dup
2140 zend_string *needle_dup, *haystack_dup, *ord_needle = NULL; local
[all...]

Completed in 8 milliseconds