/foundation/distributedhardware/distributed_audio/common/src/ |
H A D | daudio_util.cpp | 172 std::string GetAnonyString(const std::string &value) in GetAnonyString() argument 176 size_t strLen = value.length(); in GetAnonyString() 182 res += value[0]; in GetAnonyString() 184 res += value[strLen - 1]; in GetAnonyString() 186 res.append(value, 0, INT32_PLAINTEXT_LENGTH); in GetAnonyString() 188 res.append(value, strLen - INT32_PLAINTEXT_LENGTH, INT32_PLAINTEXT_LENGTH); in GetAnonyString() 222 int32_t GetAudioParamStr(const std::string ¶ms, const std::string &key, std::string &value) in GetAudioParamStr() argument 234 value = params.substr(pos + step + 1, splitPosEnd - pos - step - 1); in GetAudioParamStr() 236 value = params.substr(pos + step + 1); in GetAudioParamStr() 241 int32_t GetAudioParamBool(const std::string ¶ms, const std::string &key, bool &value) in GetAudioParamBool() argument 254 GetAudioParamInt(const std::string ¶ms, const std::string &key, int32_t &value) GetAudioParamInt() argument 301 int value = paramValue->valueint; IsInt32() local 447 GetCJsonString(const char *key, const char *value) GetCJsonString() argument 494 GetSysPara(const char *key, T &value) GetSysPara() argument 504 valueStr >> value; GetSysPara() local [all...] |
/kernel/linux/linux-5.10/drivers/media/pci/saa7134/ |
H A D | saa7134-alsa.c | 40 MODULE_PARM_DESC(index, "Index value for SAA7134 capture interface(s)."); 910 uinfo->value.integer.min = 0; in snd_saa7134_volume_info() 911 uinfo->value.integer.max = 20; in snd_saa7134_volume_info() 921 ucontrol->value.integer.value[0] = chip->mixer_volume[addr][0]; in snd_saa7134_volume_get() 922 ucontrol->value.integer.value[1] = chip->mixer_volume[addr][1]; in snd_saa7134_volume_get() 935 left = ucontrol->value.integer.value[0]; in snd_saa7134_volume_put() 940 right = ucontrol->value in snd_saa7134_volume_put() [all...] |
/kernel/linux/linux-5.10/drivers/iio/adc/ |
H A D | qcom-spmi-vadc.c | 423 static int vadc_hw_settle_time_from_dt(u32 value) in vadc_hw_settle_time_from_dt() argument 425 if ((value <= 1000 && value % 100) || (value > 1000 && value % 2000)) in vadc_hw_settle_time_from_dt() 428 if (value <= 1000) in vadc_hw_settle_time_from_dt() 429 value /= 100; in vadc_hw_settle_time_from_dt() 431 value = value / 2000 + 10; in vadc_hw_settle_time_from_dt() 433 return value; in vadc_hw_settle_time_from_dt() 436 vadc_avg_samples_from_dt(u32 value) vadc_avg_samples_from_dt() argument 656 u32 chan, value, varr[2]; vadc_get_dt_channel_data() local [all...] |
/kernel/linux/linux-5.10/drivers/usb/gadget/function/ |
H A D | f_uac1_legacy.c | 17 static int generic_set_cmd(struct usb_audio_control *con, u8 cmd, int value); 426 int value = -EOPNOTSUPP; in audio_get_intf_req() local 442 value = con->get(con, cmd); in audio_get_intf_req() 452 len = min_t(size_t, sizeof(value), len); in audio_get_intf_req() 453 memcpy(req->buf, &value, len); in audio_get_intf_req() 462 int value = -EOPNOTSUPP; in audio_set_endpoint_req() local 472 value = len; in audio_set_endpoint_req() 491 return value; in audio_set_endpoint_req() 498 int value = -EOPNOTSUPP; in audio_get_endpoint_req() local 511 value in audio_get_endpoint_req() 527 int value = -EOPNOTSUPP; f_audio_setup() local 771 generic_set_cmd(struct usb_audio_control *con, u8 cmd, int value) generic_set_cmd() argument [all...] |
/kernel/linux/linux-5.10/sound/pci/lola/ |
H A D | lola_mixer.c | 330 /* set volume and do not save the value */ in lola_setup_all_analog_gains() 478 /* set gain value 0dB diagonally in matrix - part INPUT -> CAPTURE */ in init_mixer_values() 483 /* set gain value 0dB diagonally in matrix , part PLAYBACK -> OUTPUT in init_mixer_values() 507 uinfo->value.integer.min = 0; in lola_analog_vol_info() 508 uinfo->value.integer.max = chip->pin[dir].pins[0].amp_num_steps; in lola_analog_vol_info() 520 ucontrol->value.integer.value[i] = in lola_analog_vol_get() 534 ucontrol->value.integer.value[i], in lola_analog_vol_put() 604 uinfo->value in lola_input_src_info() [all...] |
/kernel/linux/linux-5.10/sound/pci/ice1712/ |
H A D | ews.c | 254 snd_cs8404_decode_spdif_bits(&ucontrol->value.iec958, ice->spdif.cs8403_bits); in ews88_spdif_default_get() 262 val = snd_cs8404_encode_spdif_bits(&ucontrol->value.iec958); in ews88_spdif_default_put() 277 snd_cs8404_decode_spdif_bits(&ucontrol->value.iec958, ice->spdif.cs8403_stream_bits); in ews88_spdif_stream_get() 285 val = snd_cs8404_encode_spdif_bits(&ucontrol->value.iec958); in ews88_spdif_stream_put() 578 ucontrol->value.enumerated.item[0] = snd_ice1712_read(ice, ICE1712_IREG_GPIO_DATA) & mask ? 1 : 0; in snd_ice1712_ewx_io_sense_get() 591 nval = ucontrol->value.enumerated.item[0] ? mask : 0; in snd_ice1712_ewx_io_sense_put() 636 ucontrol->value.enumerated.item[0] = data & ICE1712_EWS88MT_OUTPUT_SENSE ? 1 : 0; /* high = -10dBV, low = +4dBu */ in snd_ice1712_ews88mt_output_sense_get() 652 ndata = (data & ~ICE1712_EWS88MT_OUTPUT_SENSE) | (ucontrol->value.enumerated.item[0] ? ICE1712_EWS88MT_OUTPUT_SENSE : 0); in snd_ice1712_ews88mt_output_sense_put() 678 ucontrol->value.enumerated.item[0] = data & (1 << channel) ? 0 : 1; in snd_ice1712_ews88mt_input_sense_get() 698 ndata = (data & ~(1 << channel)) | (ucontrol->value in snd_ice1712_ews88mt_input_sense_put() [all...] |
H A D | ice1712.c | 75 static int cs8427_timeout[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS-1)] = 500}; /* CS8427 S/PDIF transceiver reset timeout value in msec */ 79 MODULE_PARM_DESC(index, "Index value for ICE1712 soundcard."); 249 ucontrol->value.integer.value[0] = inb(ICEMT(ice, MONITOR_ROUTECTRL)) & ICE1712_ROUTE_AC97 ? 1 : 0; in snd_ice1712_digmix_route_ac97_get() 261 if (ucontrol->value.integer.value[0]) in snd_ice1712_digmix_route_ac97_put() 1268 ucontrol->value.integer.value[0] = in snd_ice1712_pro_mixer_switch_get() 1270 ucontrol->value.integer.value[ in snd_ice1712_pro_mixer_switch_get() [all...] |
/kernel/linux/linux-5.10/sound/soc/codecs/ |
H A D | tlv320aic32x4.c | 109 ucontrol->value.integer.value[0] = (val & 0x01); in aic32x4_get_mfp1_gpio() 129 if (ucontrol->value.integer.value[0] == (val & AIC32X4_MFP2_GPIO_OUT_HIGH)) in aic32x4_set_mfp2_gpio() 132 if (ucontrol->value.integer.value[0]) in aic32x4_set_mfp2_gpio() 133 val |= ucontrol->value.integer.value[0]; in aic32x4_set_mfp2_gpio() 150 ucontrol->value.integer.value[ in aic32x4_get_mfp3_gpio() [all...] |
/kernel/linux/linux-6.6/drivers/usb/gadget/function/ |
H A D | f_uac1_legacy.c | 17 static int generic_set_cmd(struct usb_audio_control *con, u8 cmd, int value); 426 int value = -EOPNOTSUPP; in audio_get_intf_req() local 442 value = con->get(con, cmd); in audio_get_intf_req() 452 len = min_t(size_t, sizeof(value), len); in audio_get_intf_req() 453 memcpy(req->buf, &value, len); in audio_get_intf_req() 462 int value = -EOPNOTSUPP; in audio_set_endpoint_req() local 472 value = len; in audio_set_endpoint_req() 491 return value; in audio_set_endpoint_req() 498 int value = -EOPNOTSUPP; in audio_get_endpoint_req() local 511 value in audio_get_endpoint_req() 527 int value = -EOPNOTSUPP; f_audio_setup() local 771 generic_set_cmd(struct usb_audio_control *con, u8 cmd, int value) generic_set_cmd() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/ |
H A D | dc_helper.c | 87 uint32_t value; member 98 uint32_t value, in set_reg_field_value_masks() 104 field_value_mask->value = (field_value_mask->value & ~mask) | (mask & (value << shift)); in set_reg_field_value_masks() 116 /* gather all bits value/mask getting updated in this register */ in set_reg_field_values() 183 if (dmub_reg_value_burst_set_pack(ctx, addr, field_value_mask->value)) in dmub_reg_value_pack() 184 return field_value_mask->value; in dmub_reg_value_pack() 203 seq->modify_value = field_value_mask->value; in dmub_reg_value_pack() 206 return field_value_mask->value; in dmub_reg_value_pack() 96 set_reg_field_value_masks( struct dc_reg_value_masks *field_value_mask, uint32_t value, uint32_t mask, uint8_t shift) set_reg_field_value_masks() argument 494 uint32_t value = 0; generic_read_indirect_reg() local 515 uint32_t value = 0; generic_indirect_reg_get() local 605 uint32_t value = 0; generic_indirect_reg_get_sync() local [all...] |
/kernel/linux/linux-6.6/drivers/media/pci/saa7134/ |
H A D | saa7134-alsa.c | 40 MODULE_PARM_DESC(index, "Index value for SAA7134 capture interface(s)."); 910 uinfo->value.integer.min = 0; in snd_saa7134_volume_info() 911 uinfo->value.integer.max = 20; in snd_saa7134_volume_info() 921 ucontrol->value.integer.value[0] = chip->mixer_volume[addr][0]; in snd_saa7134_volume_get() 922 ucontrol->value.integer.value[1] = chip->mixer_volume[addr][1]; in snd_saa7134_volume_get() 935 left = ucontrol->value.integer.value[0]; in snd_saa7134_volume_put() 940 right = ucontrol->value in snd_saa7134_volume_put() [all...] |
/kernel/linux/linux-6.6/drivers/iio/adc/ |
H A D | qcom-spmi-vadc.c | 425 static int vadc_hw_settle_time_from_dt(u32 value) in vadc_hw_settle_time_from_dt() argument 427 if ((value <= 1000 && value % 100) || (value > 1000 && value % 2000)) in vadc_hw_settle_time_from_dt() 430 if (value <= 1000) in vadc_hw_settle_time_from_dt() 431 value /= 100; in vadc_hw_settle_time_from_dt() 433 value = value / 2000 + 10; in vadc_hw_settle_time_from_dt() 435 return value; in vadc_hw_settle_time_from_dt() 438 vadc_avg_samples_from_dt(u32 value) vadc_avg_samples_from_dt() argument 668 u32 chan, value, varr[2]; vadc_get_fw_channel_data() local [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/mm/ |
H A D | uffd-unit-tests.c | 226 #define pagemap_check_wp(value, wp) do { \ 227 if (!!(value & PM_UFFD_WP) != wp) \ 228 err("pagemap uffd-wp bit error: 0x%"PRIx64, value); \ 302 uint64_t value; in pagemap_test_fork() local 325 value = pagemap_get_entry(fd, area_dst); in pagemap_test_fork() 332 pagemap_check_wp(value, with_event); in pagemap_test_fork() 353 uint64_t value; in uffd_wp_unpopulated_test() local 364 value = pagemap_get_entry(pagemap_fd, area_dst); in uffd_wp_unpopulated_test() 365 pagemap_check_wp(value, true); in uffd_wp_unpopulated_test() 369 value in uffd_wp_unpopulated_test() 401 uint64_t value; uffd_wp_fork_test_common() local [all...] |
/kernel/linux/linux-6.6/sound/pci/lola/ |
H A D | lola_mixer.c | 332 /* set volume and do not save the value */ in lola_setup_all_analog_gains() 480 /* set gain value 0dB diagonally in matrix - part INPUT -> CAPTURE */ in init_mixer_values() 485 /* set gain value 0dB diagonally in matrix , part PLAYBACK -> OUTPUT in init_mixer_values() 509 uinfo->value.integer.min = 0; in lola_analog_vol_info() 510 uinfo->value.integer.max = chip->pin[dir].pins[0].amp_num_steps; in lola_analog_vol_info() 522 ucontrol->value.integer.value[i] = in lola_analog_vol_get() 536 ucontrol->value.integer.value[i], in lola_analog_vol_put() 606 uinfo->value in lola_input_src_info() [all...] |
/kernel/linux/linux-6.6/sound/pci/ice1712/ |
H A D | ews.c | 254 snd_cs8404_decode_spdif_bits(&ucontrol->value.iec958, ice->spdif.cs8403_bits); in ews88_spdif_default_get() 262 val = snd_cs8404_encode_spdif_bits(&ucontrol->value.iec958); in ews88_spdif_default_put() 277 snd_cs8404_decode_spdif_bits(&ucontrol->value.iec958, ice->spdif.cs8403_stream_bits); in ews88_spdif_stream_get() 285 val = snd_cs8404_encode_spdif_bits(&ucontrol->value.iec958); in ews88_spdif_stream_put() 582 ucontrol->value.enumerated.item[0] = snd_ice1712_read(ice, ICE1712_IREG_GPIO_DATA) & mask ? 1 : 0; in snd_ice1712_ewx_io_sense_get() 595 nval = ucontrol->value.enumerated.item[0] ? mask : 0; in snd_ice1712_ewx_io_sense_put() 640 ucontrol->value.enumerated.item[0] = data & ICE1712_EWS88MT_OUTPUT_SENSE ? 1 : 0; /* high = -10dBV, low = +4dBu */ in snd_ice1712_ews88mt_output_sense_get() 656 ndata = (data & ~ICE1712_EWS88MT_OUTPUT_SENSE) | (ucontrol->value.enumerated.item[0] ? ICE1712_EWS88MT_OUTPUT_SENSE : 0); in snd_ice1712_ews88mt_output_sense_put() 682 ucontrol->value.enumerated.item[0] = data & (1 << channel) ? 0 : 1; in snd_ice1712_ews88mt_input_sense_get() 702 ndata = (data & ~(1 << channel)) | (ucontrol->value in snd_ice1712_ews88mt_input_sense_put() [all...] |
/foundation/arkui/ace_engine/test/unittest/core/pattern/navrouter/ |
H A D | navrouter_model_test_ng.cpp | 561 ASSERT_TRUE(layoutProperty->propHideTitleBar_.value()); in HWTEST_F() 568 ASSERT_FALSE(layoutProperty->propHideTitleBar_.value()); in HWTEST_F() 577 ASSERT_FALSE(layoutProperty->propHideTitleBar_.value()); in HWTEST_F() 585 ASSERT_FALSE(layoutProperty->propHideTitleBar_.value()); in HWTEST_F() 592 ASSERT_FALSE(layoutProperty->propHideTitleBar_.value()); in HWTEST_F() 600 ASSERT_FALSE(layoutProperty->propHideTitleBar_.value()); in HWTEST_F() 608 ASSERT_FALSE(layoutProperty->propHideTitleBar_.value()); in HWTEST_F() 616 ASSERT_FALSE(layoutProperty->propHideTitleBar_.value()); in HWTEST_F() 684 ASSERT_EQ(layoutProperty->propTitleBarParentType_.value(), TitleBarParentType::NAV_DESTINATION); in HWTEST_F() 690 EXPECT_TRUE(layoutProperty->propHideBackButton_.value()); in HWTEST_F() [all...] |
/foundation/arkui/napi/test/unittest/ |
H A D | test_sendable_napi.cpp | 210 napi_value value = nullptr; in HWTEST_F() local 214 ASSERT_CHECK_CALL(napi_get_property(env, sendableClass, name_str, &value)); in HWTEST_F() 215 ASSERT_CHECK_CALL(napi_get_value_string_utf8(env, value, str, TEST_STR_LENGTH, &length)); in HWTEST_F() 248 napi_value value = nullptr; in HWTEST_F() local 253 ASSERT_CHECK_CALL(napi_get_property(env, sendableClass, static_str, &value)); in HWTEST_F() 254 ASSERT_CHECK_CALL(napi_get_value_string_utf8(env, value, str, TEST_STR_LENGTH, &length)); in HWTEST_F() 257 ASSERT_CHECK_CALL(napi_get_property(env, sendableClass, invalid_str, &value)); in HWTEST_F() 258 ASSERT_CHECK_VALUE_TYPE(env, value, napi_undefined); in HWTEST_F() 271 ASSERT_CHECK_CALL(napi_get_property(env, sendableClass, static_str, &value)); in HWTEST_F() 272 ASSERT_CHECK_CALL(napi_get_value_string_utf8(env, value, st in HWTEST_F() 310 napi_value value = nullptr; HWTEST_F() local 359 napi_value value = nullptr; HWTEST_F() local 415 napi_value value = nullptr; HWTEST_F() local 481 napi_value value = nullptr; HWTEST_F() local 522 napi_value value = nullptr; HWTEST_F() local 589 napi_value value = nullptr; HWTEST_F() local 669 napi_value value = nullptr; HWTEST_F() local 900 napi_value value = nullptr; HWTEST_F() local 954 napi_value value = nullptr; HWTEST_F() local 1908 uint32_t value = 1000; HWTEST_F() local [all...] |
/foundation/graphic/graphic_3d/lume/LumeEcsSerializer/EcsSerializer/src/ecs_serializer/ |
H A D | ecs_serializer.cpp | 68 bool GatherExternalCollections(const CORE_NS::json::value& jsonIn, ::string_view contextUri, 72 IEntityCollection& ec, const CORE_NS::json::value& jsonIn, ::string_view contextUri) const override; 73 bool ReadComponents(IEntityCollection& ec, const CORE_NS::json::value& jsonIn) const override; 74 bool ReadComponent(IEntityCollection& ec, const CORE_NS::json::value& jsonIn, CORE_NS::Entity entity, 76 bool ReadProperty(IEntityCollection& ec, const CORE_NS::json::value& jsonIn, const CORE_NS::Property& property, 88 const IEntityCollection& ec, const CORE_NS::json::value&, const CORE_NS::Property&, uintptr_t)>; 91 // A little wrapper class to create a serializer with functions for writing and readig a value. 96 bool FromJson(const IEntityCollection& ec, const CORE_NS::json::value& jsonIn, 133 const IEntityCollection& ec, const json::value& jsonIn, const Property& property, uintptr_t offset) const in FromJson() 164 const IEntityCollection& /*ec*/, const json::value in PropertyFromJson() 166 auto& value = GetPropertyValue<Type>(offset); PropertyFromJson() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/ |
H A D | amdgpu_pm.c | 712 * power_dpm_force_performance_level. Enter a new value for each 739 * - For clock frequency setting, enter a new value by writing a 1024 * Secondly, enter a new value for each level by inputing a string that 1495 uint32_t value = 0; in amdgpu_get_pp_sclk_od() local 1508 value = smu_get_od_percentage(&(adev->smu), SMU_OD_SCLK); in amdgpu_get_pp_sclk_od() 1510 value = amdgpu_dpm_get_sclk_od(adev); in amdgpu_get_pp_sclk_od() 1515 return snprintf(buf, PAGE_SIZE, "%d\n", value); in amdgpu_get_pp_sclk_od() 1526 long int value; in amdgpu_set_pp_sclk_od() local 1531 ret = kstrtol(buf, 0, &value); in amdgpu_set_pp_sclk_od() 1543 value in amdgpu_set_pp_sclk_od() 1568 uint32_t value = 0; amdgpu_get_pp_mclk_od() local 1599 long int value; amdgpu_set_pp_mclk_od() local 1766 int r, value, size = sizeof(value); amdgpu_get_gpu_busy_percent() local 1804 int r, value, size = sizeof(value); amdgpu_get_mem_busy_percent() local 2392 int value; amdgpu_hwmon_set_pwm1_enable() local 2445 u32 value; amdgpu_hwmon_set_pwm1() local 2661 u32 value; amdgpu_hwmon_set_fan1_target() local 2749 int value; amdgpu_hwmon_set_fan1_enable() local 2984 u32 value; amdgpu_hwmon_set_power_cap() local 3483 uint32_t value; amdgpu_debugfs_pm_info_pp() local [all...] |
/foundation/multimedia/audio_framework/frameworks/js/napi/common/ |
H A D | napi_param_utils.cpp | 39 napi_status NapiParamUtils::GetValueInt32(const napi_env &env, int32_t &value, napi_value in) in GetValueInt32() argument 41 napi_status status = napi_get_value_int32(env, in, &value); in GetValueInt32() 46 napi_status NapiParamUtils::SetValueInt32(const napi_env &env, const int32_t &value, napi_value &result) in SetValueInt32() argument 48 napi_status status = napi_create_int32(env, value, &result); in SetValueInt32() 54 int32_t &value, napi_value in) in GetValueInt32() 59 status = GetValueInt32(env, value, jsValue); in GetValueInt32() 64 const int32_t value, napi_value &result) in SetValueInt32() 67 napi_status status = SetValueInt32(env, value, jsValue); in SetValueInt32() 74 napi_status NapiParamUtils::GetValueUInt32(const napi_env &env, uint32_t &value, napi_value in) in GetValueUInt32() argument 76 napi_status status = napi_get_value_uint32(env, in, &value); in GetValueUInt32() 53 GetValueInt32(const napi_env &env, const std::string &fieldStr, int32_t &value, napi_value in) GetValueInt32() argument 63 SetValueInt32(const napi_env &env, const std::string &fieldStr, const int32_t value, napi_value &result) SetValueInt32() argument 81 SetValueUInt32(const napi_env &env, const uint32_t &value, napi_value &result) SetValueUInt32() argument 88 GetValueDouble(const napi_env &env, double &value, napi_value in) GetValueDouble() argument 95 SetValueDouble(const napi_env &env, const double &value, napi_value &result) SetValueDouble() argument 102 GetValueDouble(const napi_env &env, const std::string &fieldStr, double &value, napi_value in) GetValueDouble() argument 113 SetValueDouble(const napi_env &env, const std::string &fieldStr, const double value, napi_value &result) SetValueDouble() argument 124 GetPropertyString(napi_env env, napi_value value, const std::string &fieldStr) GetPropertyString() argument 143 GetStringArgument(napi_env env, napi_value value) GetStringArgument() argument 169 napi_value value = nullptr; SetValueString() local 205 napi_value value = nullptr; SetValueBoolean() local 213 GetValueInt64(const napi_env &env, int64_t &value, napi_value in) GetValueInt64() argument 220 SetValueInt64(const napi_env &env, const int64_t &value, napi_value &result) SetValueInt64() argument 227 GetValueInt64(const napi_env &env, const std::string &fieldStr, int64_t &value, napi_value in) GetValueInt64() argument 238 SetValueInt64(const napi_env &env, const std::string &fieldStr, const int64_t value, napi_value &result) SetValueInt64() argument 259 napi_value value = nullptr; CreateArrayBuffer() local 448 napi_value value = nullptr; SetDeviceDescriptor() local [all...] |
/foundation/distributeddatamgr/kv_store/kvstoremock/frameworks/jskitsimpl/distributeddata/src/ |
H A D | js_util.cpp | 167 std::string value; in GetValue() local 168 status = GetValue(env, item, value); in GetValue() 170 out.push_back(value); in GetValue() 222 DistributedKv::Blob JSUtil::VariantValue2Blob(const JSUtil::KvStoreVariant& value) in VariantValue2Blob() argument 225 auto strValue = std::get_if<std::string>(&value); in VariantValue2Blob() 230 auto u8ArrayValue = std::get_if<std::vector<uint8_t>>(&value); in VariantValue2Blob() 235 auto boolValue = std::get_if<bool>(&value); in VariantValue2Blob() 241 auto intValue = std::get_if<int32_t>(&value); in VariantValue2Blob() 243 int32_t tmp4int = *intValue; // copy value, and make it available in stack space. in VariantValue2Blob() 249 auto fltValue = std::get_if<float>(&value); in VariantValue2Blob() 731 KvStoreVariant value = 0; GetValue() local 759 napi_value value = nullptr; SetValue() local 825 std::string value; GetValue() local 829 double value = 0; GetValue() local 833 bool value = false; GetValue() local 837 std::vector<uint8_t> value; GetValue() local 903 std::string value; GetValue() local 1077 Equals(napi_env env, napi_value value, napi_ref copy) Equals() argument 1175 IsNull(napi_env env, napi_value value) IsNull() argument [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/sgx/ |
H A D | main.c | 293 put_op.value = MAGIC; in TEST_F() 301 get_op.value = 0; in TEST_F() 305 EXPECT_EQ(get_op.value, MAGIC); in TEST_F() 366 put_op.value = MAGIC; in TEST_F() 374 get_op.value = 0; in TEST_F() 378 EXPECT_EQ(get_op.value, MAGIC); in TEST_F() 434 put_op.value = MAGIC; 442 get_op.value = 0; 446 EXPECT_EQ(get_op.value, MAGIC); 515 put_op.value in TEST_F() [all...] |
/foundation/ability/ability_runtime/frameworks/native/runtime/ |
H A D | js_runtime_utils.cpp | 72 properties[0].value = nullptr; in BindNativeProperty() 105 napi_value value = napiInfo.thisVar; in GetNapiCallbackInfoAndThis() local 107 napi_get_named_property(env, value, name, &value); in GetNapiCallbackInfoAndThis() 110 NAPI_CALL_NO_THROW(napi_unwrap(env, value, &result), nullptr); in GetNapiCallbackInfoAndThis() 176 napi_value HandleEscape::Escape(napi_value value) in Escape() argument 179 napi_escape_handle(env_, scope_, value, &result); in Escape() 247 void NapiAsyncTask::Resolve(napi_env env, napi_value value) in Resolve() argument 251 napi_resolve_deferred(env, deferred_, value); in Resolve() 257 value, in Resolve() 267 ResolveWithNoError(napi_env env, napi_value value) ResolveWithNoError() argument 306 ResolveWithCustomize(napi_env env, napi_value error, napi_value value) ResolveWithCustomize() argument 326 RejectWithCustomize(napi_env env, napi_value error, napi_value value) RejectWithCustomize() argument [all...] |
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/bundle_manager/ |
H A D | bundle_manager.h | 342 void CreateApplicationFlagObject(napi_env env, napi_value value); 343 void CreateAbilityFlagObject(napi_env env, napi_value value); 344 void CreateExtensionAbilityFlagObject(napi_env env, napi_value value); 345 void CreateExtensionAbilityTypeObject(napi_env env, napi_value value); 346 void CreateBundleFlagObject(napi_env env, napi_value value); 347 void CreatePermissionGrantStateObject(napi_env env, napi_value value); 348 void CreateAbilityTypeObject(napi_env env, napi_value value); 349 void CreateDisplayOrientationObject(napi_env env, napi_value value); 350 void CreateOrientationRelatedToSensor(napi_env env, napi_value value); 351 void CreateLaunchTypeObject(napi_env env, napi_value value); [all...] |
/foundation/multimedia/image_framework/frameworks/kits/js/common/ndk/ |
H A D | image_source_native.cpp | 541 Image_String *value) in OH_ImageSourceNative_GetImageProperty() 549 if (value == nullptr) { in OH_ImageSourceNative_GetImageProperty() 562 if (value->size != SIZE_ZERO && value->size < val.size()) { in OH_ImageSourceNative_GetImageProperty() 565 value->size = (value->size == SIZE_ZERO) ? val.size() : value->size; in OH_ImageSourceNative_GetImageProperty() 566 value->data = static_cast<char *>(malloc(value->size)); in OH_ImageSourceNative_GetImageProperty() 567 if (value in OH_ImageSourceNative_GetImageProperty() 540 OH_ImageSourceNative_GetImageProperty(OH_ImageSourceNative *source, Image_String *key, Image_String *value) OH_ImageSourceNative_GetImageProperty() argument 577 OH_ImageSourceNative_ModifyImageProperty(OH_ImageSourceNative *source, Image_String *key, Image_String *value) OH_ImageSourceNative_ModifyImageProperty() argument [all...] |