/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/include/ |
H A D | nan.h | 58 /* Number of octents in master rank value. */ 495 /* Last movement mask and shift value */ 513 /* set to value to uint32 */ 1210 #define NAN_DEV_ELE_MAPID_CTRL_SET(_mapid_field, value) \ 1212 (_mapid_field) |= ((value << NAN_DEV_ELE_MAPID_CTRL_SHIFT) & \ 1220 #define NAN_DEV_ELE_MAPID_SET(_mapid_field, value) \ 1222 (_mapid_field) |= ((value << NAN_DEV_ELE_MAPID_SHIFT) & \ 1234 #define NAN_SCHED_ENTRY_MAPID_SET(_mapid_field, value) \ 1236 (_mapid_field) |= ((value << NAN_SCHED_ENTRY_MAPID_SHIFT) & \ 1262 #define NAN_NDC_SET_PROPOSED_FLAG(_attr, value) \ [all...] |
/device/soc/rockchip/rk3588/kernel/drivers/net/ethernet/realtek/r8168/ |
H A D | r8168.h | 886 * statistic block, and in such cases this value is ignored. 887 * This value must not be zero. 1174 TxDMAShift = 8, /* DMA burst value (0-7) is shift this many bits */ 1338 MSSShift = 16, /* MSS value position */ 1339 MSSMask = 0x7FFU, /* MSS value 11 bits */ 1766 #define MSS_MAX 0x07ffu /* MSS value */ 1798 void rtl8168_mdio_write(struct rtl8168_private *tp, u16 RegAddr, u16 value); 1799 void rtl8168_mdio_prot_write(struct rtl8168_private *tp, u32 RegAddr, u32 value); 1800 void rtl8168_mdio_prot_direct_write_phy_ocp(struct rtl8168_private *tp, u32 RegAddr, u32 value); 1804 void rtl8168_ephy_write(struct rtl8168_private *tp, int RegAddr, int value); [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/scroll/ |
H A D | scrollable.cpp | 621 if (predictSnapOffset.has_value() && !NearZero(predictSnapOffset.value())) { in HandleDragEnd() 623 ProcessScrollSnapSpringMotion(predictSnapOffset.value(), correctVelocity); in HandleDragEnd() 660 motion_->AddListener([weakScroll = AceType::WeakClaim(this)](double value) { in StartScrollAnimation() 663 scroll->ProcessScrollMotion(value); in StartScrollAnimation() 670 if (predictSnapOffset.has_value() && !NearZero(predictSnapOffset.value())) { in StartScrollAnimation() 672 ProcessScrollSnapSpringMotion(predictSnapOffset.value(), correctVelocity); in StartScrollAnimation() 1002 if (predictSnapOffset.has_value() && !NearZero(predictSnapOffset.value())) { in ProcessScrollMotionStop() 1003 ProcessScrollSnapSpringMotion(predictSnapOffset.value(), currentVelocity_); in ProcessScrollMotionStop() 1109 // and then correct the offset value in notification process in ProcessScrollOverCallback()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/panel/ |
H A D | sliding_panel_pattern.cpp | 90 panelRenderContext->UpdateBorderRadius(renderContext->GetBorderRadius().value()); in UpdatePanelRenderContext() 185 if (mode_.value() == mode) { in Update() 194 if (mode_.value() != mode) { in Update() 197 if (isShow_.has_value() && isShow_.value() == isShow) { in Update() 243 if (isShow_.value() != isShow) { in InitializeLayoutProps() 649 [weak = AceType::WeakClaim(this), start = currentOffset_, end = targetLocation, mode](float value) { in AppendBlankHeightAnimation() 654 if (value > 1.0) { in AppendBlankHeightAnimation() 665 auto currentOffset = (end - start) * value + start; in AppendBlankHeightAnimation()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/select/ |
H A D | select_pattern_test_ng.cpp | 101 static RefPtr<FrameNode> CreateSelect(const std::vector<SelectParam>& value, const TestProperty& test); 139 RefPtr<FrameNode> SelectPatternTestNg::CreateSelect(const std::vector<SelectParam>& value, const TestProperty& test) in CreateSelect() argument 142 selectModelInstance.Create(value); in CreateSelect() 144 selectModelInstance.SetFontSize(test.FontSize.value()); in CreateSelect() 147 selectModelInstance.SetFontColor(test.FontColor.value()); in CreateSelect() 150 selectModelInstance.SetItalicFontStyle(test.FontStyle.value()); in CreateSelect() 153 selectModelInstance.SetFontWeight(test.FontWeight.value()); in CreateSelect() 156 selectModelInstance.SetFontFamily(test.FontFamily.value()); in CreateSelect()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/security_component/ |
H A D | security_component_layout_algorithm.cpp | 639 GreatNotEqual(borderRadius->radiusTopLeft.value().ConvertToPx(), currentFontSize_.ConvertToPx())) { in IsTextOutOfRangeInNormal() 640 if (TopLeftCompDistance(borderRadius->radiusTopLeft.value().ConvertToPx(), maxRadius, threshold)) { in IsTextOutOfRangeInNormal() 645 GreatNotEqual(borderRadius->radiusBottomLeft.value().ConvertToPx(), currentFontSize_.ConvertToPx())) { in IsTextOutOfRangeInNormal() 646 if (BottomLeftCompDistance(borderRadius->radiusBottomLeft.value().ConvertToPx(), maxRadius, threshold)) { in IsTextOutOfRangeInNormal() 651 GreatNotEqual(borderRadius->radiusTopRight.value().ConvertToPx(), currentFontSize_.ConvertToPx())) { in IsTextOutOfRangeInNormal() 652 if (TopRightCompDistance(borderRadius->radiusTopRight.value().ConvertToPx(), maxRadius, threshold)) { in IsTextOutOfRangeInNormal() 657 GreatNotEqual(borderRadius->radiusBottomRight.value().ConvertToPx(), currentFontSize_.ConvertToPx())) { in IsTextOutOfRangeInNormal() 658 if (BottomRightCompDistance(borderRadius->radiusBottomRight.value().ConvertToPx(), maxRadius, threshold)) { in IsTextOutOfRangeInNormal()
|
/foundation/arkui/ace_engine/frameworks/core/components_v2/water_flow/ |
H A D | render_water_flow.cpp | 757 auto&& scrollCallback = [weakScroll = AceType::WeakClaim(this)](double value, int32_t source) { in InitScrollBarProxy() 762 return flow->UpdateScrollPosition(value, source); in InitScrollBarProxy() 773 auto&& barEndCallback = [weakFlow = AceType::WeakClaim(this)](int32_t value) { in SetScrollBarCallback() 778 flow->scrollBarOpacity_ = value; in SetScrollBarCallback() 787 auto&& scrollCallback = [weakScroll = AceType::WeakClaim(this)](double value, int32_t source) { in SetScrollBarCallback() 792 return flow->UpdateScrollPosition(value, source); in SetScrollBarCallback() 1269 animation->AddListener([weakScroll = AceType::WeakClaim(this)](double value) { in AnimateToPos() 1272 scroll->DoJump(value, SCROLL_FROM_ANIMATION); in AnimateToPos()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scroll_bar/ |
H A D | scroll_bar_pattern.cpp | 626 void ScrollBarPattern::SetOpacity(uint8_t value) in SetOpacity() argument 632 opacity_ = value; in SetOpacity() 633 renderContext->UpdateOpacity(static_cast<double>(value) / UINT8_MAX); in SetOpacity() 744 frictionMotion_->AddListener([weakBar = AceType::WeakClaim(this)](double value) { in HandleDragEnd() 747 scrollBar->ProcessFrictionMotion(value); in HandleDragEnd() 778 void ScrollBarPattern::ProcessFrictionMotion(double value) in ProcessFrictionMotion() argument 781 auto offset = value - frictionPosition_; in ProcessFrictionMotion() 784 frictionPosition_ = value; in ProcessFrictionMotion()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/tabs/ |
H A D | tabs_event_test_ng.cpp | 31 Color actualColor = GetChildFrameNode(tabBarNode_, itemIndex)->GetRenderContext()->GetBackgroundColor().value(); in VerifyBackgroundColor() 380 * @tc.expected: hoverIndex_ has no value in HWTEST_F() 402 * @tc.expected: hoverIndex_ has no value in HWTEST_F() 415 EXPECT_EQ(tabBarPattern_->hoverIndex_.value(), 0); in HWTEST_F() 424 EXPECT_EQ(tabBarPattern_->hoverIndex_.value(), 0); in HWTEST_F() 433 EXPECT_EQ(tabBarPattern_->hoverIndex_.value(), 1); in HWTEST_F() 439 * @tc.expected: hoverIndex_ has no value, change color in HWTEST_F() 460 * @tc.expected: hoverIndex_ has no value in HWTEST_F() 474 EXPECT_EQ(tabBarPattern_->hoverIndex_.value(), 0); in HWTEST_F() 479 * @tc.expected: hoverIndex_ has no value, chang in HWTEST_F() [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/ |
H A D | a2dp_state_machine.cpp | 444 uint16_t value = msgData.delayReportInfo.delayValue; in ProcessDelayReportInd() local 445 profile->DelayReportNotify(addr, value); in ProcessDelayReportInd() 569 uint16_t value = msgData.delayReportInfo.delayValue; in ProcessDelayReportInd() local 570 profile->DelayReportNotify(addr, value); in ProcessDelayReportInd() 809 uint16_t value = msgData.delayReportInfo.delayValue; in ProcessDelayReportInd() local 810 profile->DelayReportNotify(addr, value); in ProcessDelayReportInd() 1179 uint16_t value = msgData.delayReportInfo.delayValue; in ProcessDelayReportInd() local 1180 profile->DelayReportNotify(addr, value); in ProcessDelayReportInd()
|
/foundation/multimedia/player_framework/frameworks/js/system_sound_manager/src/system_tone_player/ |
H A D | system_tone_player_napi.cpp | 572 double value; in SetAudioVolumeScale() local 573 napi_get_value_double(env, argv[PARAM0], &value); in SetAudioVolumeScale() 574 float volume = static_cast<float>(value); in SetAudioVolumeScale() 624 napi_value value; in GetSupportHapticsFeaturesComplete() local 626 value = nullptr; in GetSupportHapticsFeaturesComplete() 627 curStatus = napi_create_int32(env, static_cast<int32_t>(context->toneHapticsFeatures[i]), &value); in GetSupportHapticsFeaturesComplete() 628 if (curStatus != napi_ok || value == nullptr|| in GetSupportHapticsFeaturesComplete() 629 napi_set_element(env, result[PARAM1], i, value) != napi_ok) { in GetSupportHapticsFeaturesComplete()
|
/foundation/multimodalinput/input/service/touch_event_normalize/test/src/ |
H A D | touchpad_transform_processor_test.cpp | 309 bool value = true; in HWTEST_F() local 310 int32_t ret = processor.PutConfigDataToDatabase(key, value); in HWTEST_F() 326 bool value = false; in HWTEST_F() local 327 int32_t ret = processor.PutConfigDataToDatabase(key, value); in HWTEST_F() 343 bool value = false; in HWTEST_F() local 344 ASSERT_NO_FATAL_FAILURE(processor.GetConfigDataFromDatabase(key, value)); in HWTEST_F() 359 bool value = true; in HWTEST_F() local 360 ASSERT_NO_FATAL_FAILURE(processor.GetConfigDataFromDatabase(key, value)); in HWTEST_F()
|
/foundation/window/window_manager/interfaces/kits/napi/window_runtime/window_stage_napi/ |
H A D | js_window_stage.cpp | 255 napi_value value = argv[1]; in OnEvent() local 256 if (!NapiIsCallable(env, value)) { in OnEvent() 268 auto ret = g_listenerManager->RegisterListener(window, eventString, CaseType::CASE_STAGE, env, value); in OnEvent() 305 napi_value value = nullptr; in OffEvent() local 310 value = argv[1]; in OffEvent() 311 if (value != nullptr && GetType(env, value) == napi_function) { in OffEvent() 312 ret = g_listenerManager->UnregisterListener(window, eventString, CaseType::CASE_STAGE, env, value); in OffEvent()
|
/foundation/communication/dsoftbus/tests/sdk/transmission/session/ |
H A D | client_trans_session_test.cpp | 869 uint32_t value = 0; in HWTEST_F() local 871 &value, TRANS_TEST_INVALID_VALUE_SIZE); in HWTEST_F() 873 ret = ReadMaxSendBytesSize(TRANS_TEST_CHANNEL_ID, CHANNEL_TYPE_BUTT, &value, sizeof(value)); in HWTEST_F() 885 uint32_t value = 0; in HWTEST_F() local 887 &value, TRANS_TEST_INVALID_VALUE_SIZE); in HWTEST_F() 889 ret = ReadMaxSendMessageSize(TRANS_TEST_CHANNEL_ID, CHANNEL_TYPE_BUTT, &value, sizeof(value)); in HWTEST_F()
|
/foundation/communication/dsoftbus/core/connection/ble/src/ |
H A D | softbus_conn_ble_server.c | 918 .value = (char *)data, in ConnGattServerSend() 1037 .value = "not support!", in BleRequestReadCallback() 1051 .value = (char *)request->value, in BleSendGattRsp() 1096 uint8_t *value = ConnGattTransRecv( in BleRequestWriteCallback() local 1097 connection->connectionId, writeCbPara.value, writeCbPara.length, &connection->buffer, &valueLen); in BleRequestWriteCallback() 1098 if (value == NULL) { in BleRequestWriteCallback() 1102 g_serverEventListener.onServerDataReceived(connection->connectionId, isConnCharacteristic, value, valueLen); in BleRequestWriteCallback() 1177 "there is compare context value not use, forgot implement? " in BleCompareGattServerLooperEventFunc()
|
/foundation/distributeddatamgr/kv_store/test/unittest/distributeddata/ |
H A D | KvStoreDataResultSetJsTest.js | 93 value : { 95 value : 'batch_test_string_value' 1077 expect(moved && (entry.value.value == 'batch_test_string_value')).assertTrue(); 1097 expect(entry.value.value == 'batch_test_string_value').assertTrue(); 1103 expect(entry.value.value == 'batch_test_string_value').assertTrue();
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/moduletest/src/ |
H A D | distributeddb_kv_batch_crud_test.cpp | 176 * @tc.expected: step1. PutBatch successfully and get the value of k1 is v1,get the value of k2 is v2. in HWTEST_F() 189 * @tc.expected: step2. PutBatch successfully and get the value of k3 is v3. in HWTEST_F() 219 * @tc.expected: step1. PutBatch successfully and get the value of k1 is v1,get the value of k2 is v2. in HWTEST_F() 234 * @tc.expected: step2. update successfully and get the value of k1 is v2,get the value of k2 is v3. in HWTEST_F() 265 * @tc.expected: step1. PutBatch successfully and get the value of k1 is v1,get the value of k2 is v2. in HWTEST_F() 278 * @tc.expected: step2. deleteBatch successfully and get the value o in HWTEST_F() [all...] |
H A D | distributeddb_nb_predicate_query_expand_test.cpp | 100 Value value(schemasValue[index - 1].begin(), schemasValue[index - 1].end()); in PresetDatasToDB() 101 entry.value = value; in PresetDatasToDB() 102 EXPECT_EQ(DistributedDBNbTestTools::Put(*delegate, entry.key, entry.value), OK); in PresetDatasToDB() 118 * and has the value given to db. in HWTEST_F() 178 * and has the value given to db. in HWTEST_F() 239 * and has the value given to db. in HWTEST_F() 287 * and has the value given to db. in HWTEST_F() 341 * and has the value given to db. in HWTEST_F() 386 * and has the value give in HWTEST_F() [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/ |
H A D | flatbuffer_schema.cpp | 88 return (inAttr != nullptr) && (inAttr->value() != nullptr) && (inAttr->value()->size() > 0); in AttributeExistAndHasValue() 227 (void)tryNoSizePrefix; // Use it in the future, currently we demand value is sizePrefixed in VerifyFlatBufferValue() 430 (void)tryNoSizePrefix; // Use it in the future, currently we demand value is sizePrefixed in ExtractFlatBufferValue() 448 // Begin extract, we have to minimal verify if we don't trust value from database in ExtractFlatBufferValue() 459 LOGE("[FBSchema][Extract] Get rootTable from value fail."); in ExtractFlatBufferValue() 465 LOGE("[FBSchema][Extract] Verify vTable of rootTable of value fail."); in ExtractFlatBufferValue() 492 LOGE("[FBSchema][ParseRootAttr] No SCHEMA_VERSION attribute or no value."); in ParseCheckRootTableAttribute() 495 if (SchemaUtils::Strip(versionAttr->value()->str()) != SchemaConstant::SCHEMA_SUPPORT_VERSION) { in ParseCheckRootTableAttribute() 496 LOGE("[FBSchema][ParseRootAttr] Unexpect SCHEMA_VERSION=%s.", versionAttr->value() in ParseCheckRootTableAttribute() [all...] |
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/relationalstore/src/ |
H A D | napi_transaction.cpp | 88 status = napi_get_named_property(env, iter, "value", &values); in ParseSendableValuesBucket() 90 status == napi_ok, std::make_shared<InnerError>("napi_get_named_property value failed.")); in ParseSendableValuesBucket() 95 napi_value value = nullptr; in ParseSendableValuesBucket() local 96 status = napi_get_element(env, values, VALUE_INDEX, &value); in ParseSendableValuesBucket() 97 ASSERT_RETURN_SET_ERROR(status == napi_ok, std::make_shared<InnerError>("napi_get_element value failed.")); in ParseSendableValuesBucket() 99 int32_t ret = JSUtils::Convert2Value(env, value, valueObject.value); in ParseSendableValuesBucket() 103 ASSERT_RETURN_SET_ERROR(false, std::make_shared<ParamError>("The value type of " + keyStr, "invalid.")); in ParseSendableValuesBucket() 130 napi_value value = nullptr; in ParseValuesBucket() local 131 napi_get_property(env, arg, key, &value); in ParseValuesBucket() [all...] |
/kernel/linux/linux-5.10/arch/sparc/kernel/ |
H A D | ds.c | 744 void ldom_set_var(const char *var, const char *value) in ldom_set_var() argument 785 if (strlen(var) + strlen(value) + 2 > in ldom_set_var() 790 strlen(var) + strlen(value) + 2, in ldom_set_var() 791 sizeof(pkt) - sizeof(pkt.header), var, value); in ldom_set_var() 802 strcpy(p, value); in ldom_set_var() 803 p += strlen(value) + 1; in ldom_set_var() 834 dp->id, var, value, in ldom_set_var() 839 var, value); in ldom_set_var()
|
/kernel/linux/linux-5.10/drivers/char/ |
H A D | sonypi.c | 510 static int sonypi_ec_write(u8 addr, u8 value) in sonypi_ec_write() argument 514 return ec_write(addr, value); in sonypi_ec_write() 521 outb_p(value, SONYPI_DATA_IOPORT); in sonypi_ec_write() 526 static int sonypi_ec_read(u8 addr, u8 *value) in sonypi_ec_read() argument 530 return ec_read(addr, value); in sonypi_ec_read() 537 *value = inb_p(SONYPI_DATA_IOPORT); in sonypi_ec_read() 541 static int ec_read16(u8 addr, u16 *value) in ec_read16() argument 548 *value = val_lb | (val_hb << 8); in ec_read16()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_topology.c | 216 #define sysfs_show_32bit_prop(buffer, offs, name, value) \ 217 sysfs_show_gen_prop(buffer, offs, "%s %u\n", name, value) 218 #define sysfs_show_64bit_prop(buffer, offs, name, value) \ 219 sysfs_show_gen_prop(buffer, offs, "%s %llu\n", name, value) 220 #define sysfs_show_32bit_val(buffer, offs, value) \ 221 sysfs_show_gen_prop(buffer, offs, "%u\n", value) 222 #define sysfs_show_str_val(buffer, offs, value) \ 223 sysfs_show_gen_prop(buffer, offs, "%s\n", value)
|
/kernel/linux/linux-5.10/drivers/net/dsa/ |
H A D | bcm_sf2.c | 458 * value: "internal" to help flag them before MDIO probing in bcm_sf2_identify_ports() 1017 u8 value) in bcm_sf2_core_write8() 1021 core_writel(priv, value, SF2_PAGE_REG_MKADDR(page, reg)); in bcm_sf2_core_write8() 1027 u16 value) in bcm_sf2_core_write16() 1031 core_writel(priv, value, SF2_PAGE_REG_MKADDR(page, reg)); in bcm_sf2_core_write16() 1037 u32 value) in bcm_sf2_core_write32() 1041 core_writel(priv, value, SF2_PAGE_REG_MKADDR(page, reg)); in bcm_sf2_core_write32() 1047 u64 value) in bcm_sf2_core_write64() 1051 core_writeq(priv, value, SF2_PAGE_REG_MKADDR(page, reg)); in bcm_sf2_core_write64() 1016 bcm_sf2_core_write8(struct b53_device *dev, u8 page, u8 reg, u8 value) bcm_sf2_core_write8() argument 1026 bcm_sf2_core_write16(struct b53_device *dev, u8 page, u8 reg, u16 value) bcm_sf2_core_write16() argument 1036 bcm_sf2_core_write32(struct b53_device *dev, u8 page, u8 reg, u32 value) bcm_sf2_core_write32() argument 1046 bcm_sf2_core_write64(struct b53_device *dev, u8 page, u8 reg, u64 value) bcm_sf2_core_write64() argument
|
/kernel/linux/linux-6.6/arch/sparc/kernel/ |
H A D | ds.c | 744 void ldom_set_var(const char *var, const char *value) in ldom_set_var() argument 785 if (strlen(var) + strlen(value) + 2 > in ldom_set_var() 790 strlen(var) + strlen(value) + 2, in ldom_set_var() 791 sizeof(pkt) - sizeof(pkt.header), var, value); in ldom_set_var() 802 strcpy(p, value); in ldom_set_var() 803 p += strlen(value) + 1; in ldom_set_var() 834 dp->id, var, value, in ldom_set_var() 839 var, value); in ldom_set_var()
|