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

/PHP_TRUNK/ext/intl/grapheme/
H A Dgrapheme_string.c178 unsigned char *haystack, *needle, *haystack_dup, *needle_dup; local
219 haystack_dup = (unsigned char *)estrndup((char *)haystack, haystack_len);
220 php_strtolower((char *)haystack_dup, haystack_len);
222 found = (unsigned char*) php_memnstr((char *)haystack_dup + offset, (char *)needle_dup, needle_len, (char *)haystack_dup + haystack_len);
224 efree(haystack_dup);
228 RETURN_LONG(found - haystack_dup);
360 unsigned char *needle_dup, *haystack_dup; local
364 haystack_dup = (unsigned char *)estrndup((char *)haystack, haystack_len);
365 php_strtolower((char *)haystack_dup, haystack_le
[all...]
/PHP_TRUNK/ext/standard/
H A Dstring.c1701 char *haystack_dup; local
1709 haystack_dup = estrndup(haystack->val, haystack->len);
1715 efree(haystack_dup);
1719 found = php_stristr(haystack_dup, orig_needle, haystack->len, Z_STRLEN_P(needle));
1723 efree(haystack_dup);
1728 found = php_stristr(haystack_dup, needle_char, haystack->len, 1);
1732 found_offset = found - haystack_dup;
1742 efree(haystack_dup);
1858 char *needle_dup = NULL, *haystack_dup; local
1875 haystack_dup
2006 char *needle_dup, *haystack_dup; local
3508 char *end, *haystack_dup = NULL, *needle_dup = NULL; local
[all...]

Completed in 42 milliseconds