Searched refs:lc_haystack (Results 1 – 1 of 1) sorted by relevance
/php-src/ext/standard/ |
H A D | string.c | 3232 static zend_string *php_str_to_str_i_ex(zend_string *haystack, const char *lc_haystack, argument 3245 end = lc_haystack + ZSTR_LEN(haystack); 3246 …for (p = lc_haystack; (r = (char*)php_memnstr(p, ZSTR_VAL(lc_needle), ZSTR_LEN(lc_needle), end)); … 3250 memcpy(ZSTR_VAL(new_str) + (r - lc_haystack), str, str_len); 3261 const char *o = lc_haystack; 3285 end = lc_haystack + ZSTR_LEN(haystack); 3287 …for (p = lc_haystack; (r = (char*)php_memnstr(p, ZSTR_VAL(lc_needle), ZSTR_LEN(lc_needle), end)); … 3288 e = zend_mempcpy(e, ZSTR_VAL(haystack) + (p - lc_haystack), r - p); 3294 e = zend_mempcpy(e, ZSTR_VAL(haystack) + (p - lc_haystack), end - p); 3308 if (memcmp(lc_haystack, ZSTR_VAL(lc_needle), ZSTR_LEN(lc_needle))) {
|
Completed in 15 milliseconds