Home
last modified time | relevance | path

Searched refs:value (Results 2551 - 2575 of 35850) sorted by relevance

1...<<101102103104105106107108109110>>...1434

/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/test/
H A Dserializable_test.cpp31 int64_t value = 2; member
41 SetValue(node[GET_NAME(value)], value);
52 GetValue(node, GET_NAME(value), value);
60 return name == ref.name && count == ref.count && status == ref.status && value == ref.value in operator ==()
128 normal.value = -56; in HWTEST_F()
147 ASSERT_FALSE(std::is_destructible<Serializable>::value); in HWTEST_F()
148 ASSERT_TRUE(std::is_destructible<NormalEx>::value); in HWTEST_F()
258 int64_t *value = nullptr; HWTEST_F() member
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/relational/
H A Drelational_result_set_impl.cpp229 DBStatus RelationalResultSetImpl::Get(int columnIndex, std::vector<uint8_t> &value) const in Get()
236 return TransferDBErrno(rowData->Get(columnIndex, value)); in Get()
239 DBStatus RelationalResultSetImpl::Get(int columnIndex, std::string &value) const in Get()
246 return TransferDBErrno(rowData->Get(columnIndex, value)); in Get()
249 DBStatus RelationalResultSetImpl::Get(int columnIndex, int64_t &value) const in Get()
256 return TransferDBErrno(rowData->Get(columnIndex, value)); in Get()
259 DBStatus RelationalResultSetImpl::Get(int columnIndex, double &value) const in Get()
266 return TransferDBErrno(rowData->Get(columnIndex, value)); in Get()
291 int64_t value = 0; in GetData() local
292 (void)Get(columnIndex, value); in GetData()
296 double value = 0; GetData() local
301 std::string value; GetData() local
306 std::vector<uint8_t> value; GetData() local
[all...]
/foundation/filemanagement/app_file_service/tests/mock/napi/src/
H A Dnapi_mock.cpp45 napi_status napi_get_value_int32(napi_env env, napi_value value, int32_t* result) in napi_get_value_int32() argument
47 return OHOS::FileManagement::Backup::Napi::napi->napi_get_value_int32(env, value, result); in napi_get_value_int32()
50 napi_status napi_get_value_int64(napi_env env, napi_value value, int64_t* result) in napi_get_value_int64() argument
52 return OHOS::FileManagement::Backup::Napi::napi->napi_get_value_int64(env, value, result); in napi_get_value_int64()
60 napi_status napi_create_int32(napi_env env, int32_t value, napi_value* result) in napi_create_int32() argument
62 return OHOS::FileManagement::Backup::Napi::napi->napi_create_int32(env, value, result); in napi_create_int32()
65 napi_status napi_create_int64(napi_env env, int64_t value, napi_value* result) in napi_create_int64() argument
67 return OHOS::FileManagement::Backup::Napi::napi->napi_create_int64(env, value, result); in napi_create_int64()
70 napi_status napi_get_value_string_utf8(napi_env env, napi_value value, char* buf, size_t bufsize, size_t* result) in napi_get_value_string_utf8() argument
72 return OHOS::FileManagement::Backup::Napi::napi->napi_get_value_string_utf8(env, value, bu in napi_get_value_string_utf8()
75 napi_get_boolean(napi_env env, bool value, napi_value* result) napi_get_boolean() argument
85 napi_get_array_length(napi_env env, napi_value value, uint32_t* result) napi_get_array_length() argument
115 napi_create_double(napi_env env, double value, napi_value* result) napi_create_double() argument
120 napi_set_named_property(napi_env env, napi_value object, const char* utf8Name, napi_value value) napi_set_named_property() argument
136 napi_is_promise(napi_env env, napi_value value, bool* is_promise) napi_is_promise() argument
[all...]
/foundation/communication/dhcp/services/dhcp_client/src/
H A Ddhcp_result_store_manager.cpp127 std::string value = line.substr(npos + 1); in ReadNetworkSection() local
129 TrimString(value); in ReadNetworkSection()
131 sectionError += SetClassKeyValue(item, key, value); in ReadNetworkSection()
190 int32_t DhcpResultStoreManager::SetClassKeyValue(IpInfoCached &item, const std::string &key, const std::string &value) in SetClassKeyValue() argument
193 std::string valueTmp = value; in SetClassKeyValue()
195 item.bssid = value; in SetClassKeyValue()
200 item.ipResult.strYiaddr, sizeof(item.ipResult.strYiaddr), value.c_str(), value.size()) != EOK) { in SetClassKeyValue()
205 item.ipResult.strOptServerId, sizeof(item.ipResult.strOptServerId), value.c_str(), value in SetClassKeyValue()
[all...]
/kernel/linux/linux-5.10/arch/x86/kvm/vmx/
H A Dvmx_ops.h18 void vmwrite_error(unsigned long field, unsigned long value);
70 unsigned long value; in __vmcs_readl() local
100 : ASM_CALL_CONSTRAINT, "=r"(value) : "r"(field) : "cc"); in __vmcs_readl()
101 return value; in __vmcs_readl()
174 static __always_inline void __vmcs_writel(unsigned long field, unsigned long value) in __vmcs_writel() argument
176 vmx_asm2(vmwrite, "r"(field), "rm"(value), field, value); in __vmcs_writel()
179 static __always_inline void vmcs_write16(unsigned long field, u16 value) in vmcs_write16() argument
183 return evmcs_write16(field, value); in vmcs_write16()
185 __vmcs_writel(field, value); in vmcs_write16()
188 vmcs_write32(unsigned long field, u32 value) vmcs_write32() argument
197 vmcs_write64(unsigned long field, u64 value) vmcs_write64() argument
209 vmcs_writel(unsigned long field, unsigned long value) vmcs_writel() argument
[all...]
/kernel/linux/linux-5.10/drivers/acpi/acpica/
H A Ddsobject.c69 op->common.value.string, in acpi_ds_build_internal_object()
82 op->common.value. in acpi_ds_build_internal_object()
185 arg = op->common.value.arg; /* skip first arg */ in acpi_ds_build_internal_buffer_obj()
198 byte_list_length = (u32) byte_list->common.value.integer; in acpi_ds_build_internal_buffer_obj()
271 if (!op->common.value.arg) { in acpi_ds_create_node()
281 acpi_ds_build_internal_object(walk_state, op->common.value.arg, in acpi_ds_create_node()
390 obj_desc->integer.value = 0; in acpi_ds_init_object_from_op()
395 obj_desc->integer.value = 1; in acpi_ds_init_object_from_op()
400 obj_desc->integer.value = ACPI_UINT64_MAX; in acpi_ds_init_object_from_op()
402 /* Truncate value i in acpi_ds_init_object_from_op()
[all...]
H A Dexoparg2.c25 * and whether or not a value is returned:
35 * zR - RETURN VALUE: Indicates whether this opcode type returns a value
50 * value.
59 u32 value; in acpi_ex_opcode_2A_0T_0R() local
74 /* Second value is the notify value */ in acpi_ex_opcode_2A_0T_0R()
76 value = (u32) operand[1]->integer.value; in acpi_ex_opcode_2A_0T_0R()
96 status = acpi_ev_queue_notify_request(node, value); in acpi_ex_opcode_2A_0T_0R()
118 * and one implicit return value
[all...]
/kernel/linux/linux-5.10/drivers/video/fbdev/via/
H A Dvia_clock.c127 u8 value; in set_primary_pll_state() local
131 value = 0x20; in set_primary_pll_state()
134 value = 0x00; in set_primary_pll_state()
140 via_write_reg_mask(VIASR, 0x2D, value, 0x30); in set_primary_pll_state()
145 u8 value; in set_secondary_pll_state() local
149 value = 0x08; in set_secondary_pll_state()
152 value = 0x00; in set_secondary_pll_state()
158 via_write_reg_mask(VIASR, 0x2D, value, 0x0C); in set_secondary_pll_state()
163 u8 value; in set_engine_pll_state() local
167 value in set_engine_pll_state()
181 u8 value; set_primary_clock_state() local
199 u8 value; set_secondary_clock_state() local
[all...]
/kernel/linux/linux-5.10/drivers/pwm/
H A Dpwm-berlin.c66 unsigned int channel, u32 value, in berlin_pwm_writel()
69 writel_relaxed(value, chip->base + channel * 0x10 + offset); in berlin_pwm_writel()
95 u32 value, duty, period; in berlin_pwm_config() local
115 value = berlin_pwm_readl(pwm, pwm_dev->hwpwm, BERLIN_PWM_CONTROL); in berlin_pwm_config()
117 value |= BERLIN_PWM_PRESCALE_4096; in berlin_pwm_config()
119 value &= ~BERLIN_PWM_PRESCALE_4096; in berlin_pwm_config()
120 berlin_pwm_writel(pwm, pwm_dev->hwpwm, value, BERLIN_PWM_CONTROL); in berlin_pwm_config()
133 u32 value; in berlin_pwm_set_polarity() local
135 value = berlin_pwm_readl(pwm, pwm_dev->hwpwm, BERLIN_PWM_CONTROL); in berlin_pwm_set_polarity()
138 value in berlin_pwm_set_polarity()
65 berlin_pwm_writel(struct berlin_pwm_chip *chip, unsigned int channel, u32 value, unsigned long offset) berlin_pwm_writel() argument
150 u32 value; berlin_pwm_enable() local
163 u32 value; berlin_pwm_disable() local
[all...]
H A Dpwm-stmpe.c42 u8 value; in stmpe_24xx_pwm_enable() local
52 value = ret | BIT(pwm->hwpwm); in stmpe_24xx_pwm_enable()
54 ret = stmpe_reg_write(stmpe_pwm->stmpe, STMPE24XX_PWMCS, value); in stmpe_24xx_pwm_enable()
68 u8 value; in stmpe_24xx_pwm_disable() local
78 value = ret & ~BIT(pwm->hwpwm); in stmpe_24xx_pwm_disable()
80 ret = stmpe_reg_write(stmpe_pwm->stmpe, STMPE24XX_PWMCS, value); in stmpe_24xx_pwm_disable()
172 u8 value, last = stmpe_pwm->last_duty; in stmpe_24xx_pwm_config() local
188 value = duty; in stmpe_24xx_pwm_config()
190 if (value == last) { in stmpe_24xx_pwm_config()
197 /* STMPE2403 can simply set the right PWM value */ in stmpe_24xx_pwm_config()
229 u8 value; stmpe_24xx_pwm_config() local
[all...]
H A Dpwm-tiecap.c56 u16 value; in ecap_pwm_config() local
78 value = readw(pc->mmio_base + ECCTL2); in ecap_pwm_config()
81 value |= ECCTL2_APWM_MODE | ECCTL2_SYNC_SEL_DISA; in ecap_pwm_config()
83 writew(value, pc->mmio_base + ECCTL2); in ecap_pwm_config()
100 value = readw(pc->mmio_base + ECCTL2); in ecap_pwm_config()
102 value &= ~ECCTL2_APWM_MODE; in ecap_pwm_config()
103 writew(value, pc->mmio_base + ECCTL2); in ecap_pwm_config()
115 u16 value; in ecap_pwm_set_polarity() local
119 value = readw(pc->mmio_base + ECCTL2); in ecap_pwm_set_polarity()
123 value | in ecap_pwm_set_polarity()
138 u16 value; ecap_pwm_enable() local
157 u16 value; ecap_pwm_disable() local
[all...]
/kernel/linux/linux-6.6/drivers/acpi/acpica/
H A Ddsobject.c69 op->common.value.string, in acpi_ds_build_internal_object()
82 op->common.value. in acpi_ds_build_internal_object()
185 arg = op->common.value.arg; /* skip first arg */ in acpi_ds_build_internal_buffer_obj()
198 byte_list_length = (u32) byte_list->common.value.integer; in acpi_ds_build_internal_buffer_obj()
271 if (!op->common.value.arg) { in acpi_ds_create_node()
281 acpi_ds_build_internal_object(walk_state, op->common.value.arg, in acpi_ds_create_node()
390 obj_desc->integer.value = 0; in acpi_ds_init_object_from_op()
395 obj_desc->integer.value = 1; in acpi_ds_init_object_from_op()
400 obj_desc->integer.value = ACPI_UINT64_MAX; in acpi_ds_init_object_from_op()
402 /* Truncate value i in acpi_ds_init_object_from_op()
[all...]
H A Dexoparg2.c25 * and whether or not a value is returned:
35 * zR - RETURN VALUE: Indicates whether this opcode type returns a value
50 * value.
59 u32 value; in acpi_ex_opcode_2A_0T_0R() local
74 /* Second value is the notify value */ in acpi_ex_opcode_2A_0T_0R()
76 value = (u32) operand[1]->integer.value; in acpi_ex_opcode_2A_0T_0R()
96 status = acpi_ev_queue_notify_request(node, value); in acpi_ex_opcode_2A_0T_0R()
118 * and one implicit return value
[all...]
/kernel/linux/linux-6.6/drivers/pwm/
H A Dpwm-berlin.c67 unsigned int channel, u32 value, in berlin_pwm_writel()
70 writel_relaxed(value, bpc->base + channel * 0x10 + offset); in berlin_pwm_writel()
96 u32 value, duty, period; in berlin_pwm_config() local
116 value = berlin_pwm_readl(bpc, pwm->hwpwm, BERLIN_PWM_CONTROL); in berlin_pwm_config()
118 value |= BERLIN_PWM_PRESCALE_4096; in berlin_pwm_config()
120 value &= ~BERLIN_PWM_PRESCALE_4096; in berlin_pwm_config()
121 berlin_pwm_writel(bpc, pwm->hwpwm, value, BERLIN_PWM_CONTROL); in berlin_pwm_config()
134 u32 value; in berlin_pwm_set_polarity() local
136 value = berlin_pwm_readl(bpc, pwm->hwpwm, BERLIN_PWM_CONTROL); in berlin_pwm_set_polarity()
139 value in berlin_pwm_set_polarity()
66 berlin_pwm_writel(struct berlin_pwm_chip *bpc, unsigned int channel, u32 value, unsigned long offset) berlin_pwm_writel() argument
151 u32 value; berlin_pwm_enable() local
164 u32 value; berlin_pwm_disable() local
[all...]
H A Dpwm-stmpe.c42 u8 value; in stmpe_24xx_pwm_enable() local
52 value = ret | BIT(pwm->hwpwm); in stmpe_24xx_pwm_enable()
54 ret = stmpe_reg_write(stmpe_pwm->stmpe, STMPE24XX_PWMCS, value); in stmpe_24xx_pwm_enable()
68 u8 value; in stmpe_24xx_pwm_disable() local
78 value = ret & ~BIT(pwm->hwpwm); in stmpe_24xx_pwm_disable()
80 ret = stmpe_reg_write(stmpe_pwm->stmpe, STMPE24XX_PWMCS, value); in stmpe_24xx_pwm_disable()
173 u8 value, last = stmpe_pwm->last_duty; in stmpe_24xx_pwm_config() local
189 value = duty; in stmpe_24xx_pwm_config()
191 if (value == last) { in stmpe_24xx_pwm_config()
198 /* STMPE2403 can simply set the right PWM value */ in stmpe_24xx_pwm_config()
230 u8 value; stmpe_24xx_pwm_config() local
[all...]
H A Dpwm-tiecap.c56 u16 value; in ecap_pwm_config() local
75 value = readw(pc->mmio_base + ECCTL2); in ecap_pwm_config()
78 value |= ECCTL2_APWM_MODE | ECCTL2_SYNC_SEL_DISA; in ecap_pwm_config()
80 writew(value, pc->mmio_base + ECCTL2); in ecap_pwm_config()
97 value = readw(pc->mmio_base + ECCTL2); in ecap_pwm_config()
99 value &= ~ECCTL2_APWM_MODE; in ecap_pwm_config()
100 writew(value, pc->mmio_base + ECCTL2); in ecap_pwm_config()
112 u16 value; in ecap_pwm_set_polarity() local
116 value = readw(pc->mmio_base + ECCTL2); in ecap_pwm_set_polarity()
120 value | in ecap_pwm_set_polarity()
135 u16 value; ecap_pwm_enable() local
154 u16 value; ecap_pwm_disable() local
[all...]
/kernel/linux/linux-6.6/drivers/video/fbdev/via/
H A Dvia_clock.c127 u8 value; in set_primary_pll_state() local
131 value = 0x20; in set_primary_pll_state()
134 value = 0x00; in set_primary_pll_state()
140 via_write_reg_mask(VIASR, 0x2D, value, 0x30); in set_primary_pll_state()
145 u8 value; in set_secondary_pll_state() local
149 value = 0x08; in set_secondary_pll_state()
152 value = 0x00; in set_secondary_pll_state()
158 via_write_reg_mask(VIASR, 0x2D, value, 0x0C); in set_secondary_pll_state()
163 u8 value; in set_engine_pll_state() local
167 value in set_engine_pll_state()
181 u8 value; set_primary_clock_state() local
199 u8 value; set_secondary_clock_state() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_ioctl.c45 param->value = vmw_overlay_num_overlays(dev_priv); in vmw_getparam_ioctl()
48 param->value = vmw_overlay_num_free_overlays(dev_priv); in vmw_getparam_ioctl()
51 param->value = vmw_supports_3d(dev_priv) ? 1 : 0; in vmw_getparam_ioctl()
54 param->value = dev_priv->capabilities; in vmw_getparam_ioctl()
57 param->value = dev_priv->capabilities2; in vmw_getparam_ioctl()
60 param->value = vmw_fifo_caps(dev_priv); in vmw_getparam_ioctl()
63 param->value = dev_priv->max_primary_mem; in vmw_getparam_ioctl()
68 param->value = SVGA3D_HWVERSION_WS8_B1; in vmw_getparam_ioctl()
70 param->value = vmw_fifo_mem_read( in vmw_getparam_ioctl()
81 param->value in vmw_getparam_ioctl()
[all...]
/third_party/gn/src/base/numerics/
H A Dsafe_math_shared_impl.h113 bool IsInteger = std::is_integral<Numeric>::value,
114 bool IsFloat = std::is_floating_point<Numeric>::value>
133 typename std::enable_if<std::is_integral<T>::value>::type* = nullptr>
134 constexpr T NegateWrapper(T value) { in NegateWrapper() argument
137 return static_cast<T>(UnsignedT(0) - static_cast<UnsignedT>(value)); in NegateWrapper()
142 typename std::enable_if<std::is_floating_point<T>::value>::type* = nullptr>
143 constexpr T NegateWrapper(T value) { in NegateWrapper() argument
144 return -value; in NegateWrapper()
148 typename std::enable_if<std::is_integral<T>::value>::type* = nullptr>
149 constexpr typename std::make_unsigned<T>::type InvertWrapper(T value) { in InvertWrapper() argument
155 AbsWrapper(T value) AbsWrapper() argument
162 AbsWrapper(T value) AbsWrapper() argument
[all...]
/third_party/markupsafe/
H A D__init__.py26 return wrapped # type: ignore[return-value]
161 value = str(self)
168 start = value.find("<!--")
174 end = value.find("-->", start)
179 value = f"{value[:start]}{value[end + 3:]}"
183 start = value.find("<")
188 end = value.find(">", start)
193 value
[all...]
/third_party/json/tests/thirdparty/fifo_map/
H A Dfifo_map.hpp294 /// insert value
295 std::pair<iterator, bool> insert(const value_type& value) in insert() argument
297 m_compare.add_key(value.first); in insert()
298 return m_map.insert(value); in insert()
301 /// insert value
303 std::pair<iterator, bool> insert( P&& value ) in insert()
305 m_compare.add_key(value.first); in insert()
306 return m_map.insert(value); in insert()
309 /// insert value with hint
310 iterator insert(const_iterator hint, const value_type& value) in insert() argument
317 insert(const_iterator hint, value_type&& value) insert() argument
[all...]
/third_party/jerryscript/jerry-core/ecma/builtin-objects/
H A Decma-builtin-math.c117 * @return ecma value
118 * Returned value must be freed with ecma_free_value.
138 ecma_value_t value = ecma_op_to_number (*arg); in ecma_builtin_math_object_max_min() local
140 if (ECMA_IS_VALUE_ERROR (value)) in ecma_builtin_math_object_max_min()
142 return value; in ecma_builtin_math_object_max_min()
145 arg_num = ecma_get_number_from_value (value); in ecma_builtin_math_object_max_min()
147 ecma_fast_free_value (value); in ecma_builtin_math_object_max_min()
193 * @return ecma value
194 * Returned value must be freed with ecma_free_value.
218 ecma_value_t value in ecma_builtin_math_object_hypot() local
360 ecma_value_t value = ecma_op_to_number (arguments_list[0]); ecma_builtin_math_dispatch_routine() local
382 ecma_value_t value = ecma_op_to_number (arguments_list[1]); ecma_builtin_math_dispatch_routine() local
[all...]
/third_party/node/lib/internal/util/parse_args/
H A Dparse_args.js79 if (!token.inlineValue && isOptionLikeValue(token.value)) {
105 if (type === 'string' && typeof token.value !== 'string') {
106 throw new ERR_PARSE_ARGS_INVALID_OPTION_VALUE(`Option '${shortAndLong} <value>' argument missing`);
109 if (type === 'boolean' && token.value != null) {
116 * Store the option value in `values`.
118 * @param {string|undefined} optionValue - value from user args
127 // We store based on the option value rather than option type,
131 // Always store value in array, including for boolean.
133 // first value is added as new array [newValue],
147 * Store the default option value i
[all...]
/third_party/nghttp2/src/
H A Dshrpx_config_test.cc45 CU_ASSERT("b" == p.value); in test_shrpx_config_parse_header()
49 CU_ASSERT("b" == p.value); in test_shrpx_config_parse_header()
56 CU_ASSERT(":b" == p.value); in test_shrpx_config_parse_header()
63 CU_ASSERT("bravo charlie" == p.value); in test_shrpx_config_parse_header()
85 CU_ASSERT(" - $remote_user [" == res[1].value); in test_shrpx_config_parse_log_format()
90 CU_ASSERT("] \"" == res[3].value); in test_shrpx_config_parse_log_format()
95 CU_ASSERT("\" " == res[5].value); in test_shrpx_config_parse_log_format()
100 CU_ASSERT(" " == res[7].value); in test_shrpx_config_parse_log_format()
105 CU_ASSERT(" \"" == res[9].value); in test_shrpx_config_parse_log_format()
108 CU_ASSERT("referer" == res[10].value); in test_shrpx_config_parse_log_format()
[all...]
/third_party/node/deps/npm/node_modules/@pkgjs/parseargs/
H A Dindex.js79 if (!token.inlineValue && isOptionLikeValue(token.value)) {
106 if (type === 'string' && typeof token.value !== 'string') {
107 throw new ERR_PARSE_ARGS_INVALID_OPTION_VALUE(`Option '${shortAndLong} <value>' argument missing`);
110 if (type === 'boolean' && token.value != null) {
117 * Store the option value in `values`.
120 * @param {string|undefined} optionValue - value from user args
129 // We store based on the option value rather than option type,
133 // Always store value in array, including for boolean.
135 // first value is added as new array [newValue],
149 * Store the default option value i
[all...]

Completed in 15 milliseconds

1...<<101102103104105106107108109110>>...1434