Searched defs:needle_dup (Results 1 - 2 of 2) sorted by relevance

/PHP_5_3/ext/intl/grapheme/
H A Dgrapheme_string.c178 unsigned char *haystack, *needle, *haystack_dup, *needle_dup; local
217 needle_dup = (unsigned char *)estrndup((char *)needle, needle_len);
218 php_strtolower((char *)needle_dup, needle_len);
222 found = (unsigned char*) php_memnstr((char *)haystack_dup + offset, (char *)needle_dup, needle_len, (char *)haystack_dup + haystack_len);
225 efree(needle_dup);
360 unsigned char *needle_dup, *haystack_dup; local
362 needle_dup = (unsigned char *)estrndup((char *)needle, needle_len);
363 php_strtolower((char *)needle_dup, needle_len);
367 ret_pos = grapheme_strrpos_ascii(haystack_dup, haystack_len, needle_dup, needle_len, offset);
370 efree(needle_dup);
[all...]
/PHP_5_3/ext/standard/
H A Dstring.c1783 char *needle_dup = NULL, *haystack_dup; local
1809 needle_dup = estrndup(Z_STRVAL_P(needle), Z_STRLEN_P(needle));
1810 php_strtolower(needle_dup, Z_STRLEN_P(needle));
1811 found = php_memnstr(haystack_dup + offset, needle_dup, Z_STRLEN_P(needle), haystack_dup + haystack_len);
1826 if (needle_dup) {
1827 efree(needle_dup);
1920 char *needle_dup, *haystack_dup; local
1971 needle_dup = estrndup(needle, needle_len);
1972 php_strtolower(needle_dup, needle_len);
1978 efree(needle_dup);
3404 char *end, *haystack_dup = NULL, *needle_dup = NULL; local
[all...]

Completed in 10 milliseconds