/ohos5.0/base/update/updater/services/script/script_interpreter/ |
H A D | script_context.cpp | 243 if (rightValue == nullptr) { in Computer() 249 INTEGER_MATH_COMPUTER(+, rightValue); in Computer() 355 if (rightValue == nullptr) { in Computer() 361 FLOAT_MATH_COMPUTER(+, rightValue); in Computer() 364 FLOAT_MATH_COMPUTER(-, rightValue); in Computer() 367 FLOAT_MATH_COMPUTER(*, rightValue); in Computer() 370 FLOAT_MATH_COMPUTER_DIV(rightValue); in Computer() 373 FLOAT_LOGIC_COMPUTER(>, rightValue); in Computer() 379 FLOAT_LOGIC_COMPUTER(<, rightValue); in Computer() 463 if (rightValue == nullptr) { in Computer() [all …]
|
H A 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;
|
/ohos5.0/base/update/updater/test/unittest/script/ |
H A D | script_interpreter_unittest.cpp | 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() 165 if (value == nullptr || rightValue == nullptr) { in TestStringValueComputer() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/ |
H A D | arkts_native_render_node_bridge.cpp | 48 auto rightValue = RenderNodeBridge::GetNumber<float>(vm, runtimeCallInfo, 3, 0.0f); in SetRectShape() local 52 nativeNode, leftValue, topValue, rightValue - leftValue, bottomValue - topValue); in SetRectShape() 60 …rightValue - leftValue, bottomValue - topValue, fillColorValue, strokeColorValue, strokeWidthValue… in SetRectShape() 107 auto rightValue = RenderNodeBridge::GetNumber<float>(vm, runtimeCallInfo, 11, 0.0f); in SetRoundRectShape() local 111 …bottomLeftYValue, bottomRightXValue, bottomRightYValue, leftValue, topValue, rightValue - leftValu… in SetRoundRectShape() 136 auto rightValue = RenderNodeBridge::GetNumber<float>(vm, runtimeCallInfo, 3, 0.0f); in SetOvalShape() local 140 nativeNode, leftValue, topValue, rightValue - leftValue, bottomValue - topValue); in SetOvalShape() 148 …rightValue - leftValue, bottomValue - topValue, fillColorValue, strokeColorValue, strokeWidthValue… in SetOvalShape()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ark_component/src/ |
H A D | ArkClassDefine.ts | 1089 rightValue: Length | undefined; 1105 this.rightValue = undefined; 1122 this.rightValue === another.rightValue && 1140 rightValue: Length | undefined; 1152 this.rightValue = undefined; 1165 this.rightValue === another.rightValue &&
|
H A D | ArkSwiper.ts | 359 right = (this.value as ArkDotIndicator).rightValue; 388 right = (this.value as ArkDigitIndicator).rightValue;
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/select/ |
H A D | select_model_ng.cpp | 320 void SelectModelNG::SetPaddingRight(const CalcDimension& rightValue) in SetPaddingRight() argument 326 if (!NearEqual(rightValue.Value(), 0.0)) { in SetPaddingRight() 327 if (rightValue.Unit() == DimensionUnit::CALC) { in SetPaddingRight() 329 rightValue.IsNonNegative() ? rightValue.CalcValue() : CalcDimension().CalcValue()); in SetPaddingRight() 331 … paddings.right = NG::CalcLength(rightValue.IsNonNegative() ? rightValue : CalcDimension()); in SetPaddingRight()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper_indicator/indicator_common/ |
H A D | swiper_indicator_utils.h | 155 auto rightValue = GetValidEdgeLength(swiperWidth, indicatorWidth, right.value()); in CalcIndicatrOffSetX() local 156 … offsetX = swiperWidth - indicatorWidth - rightValue - swiperPaddingRight - borderWidthRight; in CalcIndicatrOffSetX()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_button_ffi.cpp | 157 Dimension rightValue(right, static_cast<DimensionUnit>(rightUnit)); in FfiOHOSAceFrameworkButtonSetPadding() local 160 ViewAbstractModel::GetInstance()->SetPaddings(topValue, rightValue, bottomValue, leftValue); in FfiOHOSAceFrameworkButtonSetPadding()
|
H A D | cj_swiper_ffi.cpp | 117 Dimension rightValue(value.right, static_cast<DimensionUnit>(value.rightUnit)); in FfiOHOSAceFrameworkSwiperSetIndicatorStyle() local 123 .dimRight = rightValue, in FfiOHOSAceFrameworkSwiperSetIndicatorStyle()
|
/ohos5.0/base/security/security_component_manager/frameworks/security_component/src/ |
H A D | sec_comp_base.cpp | 382 …auto rightValue = std::tie(other->type_, other->fontSize_, other->iconSize_, other->textIconSpace_, in CompareComponentBasicInfo() local 387 return (leftValue == rightValue); in CompareComponentBasicInfo()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/property/ |
H A D | measure_property.h | 385 void SetEdges(const T& leftValue, const T& rightValue, const T& topValue, const T& bottomValue) in SetEdges() 388 right = rightValue; in SetEdges()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_swiper.cpp | 445 JSRef<JSVal> rightValue = obj->GetProperty(static_cast<int32_t>(ArkUIIndex::RIGHT_VALUE)); in GetDotIndicatorInfo() local 464 swiperParameters.dimRight = ParseIndicatorDimension(rightValue); in GetDotIndicatorInfo() 743 JSRef<JSVal> rightValue = obj->GetProperty("right"); in SetIndicatorStyle() local 755 swiperParameters.dimRight = ParseIndicatorDimension(rightValue); in SetIndicatorStyle()
|
H A D | js_view_abstract.cpp | 4751 auto rightValue = object->GetProperty(static_cast<int32_t>(ArkUIIndex::RIGHT)); in ParseBorderStyle() local 4752 if (rightValue->IsNumber()) { in ParseBorderStyle() 4753 styleRight = ConvertBorderStyle(rightValue->ToNumber<int32_t>()); in ParseBorderStyle() 4790 auto rightValue = object->GetProperty("right"); in ParseOuterBorderStyle() local 4791 if (!rightValue->IsUndefined() && rightValue->IsNumber()) { in ParseOuterBorderStyle() 4792 styleRight = ConvertBorderStyle(rightValue->ToNumber<int32_t>()); in ParseOuterBorderStyle() 10426 auto rightValue = obj->GetProperty("right"); in ParseBorderStyleProps() local 10427 if (!rightValue->IsUndefined() && rightValue->IsNumber()) { in ParseBorderStyleProps() 10428 … ConvertOptionBorderStyle(rightValue->ToNumber<int32_t>(), borderStyleProperty.styleRight); in ParseBorderStyleProps()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/moduletest/src/ |
H A D | distributeddb_nb_batch_crud_test.cpp | 1836 Value leftValue, rightValue; in ConsistencyBatchCheck() local 1840 rightValue.clear(); in ConsistencyBatchCheck() 1842 EXPECT_EQ(DistributedDBNbTestTools::Get(*delegate, keyRight->at(i), rightValue), OK); in ConsistencyBatchCheck() 1844 if (GetIntValue(leftValue) + GetIntValue(rightValue) != (times + 1)) { in ConsistencyBatchCheck() 1847 GetIntValue(leftValue), GetIntValue(rightValue)); in ConsistencyBatchCheck()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | node_swiper_modifier.cpp | 237 auto rightValue = GetInfoFromVectorByIndex(dotIndicatorInfo, DOT_INDICATOR_RIGHT); in GetDotIndicatorInfo() local 241 swiperParameters.dimRight = ParseIndicatorDimension(rightValue); in GetDotIndicatorInfo()
|
H A D | node_common_modifier.cpp | 2443 auto rightValue = values[NUM_2]; in SetPixelStretchEffect() local 2449 Dimension right(rightValue, static_cast<DimensionUnit>(rightUnit)); in SetPixelStretchEffect()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/ |
H A D | jsEnumStyle.js | 1867 this.rightValue = value;
|
H A D | arkComponent.js | 16070 this.rightValue = undefined; 16085 this.rightValue === another.rightValue && 16103 this.rightValue = undefined; 16114 this.rightValue === another.rightValue && 28202 right = this.value.rightValue; 28218 right = this.value.rightValue;
|