Searched refs:rightValue (Results 1 – 4 of 4) sorted by relevance
/base/update/updater/services/script/script_interpreter/ |
D | script_context.cpp | 170 #define INTEGER_INTEGER_COMPUTER(op, rightValue) do { \ argument 171 IntegerValue* value = static_cast<IntegerValue *>((rightValue).get()); \ 179 #define INTEGER_FLOAT_MATH_COMPUTER(op, rightValue) do { \ argument 180 FloatValue* value = static_cast<FloatValue *>((rightValue).get()); \ 188 #define INTEGER_MATH_COMPUTER(op, rightValue) do { \ argument 189 if (rightValue->GetValueType() == UScriptValue::VALUE_TYPE_INTEGER) { \ 190 INTEGER_INTEGER_COMPUTER(op, (rightValue)); \ 191 } else if ((rightValue)->GetValueType() == UScriptValue::VALUE_TYPE_FLOAT) { \ 192 INTEGER_FLOAT_MATH_COMPUTER(op, (rightValue)); \ 196 #define INTEGER_FLOAT_LOGIC_COMPUTER(op, rightValue) do { \ argument [all …]
|
D | script_context.h | 63 static UScriptValuePtr GetRightCompluteValue(UScriptValuePtr rightValue); 110 bool ComputerEqual(const UScriptValuePtr rightValue); 132 …UScriptValuePtr ComputerReturn(int32_t action, UScriptValuePtr rightValue, UScriptValuePtr defRetu… 137 int32_t ComputerLogic(UScriptValuePtr rightValue) const;
|
/base/update/updater/test/unittest/script/ |
D | script_interpreter_unittest.cpp | 45 … UScriptValuePtr rightValue = std::make_shared<UScriptValue>(UScriptValue::VALUE_TYPE_RETURN); in TestScriptInterpreterScriptValue() local 50 value->Computer(action, rightValue); in TestScriptInterpreterScriptValue() 84 rv->Computer(action, rightValue); in TestScriptInterpreterScriptValue() 95 ev->Computer(action, rightValue); in TestScriptInterpreterScriptValue() 120 UScriptValuePtr rightValue = std::make_shared<IntegerValue>(0); in TestIntegerValueComputer() local 122 if (value == nullptr || rightValue == nullptr) { in TestIntegerValueComputer() 125 value->Computer(UScriptExpression::DIV_OPERATOR, rightValue); in TestIntegerValueComputer() 143 UScriptValuePtr rightValue = std::make_shared<IntegerValue>(0); in TestFloatValueComputer() local 145 if (value == nullptr || rightValue == nullptr) { in TestFloatValueComputer() 148 value->Computer(UScriptExpression::DIV_OPERATOR, rightValue); in TestFloatValueComputer() [all …]
|
/base/security/security_component_manager/frameworks/security_component/src/ |
D | sec_comp_base.cpp | 330 …auto rightValue = std::tie(other->type_, other->fontSize_, other->iconSize_, other->textIconSpace_, in CompareComponentBasicInfo() local 335 return (leftValue == rightValue); in CompareComponentBasicInfo()
|