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

/PHP_TRUNK/ext/intl/grapheme/
H A Dgrapheme_string.c169 char *haystack, *needle, *haystack_dup, *needle_dup; local
202 needle_dup = estrndup(needle, needle_len);
203 php_strtolower(needle_dup, needle_len);
207 found = php_memnstr(haystack_dup + offset, needle_dup, needle_len, haystack_dup + haystack_len);
210 efree(needle_dup);
332 char *needle_dup, *haystack_dup; local
334 needle_dup = estrndup(needle, needle_len);
335 php_strtolower(needle_dup, needle_len);
339 ret_pos = grapheme_strrpos_ascii(haystack_dup, haystack_len, needle_dup, needle_len, offset);
342 efree(needle_dup);
[all...]
/PHP_TRUNK/ext/standard/
H A Dstring.c1974 zend_string *needle_dup = NULL, *haystack_dup; local
1995 needle_dup = php_string_tolower(Z_STR_P(needle));
1997 needle_dup->val, needle_dup->len, haystack_dup->val + haystack->len);
2019 if (needle_dup) {
2020 zend_string_release(needle_dup);
2104 zend_string *needle_dup, *haystack_dup, *ord_needle = NULL; local
2187 needle_dup = php_string_tolower(needle);
2188 if ((found = (char *)zend_memnrstr(p, needle_dup->val, needle_dup
[all...]

Completed in 17 milliseconds