Searched refs:needle_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
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_TRUNK/ext/standard/
H A Dstring.c1846 char *needle_dup = NULL, *haystack_dup; local
1872 needle_dup = estrndup(Z_STRVAL_P(needle), Z_STRLEN_P(needle));
1873 php_strtolower(needle_dup, Z_STRLEN_P(needle));
1874 found = (char*)php_memnstr(haystack_dup + offset, needle_dup, Z_STRLEN_P(needle), haystack_dup + haystack->len);
1889 if (needle_dup) {
1890 efree(needle_dup);
1994 char *needle_dup, *haystack_dup; local
2045 needle_dup = estrndup(needle, needle_len);
2046 php_strtolower(needle_dup, needle_len);
2052 efree(needle_dup);
3496 char *end, *haystack_dup = NULL, *needle_dup = NULL; local
[all...]

Completed in 7 milliseconds