Searched defs: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.c1698 char *haystack_dup; local
1706 haystack_dup = estrndup(haystack->val, haystack->len);
1712 efree(haystack_dup);
1716 found = php_stristr(haystack_dup, orig_needle, haystack->len, Z_STRLEN_P(needle));
1720 efree(haystack_dup);
1725 found = php_stristr(haystack_dup, needle_char, haystack->len, 1);
1729 found_offset = found - haystack_dup;
1739 efree(haystack_dup);
1855 char *needle_dup = NULL, *haystack_dup; local
1872 haystack_dup
2003 char *needle_dup, *haystack_dup; local
3505 char *end, *haystack_dup = NULL, *needle_dup = NULL; local
[all...]

Completed in 8 milliseconds