Lines Matching refs:needle_dup
1883 char *needle_dup = NULL, *haystack_dup; local
1909 needle_dup = estrndup(Z_STRVAL_P(needle), Z_STRLEN_P(needle));
1910 php_strtolower(needle_dup, Z_STRLEN_P(needle));
1911 …found = php_memnstr(haystack_dup + offset, needle_dup, Z_STRLEN_P(needle), haystack_dup + haystack…
1926 if (needle_dup) {
1927 efree(needle_dup);
2020 char *needle_dup, *haystack_dup; local
2071 needle_dup = estrndup(needle, needle_len);
2072 php_strtolower(needle_dup, needle_len);
2078 efree(needle_dup);
2087 efree(needle_dup);
2101 if (memcmp(e, needle_dup, needle_len) == 0) {
2103 efree(needle_dup);
2110 efree(needle_dup);
3715 char *end, *haystack_dup = NULL, *needle_dup = NULL; local
3732 needle_dup = estrndup(needle, needle_len);
3734 php_strtolower(needle_dup, needle_len);
3736 for (p = haystack_dup; (r = php_memnstr(p, needle_dup, needle_len, end)); p = r + needle_len) {
3743 efree(needle_dup);
3749 needle_dup = estrndup(needle, needle_len);
3751 php_strtolower(needle_dup, needle_len);
3765 n = needle_dup;
3778 if (needle_dup) {
3779 efree(needle_dup);
3812 for (p = haystack_dup; (r = php_memnstr(p, needle_dup, needle_len, end)); p = r + needle_len) {
3831 if (needle_dup) {
3832 efree(needle_dup);