Lines Matching refs:orig_str
2517 zend_string *orig_str = zval_get_string(tmp_str); local
2531 f = (zend_long)ZSTR_LEN(orig_str) + f;
2535 } else if (f > (zend_long)ZSTR_LEN(orig_str)) {
2536 f = ZSTR_LEN(orig_str);
2545 f = (zend_long)ZSTR_LEN(orig_str) + f;
2549 } else if (f > (zend_long)ZSTR_LEN(orig_str)) {
2550 f = ZSTR_LEN(orig_str);
2566 l = ZSTR_LEN(orig_str);
2571 l = ZSTR_LEN(orig_str);
2575 l = (ZSTR_LEN(orig_str) - f) + l;
2581 if ((f + l) > (zend_long)ZSTR_LEN(orig_str)) {
2582 l = ZSTR_LEN(orig_str) - f;
2585 result_len = ZSTR_LEN(orig_str) - l;
2602 memcpy(ZSTR_VAL(result), ZSTR_VAL(orig_str), f);
2604 …cpy((ZSTR_VAL(result) + f + ZSTR_LEN(repl_str)), ZSTR_VAL(orig_str) + f + l, ZSTR_LEN(orig_str) - …
2609 memcpy(ZSTR_VAL(result), ZSTR_VAL(orig_str), f);
2610 memcpy((ZSTR_VAL(result) + f), ZSTR_VAL(orig_str) + f + l, ZSTR_LEN(orig_str) - f - l);
2617 memcpy(ZSTR_VAL(result), ZSTR_VAL(orig_str), f);
2619 …memcpy((ZSTR_VAL(result) + f + Z_STRLEN_P(repl)), ZSTR_VAL(orig_str) + f + l, ZSTR_LEN(orig_str) -…
2633 zend_string_release(orig_str);