Home
last modified time | relevance | path

Searched refs:value (Results 18076 - 18100 of 36030) sorted by relevance

1...<<721722723724725726727728729730>>...1442

/third_party/vk-gl-cts/framework/randomshaders/
H A DrsgShader.cpp63 ValueAccess(variable->getType(), &m_min[0]) = valueRange.getMin().value(); in ShaderInput()
64 ValueAccess(variable->getType(), &m_max[0]) = valueRange.getMax().value(); in ShaderInput()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
H A Dutil.h20 // If overflow happens, clamp the value to UINT_MIN or UINT_MAX.
22 bool atoi_clamp(const char *str, unsigned int *value);
46 // 2. it sets the value to infinity if overflow happens.
50 bool strtof_clamp(const std::string &str, float *value);
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A DAttributeMap.cpp22 void AttributeMap::insert(EGLAttrib key, EGLAttrib value) in insert() argument
24 mValidatedAttributes[key] = value; in insert()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper/
H A Dswiper_pattern.cpp156 algo->SetJumpIndex(jumpIndex_.value()); in CreateLayoutAlgorithm()
158 algo->SetTargetIndex(targetIndex_.value()); in CreateLayoutAlgorithm()
197 if (oldChildrenSize_.has_value() && oldChildrenSize_.value() != totalCount) { in OnIndexChange()
198 oldIndex = GetLoopIndex(oldIndex_, oldChildrenSize_.value()); in OnIndexChange()
231 if (preLoop_.value() != currentLoopValue) { in CheckLoopChange()
233 GetLoopIndex(currentIndex_, oldChildrenSize_.has_value() ? oldChildrenSize_.value() : TotalCount()); in CheckLoopChange()
301 auto lazyForEachNode = AceType::DynamicCast<LazyForEachNode>(targetNode.value()); in SetLazyForEachFlag()
348 (isSwipeByGroup_.has_value() && isSwipeByGroup_.value() != IsSwipeByGroup()); in NeedForceMeasure()
496 if (oldChildrenSize_.has_value() && oldChildrenSize_.value() != TotalCount()) { in BeforeCreateLayoutWrapper()
497 oldIndex = GetLoopIndex(oldIndex_, oldChildrenSize_.value()); in BeforeCreateLayoutWrapper()
[all...]
/kernel/linux/linux-6.6/drivers/platform/x86/
H A Dthinkpad_acpi.c623 in_objs[params.count].integer.value = va_arg(ap, int); in acpi_evalf()
650 *res = out_obj.integer.value; in acpi_evalf()
996 unsigned long max, unsigned long *value) in parse_strtoul()
1000 *value = simple_strtoul(skip_spaces(buf), &endp, 0); in parse_strtoul()
1002 if (*endp || *value > max) in parse_strtoul()
1955 int value = s & 0xffff; in hotkey_gmms_get_tablet_mode() local
1991 pr_err("Unknown multi mode status type %d with value 0x%04X, please report this to %s\n", in hotkey_gmms_get_tablet_mode()
1992 type, value, TPACPI_MAIL); in hotkey_gmms_get_tablet_mode()
1999 switch (value) { in hotkey_gmms_get_tablet_mode()
2019 if (type == 5 && value in hotkey_gmms_get_tablet_mode()
995 parse_strtoul(const char *buf, unsigned long max, unsigned long *value) parse_strtoul() argument
6151 thermal_get_sensor(int idx, s32 *value) thermal_get_sensor() argument
6262 s32 value; thermal_temp_input_show() local
6610 tpacpi_brightness_set_ec(unsigned int value) tpacpi_brightness_set_ec() argument
6627 tpacpi_brightness_set_ucmsstep(unsigned int value) tpacpi_brightness_set_ucmsstep() argument
6652 brightness_set(unsigned int value) brightness_set() argument
9442 tpacpi_battery_set(int what, int battery, int value) tpacpi_battery_set() argument
9496 tpacpi_battery_set_validate(int what, int battery, int value) tpacpi_battery_set_validate() argument
9634 unsigned long value; tpacpi_battery_store() local
[all...]
/foundation/arkui/ace_engine/test/unittest/core/pattern/bubble/
H A Dbubble_test_ng.cpp208 layoutProperty->UpdateEnableArrow(testProperty.enableArrow.value()); in CreateBubbleNode()
211 layoutProperty->UpdateUseCustom(testProperty.useCustom.value()); in CreateBubbleNode()
214 layoutProperty->UpdatePlacement(testProperty.placement.value()); in CreateBubbleNode()
217 layoutProperty->UpdateShowInSubWindow(testProperty.showInSubWindow.value()); in CreateBubbleNode()
220 layoutProperty->UpdateDisplayWindowOffset(testProperty.displayWindowOffset.value()); in CreateBubbleNode()
225 renderProperty->UpdateAutoCancel(testProperty.autoCancel.value()); in CreateBubbleNode()
228 renderProperty->UpdateMaskColor(testProperty.maskColor.value()); in CreateBubbleNode()
231 renderProperty->UpdateBackgroundColor(testProperty.backgroundColor.value()); in CreateBubbleNode()
234 renderProperty->UpdatePlacement(testProperty.placement.value()); in CreateBubbleNode()
237 renderProperty->UpdateEnableArrow(testProperty.enableArrow.value()); in CreateBubbleNode()
[all...]
/kernel/linux/linux-5.10/drivers/usb/misc/
H A Dftdi-elan.c111 u32 value; member
121 u32 *value; member
335 *respond->value = 0; in ftdi_elan_abandon_completions()
378 command->value = 0; in ftdi_elan_flush_targets()
379 command->buffer = &command->value; in ftdi_elan_flush_targets()
400 command->value = 0; in ftdi_elan_flush_targets()
401 command->buffer = &command->value; in ftdi_elan_flush_targets()
436 command->value = 0; in ftdi_elan_cancel_targets()
437 command->buffer = &command->value; in ftdi_elan_cancel_targets()
1022 *respond->value in ftdi_elan_respond_engine()
[all...]
/third_party/node/deps/v8/src/codegen/s390/
H A Dconstants-s390.h42 // Actual value of root register is offset from the root array's start
44 // TODO(sigurds): Choose best value.
47 // sign-extend the least significant 16-bits of value <imm>
50 // sign-extend the least significant 26-bits of value <imm>
1779 // SVC provides a 24bit immediate value. Use bits 22:0 for standard
1850 // Set the raw instruction bits to value.
1852 inline void SetInstructionBits(T value) const { in SetInstructionBits()
1854 value); in SetInstructionBits() local
1856 inline void SetInstructionBits(Instr value) { in SetInstructionBits() argument
1857 *reinterpret_cast<Instr*>(this) = value; in SetInstructionBits()
1961 SetInstructionBits(byte* instr, T value) SetInstructionBits() argument
2191 int32_t value = Bits<SixByteInstr, int32_t>(27, 16); D2Value() local
2217 int32_t value = Bits<SixByteInstr, uint32_t>(27, 16); D2Value() local
2253 int32_t value = Bits<SixByteInstr, uint32_t>(27, 16); D1Value() local
[all...]
/drivers/hdf_core/framework/test/unittest/model/usb/device/src/
H A Dusb_device_lite_cdcacm_test.c389 struct UsbCdcLineCoding *value = (struct UsbCdcLineCoding *)req->buf; in CtrlComplete() local
390 if (req->actual == sizeof(*value)) { in CtrlComplete()
391 acm->lineCoding = *value; in CtrlComplete()
431 struct AcmDevice *acm, uint8_t type, uint16_t value, const uint16_t *data, uint32_t length) in SendNotifyRequest()
450 notify->wValue = CPU_TO_LE16(value); in SendNotifyRequest()
596 uint16_t value = LE16_TO_CPU(setup->value); in Setup() local
621 acm->handshakeBits = value; in Setup()
430 SendNotifyRequest( struct AcmDevice *acm, uint8_t type, uint16_t value, const uint16_t *data, uint32_t length) SendNotifyRequest() argument
/foundation/arkui/ace_engine/frameworks/core/components_ng/event/
H A Dfocus_hub.h137 return paintRect.value(); in GetPaintRect()
146 return paintColor.value(); in GetPaintColor()
155 return paintWidth.value(); in GetPaintWidth()
164 return focusPadding.value(); in GetFocusPadding()
284 void SetIsFocusActiveWhenFocused(bool value) in SetIsFocusActiveWhenFocused() argument
286 isFocusActiveWhenFocused_ = value; in SetIsFocusActiveWhenFocused()
974 void SetIsFocusActiveWhenFocused(bool value) in SetIsFocusActiveWhenFocused() argument
976 isFocusActiveWhenFocused_ = value; in SetIsFocusActiveWhenFocused()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/canvas/
H A Djs_rendering_context.cpp309 panda::Local<JsiValue> value = info[0].Get().GetLocalHandle(); in JsTransferFromImageBitmap() local
310 JSValueWrapper valueWrapper = value; in JsTransferFromImageBitmap()
409 panda::Local<JsiValue> value = info[0].Get().GetLocalHandle(); in JsStartImageAnalyzer() local
410 JSValueWrapper valueWrapper = value; in JsStartImageAnalyzer()
545 panda::Local<JsiValue> value = info[1].Get().GetLocalHandle(); in JsOn() local
546 JSValueWrapper valueWrapper = value; in JsOn()
579 panda::Local<JsiValue> value = info[1].Get().GetLocalHandle(); in JsOff() local
580 JSValueWrapper valueWrapper = value; in JsOff()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_ui_extension.cpp83 panda::Local<JsiValue> value = info[0].Get().GetLocalHandle(); in Send() local
84 JSValueWrapper valueWrapper = value; in Send()
104 panda::Local<JsiValue> value = info[0].Get().GetLocalHandle(); in SendSync() local
105 JSValueWrapper valueWrapper = value; in SendSync()
264 panda::Local<JsiValue> value = info[1].Get().GetLocalHandle(); in On() local
265 JSValueWrapper valueWrapper = value; in On()
302 panda::Local<JsiValue> value = info[1].Get().GetLocalHandle(); in Off() local
303 JSValueWrapper valueWrapper = value; in Off()
/foundation/arkui/ace_engine/frameworks/core/animation/
H A Danimatable_properties.cpp572 void AnimatableProperties::SetPadding(const AnimatableDimension& value, const DimensionHelper& helper) in SetPadding() argument
578 renderNode->SetPadding(value, helper); in SetPadding()
590 void AnimatableProperties::SetMargin(const AnimatableDimension& value, const DimensionHelper& helper) in SetMargin() argument
596 renderNode->SetMargin(value, helper); in SetMargin()
608 void AnimatableProperties::SetBorderWidth(float value, const BorderEdgeHelper& helper) in SetBorderWidth() argument
614 renderNode->SetBorderWidth(value, helper); in SetBorderWidth()
662 void AnimatableProperties::SetBorderRadius(float value, const BorderRadiusHelper& helper) in SetBorderRadius() argument
668 renderNode->SetBorderRadius(value, helper); in SetBorderRadius()
/foundation/arkui/ace_engine/test/unittest/core/pattern/option/
H A Doption_test_ng.cpp237 * @tc.expected: the value of bgBlendColor is right in HWTEST_F()
279 * @tc.expected: the value of horInterval_ is updated in HWTEST_F()
301 * @tc.expected: property has not value. in HWTEST_F()
309 * @tc.steps: step2. Update property value. in HWTEST_F()
310 * @tc.expected: property value are as expected. in HWTEST_F()
316 EXPECT_TRUE(property.GetHover().value()); in HWTEST_F()
317 EXPECT_TRUE(property.GetPress().value()); in HWTEST_F()
318 EXPECT_TRUE(property.GetNeedDivider().value()); in HWTEST_F()
319 EXPECT_TRUE(property.GetHasIcon().value()); in HWTEST_F()
331 * @tc.expected: property value ar in HWTEST_F()
[all...]
/foundation/arkui/ace_engine/test/unittest/core/pattern/select/
H A Dselect_pattern_test_controlsize_ng.cpp102 static RefPtr<FrameNode> CreateSelect(const std::vector<SelectParam>& value, const TestProperty& test);
137 RefPtr<FrameNode> SelectPatternTestControlSizeNg::CreateSelect(const std::vector<SelectParam>& value, in CreateSelect() argument
141 selectModelInstance.Create(value); in CreateSelect()
143 selectModelInstance.SetFontSize(test.FontSize.value()); in CreateSelect()
146 selectModelInstance.SetFontColor(test.FontColor.value()); in CreateSelect()
149 selectModelInstance.SetItalicFontStyle(test.FontStyle.value()); in CreateSelect()
152 selectModelInstance.SetFontWeight(test.FontWeight.value()); in CreateSelect()
155 selectModelInstance.SetFontFamily(test.FontFamily.value()); in CreateSelect()
185 * @tc.steps: step2. Get ControlSize, compare the default value with the ControlSize::NORMAL. in HWTEST_F()
214 * @tc.steps: step2. Get ControlSize, compare the set value wit in HWTEST_F()
[all...]
/foundation/arkui/ace_engine/frameworks/core/image/apng/
H A Dapng_image_decoder.cpp61 static inline uint16_t swap_endian_uint16(uint16_t value) in swap_endian_uint16() argument
64 static_cast<uint16_t>((value & 0x00FF) << Byte8) | in swap_endian_uint16()
65 static_cast<uint16_t>((value & 0xFF00) >> Byte8); in swap_endian_uint16()
68 static inline uint32_t swap_endian_uint32(uint32_t value) in swap_endian_uint32() argument
71 static_cast<uint32_t>((value & 0x000000FFU) << Byte24) | in swap_endian_uint32()
72 static_cast<uint32_t>((value & 0x0000FF00U) << Byte8) | in swap_endian_uint32()
73 static_cast<uint32_t>((value & 0x00FF0000U) >> Byte8) | in swap_endian_uint32()
74 static_cast<uint32_t>((value & 0xFF000000U) >> Byte24); in swap_endian_uint32()
/foundation/arkui/ace_engine/interfaces/napi/kits/animator/
H A Djs_animator.cpp263 double value) { in JSReset()
285 napi_create_double(env, value, &valueNapi); in JSReset()
426 napi_value value = nullptr; in ParseJsValue() local
427 napi_get_named_property(env, jsObject, name.c_str(), &value); in ParseJsValue()
429 napi_typeof(env, value, &type); in ParseJsValue()
431 napi_get_value_int32(env, value, &data); in ParseJsValue()
532 double value) { in SetOnframe()
553 napi_create_double(env, value, &valueNapi); in SetOnframe()
/foundation/arkui/ace_engine/test/unittest/core/property/
H A Dmeasure_utils_test_ng.cpp142 * @tc.steps: step2. call ConvertToPx and set input value is CALC_LENGTH_WIDTH. in HWTEST_F()
143 * @tc.expected: the return size is the same as input value. in HWTEST_F()
149 * @tc.steps: step3. call ConvertToPx and set input value is CALC_LENGTH_CALC. in HWTEST_F()
150 * @tc.expected: the return value is nullopt. in HWTEST_F()
170 * @tc.steps: step2. call ConvertToPx and set input value is null. in HWTEST_F()
171 * @tc.expected: the return value is nullopt. in HWTEST_F()
177 * @tc.steps: step3. call ConvertToPx and set input value is CALC_LENGTH_CALC. in HWTEST_F()
178 * @tc.expected: the return value is nullopt. in HWTEST_F()
198 * @tc.steps: step2. call ConvertToPx and set input value is WIDTH. in HWTEST_F()
199 * @tc.expected: the return value i in HWTEST_F()
[all...]
/foundation/graphic/graphic_3d/lume/Lume_3D/src/ecs/systems/
H A Drender_preprocessor_system.cpp233 // the mesh aabb will have default value if all the submeshes were skipped. in the default value min > max. in CalculateSceneBounds()
327 [](const MaterialProperties& element, const Entity& value) { in GatherSortData()
328 return element.material.id < value.id; in GatherSortData()
336 // assuming MaterialComponent::materialLightingFlags default value includes in GatherSortData()
344 [](const MaterialProperties& element, const Entity& value) { in GatherSortData()
345 return element.material.id < value.id; in GatherSortData()
353 // assuming MaterialComponent::materialLightingFlags default value includes in GatherSortData()
495 [](const SortData& value) { return EntityUtil::IsValid(value in Update()
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/
H A Drs_image.cpp127 fitMatrix_.has_value() && !fitMatrix_.value().IsIdentity(); in CanvasDrawImage()
140 canvas.ConcatMatrix(fitMatrix_.value()); in CanvasDrawImage()
154 canvas.ConcatMatrix(fitMatrix_.value()); in CanvasDrawImage()
162 canvas.DrawImageNine(image_.get(), innerRect_.value(), dst_, Drawing::FilterMode::LINEAR); in CanvasDrawImage()
320 .fitMatrix = fitMatrix_.has_value() ? fitMatrix_.value() : Drawing::Matrix() in GetAdaptiveImageInfoWithCustomizedFrameRect()
332 return fitMatrix_.value(); in GetFitMatrix()
500 canvas.DrawImageNine(image_.get(), innerRect_.value(), dst_, Drawing::FilterMode::LINEAR); in DrawImageOnCanvas()
638 fitMatrix_.has_value() ? RSMarshallingHelper::Marshalling(parcel, fitMatrix_.value()) : true; in Marshalling()
/foundation/multimedia/image_framework/frameworks/kits/js/common/sendable/
H A Dsendable_image_napi.cpp214 static inline bool JsCheckObjectType(napi_env env, napi_value value, napi_valuetype type) in JsCheckObjectType() argument
216 return (ImageNapiUtils::getType(env, value) == type); in JsCheckObjectType()
219 static inline bool JsGetCallbackFunc(napi_env env, napi_value value, napi_ref *result) in JsGetCallbackFunc() argument
221 if (JsCheckObjectType(env, value, napi_function)) { in JsGetCallbackFunc()
222 napi_create_reference(env, value, NUM1, result); in JsGetCallbackFunc()
228 static inline bool JsGetInt32Args(napi_env env, napi_value value, int *result) in JsGetInt32Args() argument
230 if (JsCheckObjectType(env, value, napi_number)) { in JsGetInt32Args()
231 napi_get_value_int32(env, value, result); in JsGetInt32Args()
689 IMAGE_ERR("Unsupport component type 0 value: %{public}d", context->componentType); in JsGetComponentArgs()
/foundation/multimedia/image_framework/frameworks/kits/js/common/
H A Dimage_napi.cpp216 static inline bool JsCheckObjectType(napi_env env, napi_value value, napi_valuetype type) in JsCheckObjectType() argument
218 return (ImageNapiUtils::getType(env, value) == type); in JsCheckObjectType()
221 static inline bool JsGetCallbackFunc(napi_env env, napi_value value, napi_ref *result) in JsGetCallbackFunc() argument
223 if (JsCheckObjectType(env, value, napi_function)) { in JsGetCallbackFunc()
224 napi_create_reference(env, value, NUM1, result); in JsGetCallbackFunc()
230 static inline bool JsGetInt32Args(napi_env env, napi_value value, int *result) in JsGetInt32Args() argument
232 if (JsCheckObjectType(env, value, napi_number)) { in JsGetInt32Args()
233 napi_get_value_int32(env, value, result); in JsGetInt32Args()
700 IMAGE_ERR("Unsupport component type 0 value: %{public}d", context->componentType); in JsGetComponentArgs()
/foundation/multimedia/media_library/frameworks/services/media_mtp/src/
H A Dmtp_operation_utils.cpp240 // GetObjectPropValue may have 3 types of return value, using params to return in one function in GetObjectPropValue()
713 shared_ptr<Property::Value> value = make_shared<Property::Value>(); in GetPropValue() local
718 value->str_ = make_shared<string>(""); in GetPropValue()
722 value->str_ = make_shared<string>(GetPropertyInner("persist.device.name", DEFAULT_PRODUCT_NAME)); in GetPropValue()
726 value->str_ = make_shared<string>(""); in GetPropValue()
730 value->str_ = make_shared<string>(""); in GetPropValue()
734 value->bin_.ui8 = (uint8_t)MtpOperationUtils::GetBatteryLevel(); in GetPropValue()
738 value->bin_.ui32 = MTP_PERCEIVED_DEVICE_TYPE_GENERIC; in GetPropValue()
745 devicePropValueData->SetValue(valueType, value); in GetPropValue()
/foundation/systemabilitymgr/samgr/services/samgr/native/test/unittest/src/
H A Dsystem_ability_mgr_ondemand_test.cpp240 bool value = system::GetBoolParameter(ONDEMAND_PARAM, false); in HWTEST_F() local
241 ASSERT_TRUE(value); in HWTEST_F()
259 bool value = system::GetBoolParameter(ONDEMAND_PARAM, false); in HWTEST_F() local
260 ASSERT_TRUE(value); in HWTEST_F()
291 bool value = system::GetBoolParameter(ONDEMAND_PARAM, false); in HWTEST_F() local
292 EXPECT_TRUE(value); in HWTEST_F()
311 bool value = system::GetBoolParameter(ONDEMAND_PARAM, false); in HWTEST_F() local
312 EXPECT_TRUE(value); in HWTEST_F()
/foundation/communication/netmanager_base/services/netmanagernative/bpf/src/
H A Dbitmap_manager.cpp427 uint32_t IpParamParser::Rfind(uint32_t ip, uint32_t start, uint32_t end, uint32_t value) in Rfind() argument
435 if (((ip >> i) & VALUE_ONE) == value) { in Rfind()
442 uint32_t IpParamParser::Find(uint32_t ip, uint32_t start, uint32_t value) in Find() argument
449 if (((ip >> i) & VALUE_ONE) == value) { in Find()
559 uint32_t IpParamParser::RfindIp6(const in6_addr &addr, uint32_t startBit, uint32_t endBit, uint8_t value) in RfindIp6() argument
574 if (tmp == value) { in RfindIp6()
582 uint32_t IpParamParser::FindIp6(const in6_addr &addr, uint32_t startBit, uint8_t value) in FindIp6() argument
593 if (tmp == value) { in FindIp6()

Completed in 58 milliseconds

1...<<721722723724725726727728729730>>...1442