Lines Matching refs:op2_lval

492 #define convert_op1_op2_long(op1, op1_lval, op2, op2_lval, result, opcode, sigil) \  argument
522 op2_lval = Z_LVAL_P(op2); \
527 op2_lval = zendi_try_get_long(op2, &failed); \
536 op2_lval = Z_LVAL_P(op2); \
1487 zend_long op1_lval, op2_lval; in mod_function() local
1489 convert_op1_op2_long(op1, op1_lval, op2, op2_lval, result, ZEND_MOD, "%"); in mod_function()
1491 if (op2_lval == 0) { in mod_function()
1508 if (op2_lval == -1) { in mod_function()
1514 ZVAL_LONG(result, op1_lval % op2_lval); in mod_function()
1647 zend_long op1_lval, op2_lval; in bitwise_or_function() local
1707 op2_lval = zendi_try_get_long(op2, &failed); in bitwise_or_function()
1716 op2_lval = Z_LVAL_P(op2); in bitwise_or_function()
1722 ZVAL_LONG(result, op1_lval | op2_lval); in bitwise_or_function()
1729 zend_long op1_lval, op2_lval; in bitwise_and_function() local
1789 op2_lval = zendi_try_get_long(op2, &failed); in bitwise_and_function()
1798 op2_lval = Z_LVAL_P(op2); in bitwise_and_function()
1804 ZVAL_LONG(result, op1_lval & op2_lval); in bitwise_and_function()
1811 zend_long op1_lval, op2_lval; in bitwise_xor_function() local
1871 op2_lval = zendi_try_get_long(op2, &failed); in bitwise_xor_function()
1880 op2_lval = Z_LVAL_P(op2); in bitwise_xor_function()
1886 ZVAL_LONG(result, op1_lval ^ op2_lval); in bitwise_xor_function()
1893 zend_long op1_lval, op2_lval; in shift_left_function() local
1895 convert_op1_op2_long(op1, op1_lval, op2, op2_lval, result, ZEND_SL, "<<"); in shift_left_function()
1898 if (UNEXPECTED((zend_ulong)op2_lval >= SIZEOF_ZEND_LONG * 8)) { in shift_left_function()
1899 if (EXPECTED(op2_lval > 0)) { in shift_left_function()
1923 ZVAL_LONG(result, (zend_long) ((zend_ulong) op1_lval << op2_lval)); in shift_left_function()
1930 zend_long op1_lval, op2_lval; in shift_right_function() local
1932 convert_op1_op2_long(op1, op1_lval, op2, op2_lval, result, ZEND_SR, ">>"); in shift_right_function()
1935 if (UNEXPECTED((zend_ulong)op2_lval >= SIZEOF_ZEND_LONG * 8)) { in shift_right_function()
1936 if (EXPECTED(op2_lval > 0)) { in shift_right_function()
1959 ZVAL_LONG(result, op1_lval >> op2_lval); in shift_right_function()