Lines Matching refs:m_exprValue
47 , m_exprValue(NULL) in AstExpression()
58 , m_exprValue(NULL) in AstExpression()
63 m_exprValue = new AstExprValue(); in AstExpression()
64 m_exprValue->et = ET_long; in AstExpression()
65 m_exprValue->u.lval = l; in AstExpression()
72 , m_exprValue(NULL) in AstExpression()
77 m_exprValue = new AstExprValue(); in AstExpression()
78 m_exprValue->et = et; in AstExpression()
79 m_exprValue->u.lval = l; in AstExpression()
86 , m_exprValue(NULL) in AstExpression()
91 m_exprValue = new AstExprValue(); in AstExpression()
92 m_exprValue->et = ET_hyper; in AstExpression()
93 m_exprValue->u.hval = h; in AstExpression()
100 , m_exprValue(NULL) in AstExpression()
105 m_exprValue = new AstExprValue(); in AstExpression()
106 m_exprValue->et = ET_uhyper; in AstExpression()
107 m_exprValue->u.uhval = uh; in AstExpression()
114 , m_exprValue(NULL) in AstExpression()
119 m_exprValue = new AstExprValue(); in AstExpression()
120 m_exprValue->et = ET_double; in AstExpression()
121 m_exprValue->u.dval = d; in AstExpression()
128 , m_exprValue(NULL) in AstExpression()
136 if ( m_exprValue ) in ~AstExpression()
137 delete m_exprValue; in ~AstExpression()
728 if (m_exprValue != NULL && m_exprValue->et == t) in coerce()
729 return m_exprValue; in coerce()
736 m_exprValue = eval_internal(EK_const); in coerce()
737 if (m_exprValue == NULL) in coerce()
745 copy->et = m_exprValue->et; in coerce()
746 switch (m_exprValue->et) in coerce()
749 copy->u.sval = m_exprValue->u.sval; in coerce()
752 copy->u.usval = m_exprValue->u.usval; in coerce()
755 copy->u.lval = m_exprValue->u.lval; in coerce()
758 copy->u.ulval = m_exprValue->u.ulval; in coerce()
761 copy->u.hval = m_exprValue->u.hval; in coerce()
764 copy->u.uhval = m_exprValue->u.uhval; in coerce()
767 copy->u.bval = m_exprValue->u.bval; in coerce()
770 copy->u.fval = m_exprValue->u.fval; in coerce()
773 copy->u.dval = m_exprValue->u.dval; in coerce()
776 copy->u.byval = m_exprValue->u.byval; in coerce()
785 m_exprValue = coerce_value(copy, t); in coerce()
786 return m_exprValue; in coerce()
794 m_exprValue = eval_internal(ek); in evaluate()
795 m_exprValue = eval_kind(m_exprValue, ek); in evaluate()
804 if (m_exprValue == NULL || pExpr->getExprValue() == NULL) in operator ==()
806 if (m_exprValue->et != pExpr->getExprValue()->et) in operator ==()
808 switch (m_exprValue->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 ==()
844 if (m_exprValue == NULL || pExpr->getExprValue() == NULL) in compare()
846 if (m_exprValue->et != pExpr->getExprValue()->et) in compare()
848 switch (m_exprValue->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()
890 if ( m_exprValue != NULL ) in eval_internal()
891 return eval_kind(m_exprValue, ek); in eval_internal()
902 m_exprValue = eval_bin_op(ek); in eval_internal()
903 return eval_kind(m_exprValue, ek); in eval_internal()
909 m_exprValue = eval_bit_op(ek); in eval_internal()
910 return eval_kind(m_exprValue, ek); in eval_internal()
914 m_exprValue = eval_un_op(ek); in eval_internal()
915 return eval_kind(m_exprValue, ek); in eval_internal()
917 m_exprValue = eval_symbol(ek); in eval_internal()
918 return eval_kind(m_exprValue, ek); in eval_internal()
1029 if (m_exprValue != NULL) in eval_un_op()
1030 return m_exprValue; in eval_un_op()
1128 if ( m_exprValue ) in toString()
1130 switch (m_exprValue->et) in toString()
1133 return OString::valueOf((sal_Int32)m_exprValue->u.sval); in toString()
1135 return OString::valueOf((sal_Int32)m_exprValue->u.usval); in toString()
1137 return OString::valueOf(m_exprValue->u.lval); in toString()
1139 return OString::valueOf((sal_Int32)m_exprValue->u.ulval); in toString()
1141 return OString::valueOf(m_exprValue->u.hval); in toString()
1143 return OString::valueOf((sal_Int64)m_exprValue->u.uhval); in toString()
1145 return OString::valueOf(m_exprValue->u.fval); in toString()
1147 return OString::valueOf(m_exprValue->u.dval); in toString()
1149 return OString::valueOf((sal_Int32)m_exprValue->u.byval); in toString()
1151 if ( m_exprValue->u.lval == 0) in toString()