Home
last modified time | relevance | path

Searched refs:op1_len (Results 1 – 3 of 3) sorted by relevance

/PHP-8.0/Zend/
H A Dzend_ini_parser.y114 int length, op1_len; in zend_ini_add_string() local
127 op1_len = (int)Z_STRLEN_P(op1); in zend_ini_add_string()
132 length = op1_len + (int)Z_STRLEN_P(op2); in zend_ini_add_string()
135 memcpy(Z_STRVAL_P(result) + op1_len, Z_STRVAL_P(op2), Z_STRLEN_P(op2) + 1); in zend_ini_add_string()
H A Dzend_operators.c1880 size_t op1_len = Z_STRLEN_P(op1); in concat_function() local
1882 size_t result_len = op1_len + op2_len; in concat_function()
1885 if (UNEXPECTED(op1_len > ZSTR_MAX_LEN - op2_len)) { in concat_function()
1900 memcpy(ZSTR_VAL(result_str), Z_STRVAL_P(op1), op1_len); in concat_function()
1911 memcpy(ZSTR_VAL(result_str) + op1_len, Z_STRVAL_P(op2), op2_len); in concat_function()
/PHP-8.0/ext/opcache/jit/
H A Dzend_jit_helpers.c1573 size_t op1_len = Z_STRLEN_P(op1); in zend_jit_fast_assign_concat_helper() local
1575 size_t result_len = op1_len + op2_len; in zend_jit_fast_assign_concat_helper()
1578 if (UNEXPECTED(op1_len > SIZE_MAX - op2_len)) { in zend_jit_fast_assign_concat_helper()
1597 memcpy(ZSTR_VAL(result_str), Z_STRVAL_P(op1), op1_len); in zend_jit_fast_assign_concat_helper()
1601 memcpy(ZSTR_VAL(result_str) + op1_len, Z_STRVAL_P(op2), op2_len); in zend_jit_fast_assign_concat_helper()
1607 size_t op1_len = Z_STRLEN_P(op1); in zend_jit_fast_concat_helper() local
1609 size_t result_len = op1_len + op2_len; in zend_jit_fast_concat_helper()
1612 if (UNEXPECTED(op1_len > SIZE_MAX - op2_len)) { in zend_jit_fast_concat_helper()
1618 memcpy(ZSTR_VAL(result_str), Z_STRVAL_P(op1), op1_len); in zend_jit_fast_concat_helper()
1622 memcpy(ZSTR_VAL(result_str) + op1_len, Z_STRVAL_P(op2), op2_len); in zend_jit_fast_concat_helper()

Completed in 20 milliseconds