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

/PHP_5_6/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_6/ext/standard/
H A Dstring.c1865 char *needle_dup = NULL, *haystack_dup; local
1891 needle_dup = estrndup(Z_STRVAL_P(needle), Z_STRLEN_P(needle));
1892 php_strtolower(needle_dup, Z_STRLEN_P(needle));
1893 found = php_memnstr(haystack_dup + offset, needle_dup, Z_STRLEN_P(needle), haystack_dup + haystack_len);
1908 if (needle_dup) {
1909 efree(needle_dup);
2002 char *needle_dup, *haystack_dup; local
2053 needle_dup = estrndup(needle, needle_len);
2054 php_strtolower(needle_dup, needle_len);
2060 efree(needle_dup);
3675 char *end, *haystack_dup = NULL, *needle_dup = NULL; local
[all...]

Completed in 11 milliseconds