Lines Matching refs:pExpr
798 sal_Bool AstExpression::operator==(AstExpression *pExpr) in operator ==() argument
800 if (m_combOperator != pExpr->getCombOperator()) in operator ==()
803 pExpr->evaluate(EK_const); in operator ==()
804 if (m_exprValue == NULL || pExpr->getExprValue() == NULL) in operator ==()
806 if (m_exprValue->et != pExpr->getExprValue()->et) in operator ==()
811 return (m_exprValue->u.sval == pExpr->getExprValue()->u.sval) ? sal_True : sal_False; in operator ==()
813 return (m_exprValue->u.usval == pExpr->getExprValue()->u.usval) ? sal_True : sal_False; in operator ==()
815 return (m_exprValue->u.lval == pExpr->getExprValue()->u.lval) ? sal_True : sal_False; in operator ==()
817 return (m_exprValue->u.ulval == pExpr->getExprValue()->u.ulval) ? sal_True : sal_False; in operator ==()
819 return (m_exprValue->u.hval == pExpr->getExprValue()->u.hval) ? sal_True : sal_False; in operator ==()
821 return (m_exprValue->u.uhval == pExpr->getExprValue()->u.uhval) ? sal_True : sal_False; in operator ==()
823 return (m_exprValue->u.fval == pExpr->getExprValue()->u.fval) ? sal_True : sal_False; in operator ==()
825 return (m_exprValue->u.dval == pExpr->getExprValue()->u.dval) ? sal_True : sal_False; in operator ==()
827 return (m_exprValue->u.byval == pExpr->getExprValue()->u.byval) ? sal_True : sal_False; in operator ==()
829 return (m_exprValue->u.lval == pExpr->getExprValue()->u.lval) ? sal_True : sal_False; in operator ==()
838 sal_Bool AstExpression::compare(AstExpression *pExpr) in compare() argument
840 if (m_combOperator != pExpr->getCombOperator()) in compare()
843 pExpr->evaluate(EK_const); in compare()
844 if (m_exprValue == NULL || pExpr->getExprValue() == NULL) in compare()
846 if (m_exprValue->et != pExpr->getExprValue()->et) in compare()
851 return (m_exprValue->u.sval == pExpr->getExprValue()->u.sval) ? sal_True : sal_False; in compare()
853 return (m_exprValue->u.usval == pExpr->getExprValue()->u.usval) ? sal_True : sal_False; in compare()
855 return (m_exprValue->u.lval == pExpr->getExprValue()->u.lval) ? sal_True : sal_False; in compare()
857 return (m_exprValue->u.ulval == pExpr->getExprValue()->u.ulval) ? sal_True : sal_False; in compare()
859 return (m_exprValue->u.hval == pExpr->getExprValue()->u.hval) ? sal_True : sal_False; in compare()
861 return (m_exprValue->u.uhval == pExpr->getExprValue()->u.uhval) ? sal_True : sal_False; in compare()
863 return (m_exprValue->u.fval == pExpr->getExprValue()->u.fval) ? sal_True : sal_False; in compare()
865 return (m_exprValue->u.dval == pExpr->getExprValue()->u.dval) ? sal_True : sal_False; in compare()
867 return (m_exprValue->u.byval == pExpr->getExprValue()->u.byval) ? sal_True : sal_False; in compare()
869 return (m_exprValue->u.lval == pExpr->getExprValue()->u.lval) ? sal_True : sal_False; in compare()