Searched defs: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.c1837 char *haystack_dup; local
1845 haystack_dup = estrndup(ZSTR_VAL(haystack), ZSTR_LEN(haystack));
1851 efree(haystack_dup);
1855 found = php_stristr(haystack_dup, orig_needle, ZSTR_LEN(haystack), Z_STRLEN_P(needle));
1859 efree(haystack_dup);
1864 found = php_stristr(haystack_dup, needle_char, ZSTR_LEN(haystack), 1);
1868 found_offset = found - haystack_dup;
1878 efree(haystack_dup);
1996 zend_string *needle_dup = NULL, *haystack_dup; local
2016 haystack_dup
2126 zend_string *needle_dup, *haystack_dup, *ord_needle = NULL; local
[all...]

Completed in 7 milliseconds