Searched refs:lc_haystack (Results 1 – 1 of 1) sorted by relevance
/PHP-7.2/ext/standard/ |
H A D | string.c | 3264 static zend_string *php_str_to_str_i_ex(zend_string *haystack, char *lc_haystack, argument 3276 end = lc_haystack + ZSTR_LEN(haystack); 3277 …for (p = lc_haystack; (r = (char*)php_memnstr(p, ZSTR_VAL(lc_needle), ZSTR_LEN(lc_needle), end)); … 3281 memcpy(ZSTR_VAL(new_str) + (r - lc_haystack), str, str_len); 3292 char *o = lc_haystack; 3316 end = lc_haystack + ZSTR_LEN(haystack); 3318 …for (p = lc_haystack; (r = (char*)php_memnstr(p, ZSTR_VAL(lc_needle), ZSTR_LEN(lc_needle), end)); … 3319 memcpy(e, ZSTR_VAL(haystack) + (p - lc_haystack), r - p); 3327 memcpy(e, ZSTR_VAL(haystack) + (p - lc_haystack), end - p); 3342 if (memcmp(lc_haystack, ZSTR_VAL(lc_needle), ZSTR_LEN(lc_needle))) {
|
Completed in 26 milliseconds