Lines Matching refs:retval
950 std::auto_ptr< AstExprValue > retval(new AstExprValue()); in eval_bin_op() local
951 retval->et = eType; in eval_bin_op()
958 retval->u.hval = m_subExpr1->getExprValue()->u.hval % m_subExpr2->getExprValue()->u.hval; in eval_bin_op()
961 retval->u.dval = m_subExpr1->getExprValue()->u.dval + m_subExpr2->getExprValue()->u.dval; in eval_bin_op()
964 retval->u.dval = m_subExpr1->getExprValue()->u.dval - m_subExpr2->getExprValue()->u.dval; in eval_bin_op()
967 retval->u.dval = m_subExpr1->getExprValue()->u.dval * m_subExpr2->getExprValue()->u.dval; in eval_bin_op()
972 retval->u.dval = m_subExpr1->getExprValue()->u.dval / m_subExpr2->getExprValue()->u.dval; in eval_bin_op()
978 return retval.release(); in eval_bin_op()
1000 std::auto_ptr< AstExprValue > retval(new AstExprValue()); in eval_bit_op() local
1001 retval->et = ET_long; in eval_bit_op()
1006 retval->u.lval = m_subExpr1->getExprValue()->u.lval | m_subExpr2->getExprValue()->u.lval; in eval_bit_op()
1009 retval->u.lval = m_subExpr1->getExprValue()->u.lval ^ m_subExpr2->getExprValue()->u.lval; in eval_bit_op()
1012 retval->u.lval = m_subExpr1->getExprValue()->u.lval & m_subExpr2->getExprValue()->u.lval; in eval_bit_op()
1015 retval->u.lval = m_subExpr1->getExprValue()->u.lval << m_subExpr2->getExprValue()->u.lval; in eval_bit_op()
1018 retval->u.lval = m_subExpr1->getExprValue()->u.lval >> m_subExpr2->getExprValue()->u.lval; in eval_bit_op()
1024 return retval.release(); in eval_bit_op()
1043 std::auto_ptr< AstExprValue > retval(new AstExprValue()); in eval_un_op() local
1044 retval->et = ET_double; in eval_un_op()
1049 retval->u.lval = m_subExpr1->getExprValue()->u.lval; in eval_un_op()
1052 retval->u.lval = -(m_subExpr1->getExprValue()->u.lval); in eval_un_op()
1058 retval->u.lval = ~m_subExpr1->getExprValue()->u.lval; in eval_un_op()
1064 return retval.release(); in eval_un_op()