/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_pattern_lock.cpp | 66 void FfiOHOSAceFrameworkPatternLockAutoReset(bool value) in FfiOHOSAceFrameworkPatternLockAutoReset() argument 68 PatternLockModel::GetInstance()->SetAutoReset(value); in FfiOHOSAceFrameworkPatternLockAutoReset() 82 void FfiOHOSAceFrameworkPatternLockCircleRadius(double value, int32_t unit) in FfiOHOSAceFrameworkPatternLockCircleRadius() argument 84 PatternLockModel::GetInstance()->SetCircleRadius(Dimension(value, static_cast<DimensionUnit>(unit))); in FfiOHOSAceFrameworkPatternLockCircleRadius() 86 void FfiOHOSAceFrameworkPatternLockSideLength(double value, int32_t unit) in FfiOHOSAceFrameworkPatternLockSideLength() argument 88 PatternLockModel::GetInstance()->SetSideLength(Dimension(value, static_cast<DimensionUnit>(unit))); in FfiOHOSAceFrameworkPatternLockSideLength() 90 void FfiOHOSAceFrameworkPatternLockStrokeWidth(double value, int32_t unit) in FfiOHOSAceFrameworkPatternLockStrokeWidth() argument 92 PatternLockModel::GetInstance()->SetStrokeWidth(Dimension(value, static_cast<DimensionUnit>(unit))); in FfiOHOSAceFrameworkPatternLockStrokeWidth()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/ |
H A D | text_accessibility_property.cpp | 23 std::string value = ""; in GetText() local 25 CHECK_NULL_RETURN(frameNode, value); in GetText() 29 CHECK_NULL_RETURN(textLayoutProperty, value); in GetText() 30 value = textLayoutProperty->GetContentValue(value); in GetText() 33 CHECK_NULL_RETURN(textPattern, value); in GetText() 34 value = textPattern->GetTextForDisplay(); in GetText() 36 return value; in GetText()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/ |
H A D | rich_editor_overlay_modifier.h | 35 void SetCaretVisible(bool value); 36 void SetScrollOffset(float value); 38 void SetTextHeight(float value); 39 void SetFrameSize(const SizeF& value); 40 void SetPreviewTextDecorationColor(const Color& value); 41 void SetPreviewTextUnderlineWidth(float value); 42 void SetShowPreviewTextDecoration(bool value); 43 void SetPreviewTextStyle(const PreviewTextStyle& value);
|
/foundation/barrierfree/accessibility/interfaces/innerkits/acfwk/include/ |
H A D | accessibility_config_observer.h | 39 void OnConfigChanged(const OHOS::AccessibilityConfig::ConfigValue& value); 40 void OnConfigChangedExtra(const OHOS::AccessibilityConfig::ConfigValue& value); 47 void NotifyStringChanged2JS(const std::string& value); 48 void NotifyStringVectorChanged2JS(std::vector<std::string> value); 51 void NotifyIntChanged2JS(int32_t value); 53 void NotifyUintChanged2JS(uint32_t value); 55 void NotifyFloatChanged2JS(float value); 68 const OHOS::AccessibilityConfig::CONFIG_ID id, const OHOS::AccessibilityConfig::ConfigValue& value) override;
|
/foundation/arkui/ace_engine_lite/frameworks/packages/runtime-core/src/core/ |
H A D | index.js | 44 const value = options[key]; 46 vm.$render = value; 48 initState(vm, value); 50 initStyleSheet(value); 51 } else if (typeof value === 'function') { 52 vm[key] = value.bind(vm); 110 set(value) { 111 source[key] = value;
|
/foundation/communication/bluetooth_service/services/bluetooth/service/src/gatt/ |
H A D | gatt_service_base.cpp | 40 Buffer *GattServiceBase::BuildBuffer(const uint8_t *value, size_t length) in BuildBuffer() argument 44 (void)memcpy_s(BufferPtr(result), length, value, length); in BuildBuffer() local 50 Buffer *GattServiceBase::BuildBuffer(const uint8_t *value, size_t offset, size_t length) in BuildBuffer() argument 54 (void)memcpy_s(BufferPtr(result), length, value + offset, length); in BuildBuffer() 60 GattValue GattServiceBase::MoveToGattValue(std::unique_ptr<uint8_t[]> &value) in MoveToGattValue() argument 63 = std::make_shared<std::unique_ptr<uint8_t[]>>(std::move(value)); in MoveToGattValue() 67 GattValue GattServiceBase::BuildGattValue(const uint8_t *value, size_t length) in BuildGattValue() argument 71 (void)memcpy_s(sharedPtr->get(), length, value, length); in BuildGattValue()
|
H A D | gatt_server_profile.h | 62 void SetAttributeValue(uint16_t valueHandle, GattDatabase::AttributeValue &value) const; 66 void SendNotification(uint16_t connectHandle, uint16_t handle, const GattValue &value, size_t len) const; 67 void SendIndication(uint16_t connectHandle, uint16_t handle, const GattValue &value, size_t len) const; 69 uint16_t connectHandle, uint16_t handle, const GattValue &value, size_t len, int result) const; 71 uint16_t connectHandle, uint16_t handle, const GattValue &value, size_t len, int result) const; 73 uint16_t connectHandle, uint16_t handle, const GattValue &value, size_t len, int result) const; 76 uint16_t connectHandle, uint16_t handle, const GattValue &value, size_t len, int result) const; 79 PrepareWriteParam param, const GattValue &value, size_t len, int result) const;
|
/foundation/multimedia/image_effect/frameworks/native/render_environment/graphic/ |
H A D | render_program.cpp | 25 void RenderProgram::SetUniform(const std::string &name, float value)
in SetUniform() argument 31 glUniform1f(location, value);
in SetUniform() 34 void RenderProgram::SetUniform(const std::string &name, int value)
in SetUniform() argument 40 glUniform1i(location, value);
in SetUniform() 43 void RenderProgram::SetUniform(const std::string &name, unsigned int value)
in SetUniform() argument 49 glUniform1ui(location, value);
in SetUniform() 52 void RenderProgram::SetUniform(const std::string &name, const void *value)
in SetUniform() argument 58 glUniformMatrix4fv(location, 1, GL_FALSE, reinterpret_cast<const GLfloat *>(value));
in SetUniform()
|
/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/include/adaptor/ |
H A D | distributed_object_impl.h | 28 uint32_t PutDouble(const std::string &key, double value) override; 29 uint32_t PutBoolean(const std::string &key, bool value) override; 30 uint32_t PutString(const std::string &key, const std::string &value) override; 31 uint32_t GetDouble(const std::string &key, double &value) override; 32 uint32_t GetBoolean(const std::string &key, bool &value) override; 33 uint32_t GetString(const std::string &key, std::string &value) override; 34 uint32_t PutComplex(const std::string &key, const std::vector<uint8_t> &value) override; 35 uint32_t GetComplex(const std::string &key, std::vector<uint8_t> &value) override;
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/cloud/ |
H A D | cloud_db_data_utils.cpp | 33 Type value = Nil(); in GenerateRecord() local 37 value = static_cast<int64_t>(start); in GenerateRecord() 40 value = start * 1.0; in GenerateRecord() 43 value = std::to_string(start); in GenerateRecord() 46 value = (start != 0); in GenerateRecord() 52 value = Bytes(blob.begin(), blob.end()); in GenerateRecord() 56 value = Nil(); in GenerateRecord() 58 bucket[field.colName] = std::move(value); in GenerateRecord()
|
/foundation/distributeddatamgr/data_object/interfaces/innerkits/ |
H A D | distributed_object.h | 36 * @brief Put or update the data whose value type is double into the database, which means that the data of 39 * @param key Indicates the key of key-value data to put or update. 40 * @param value Indicates the value of key-value data to put or update. 44 virtual uint32_t PutDouble(const std::string &key, double value) = 0; 47 * @brief Put or update the data whose value type is bool into the database, which means that the data of 50 * @param key Indicates the key of key-value data to put or update. 51 * @param value Indicates the value o [all...] |
/foundation/distributeddatamgr/relational_store/interfaces/inner_api/rdb/include/ |
H A D | values_bucket.h | 54 * @brief Put the string value to this {@code ValuesBucket} object for the given column name. 57 * @param value Indicates the string value. 59 API_EXPORT void PutString(const std::string &columnName, const std::string &value); 62 * @brief Put the int value to this {@code ValuesBucket} object for the given column name. 65 * @param value Indicates the int value. 67 API_EXPORT void PutInt(const std::string &columnName, int value); 70 * @brief Put the long value to this {@code ValuesBucket} object for the given column name. 73 * @param value Indicate [all...] |
/foundation/distributeddatamgr/relational_store/interfaces/inner_api/rdb/mock/include/ |
H A D | values_bucket.h | 50 * @brief Put the string value to this {@code ValuesBucket} object for the given column name. 53 * @param value Indicates the string value. 55 void PutString(const std::string &columnName, const std::string &value); 58 * @brief Put the int value to this {@code ValuesBucket} object for the given column name. 61 * @param value Indicates the int value. 63 void PutInt(const std::string &columnName, int value); 66 * @brief Put the long value to this {@code ValuesBucket} object for the given column name. 69 * @param value Indicate [all...] |
/foundation/window/window_manager/window_scene/screen_session_manager/include/ |
H A D | setting_provider.h | 29 ErrCode GetStringValue(const std::string& key, std::string& value); 30 ErrCode GetIntValue(const std::string& key, int32_t& value); 31 ErrCode GetLongValue(const std::string& key, int64_t& value); 32 ErrCode GetBoolValue(const std::string& key, bool& value); 33 ErrCode PutStringValue(const std::string& key, const std::string& value, bool needNotify = true); 34 ErrCode PutIntValue(const std::string& key, int32_t value, bool needNotify = true); 35 ErrCode PutLongValue(const std::string& key, int64_t value, bool needNotify = true); 36 ErrCode PutBoolValue(const std::string& key, bool value, bool needNotify = true);
|
/kernel/linux/linux-5.10/crypto/asymmetric_keys/ |
H A D | mscode_parser.c | 38 const void *value, size_t vlen) in mscode_note_content_type() 42 oid = look_up_OID(value, vlen); in mscode_note_content_type() 46 sprint_oid(value, vlen, buffer, sizeof(buffer)); in mscode_note_content_type() 70 const void *value, size_t vlen) in mscode_note_digest_algo() 76 oid = look_up_OID(value, vlen); in mscode_note_digest_algo() 101 sprint_oid(value, vlen, buffer, sizeof(buffer)); in mscode_note_digest_algo() 118 const void *value, size_t vlen) in mscode_note_digest() 122 ctx->digest = kmemdup(value, vlen, GFP_KERNEL); in mscode_note_digest() 36 mscode_note_content_type(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) mscode_note_content_type() argument 68 mscode_note_digest_algo(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) mscode_note_digest_algo() argument 116 mscode_note_digest(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) mscode_note_digest() argument
|
/kernel/linux/linux-5.10/arch/arm/kernel/ |
H A D | io.c | 18 u32 value; in atomic_io_modify_relaxed() local 21 value = readl_relaxed(reg) & ~mask; in atomic_io_modify_relaxed() 22 value |= (set & mask); in atomic_io_modify_relaxed() 23 writel_relaxed(value, reg); in atomic_io_modify_relaxed() 31 u32 value; in atomic_io_modify() local 34 value = readl_relaxed(reg) & ~mask; in atomic_io_modify() 35 value |= (set & mask); in atomic_io_modify() 36 writel(value, reg); in atomic_io_modify()
|
/kernel/linux/linux-5.10/drivers/cpufreq/ |
H A D | ppc_cbe_cpufreq_pervasive.c | 45 u64 value; in cbe_cpufreq_set_pmode() local 65 value = in_be64(&pmd_regs->pmcr); in cbe_cpufreq_set_pmode() 67 value &= 0xFFFFFFFFFFFFFFF8ull; in cbe_cpufreq_set_pmode() 69 value |= pmode; in cbe_cpufreq_set_pmode() 71 out_be64(&pmd_regs->pmcr, value); in cbe_cpufreq_set_pmode() 75 value = in_be64(&pmd_regs->pmsr) & 0x07; in cbe_cpufreq_set_pmode() 76 while (value != pmode) { in cbe_cpufreq_set_pmode() 78 value = in_be64(&pmd_regs->pmsr) & 0x07; in cbe_cpufreq_set_pmode()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce112/ |
H A D | dce112_hw_sequencer.c | 72 uint32_t value = 0; in dce112_init_pte() local 77 value = dm_read_reg(ctx, addr); in dce112_init_pte() 80 value, in dce112_init_pte() 85 value, in dce112_init_pte() 92 value, in dce112_init_pte() 98 value, in dce112_init_pte() 104 value, in dce112_init_pte() 109 dm_write_reg(ctx, addr, value); in dce112_init_pte()
|
/kernel/linux/linux-6.6/arch/arm/kernel/ |
H A D | io.c | 18 u32 value; in atomic_io_modify_relaxed() local 21 value = readl_relaxed(reg) & ~mask; in atomic_io_modify_relaxed() 22 value |= (set & mask); in atomic_io_modify_relaxed() 23 writel_relaxed(value, reg); in atomic_io_modify_relaxed() 31 u32 value; in atomic_io_modify() local 34 value = readl_relaxed(reg) & ~mask; in atomic_io_modify() 35 value |= (set & mask); in atomic_io_modify() 36 writel(value, reg); in atomic_io_modify()
|
/kernel/linux/linux-5.10/drivers/hwmon/ |
H A D | ltq-cputemp.c | 34 int value; in ltq_read() local 39 value = (ltq_cgu_r32(CGU_GPHY1_CR) >> 9) & 0x01FF; in ltq_read() 40 value = value * 5; in ltq_read() 41 /* range -38 to +154 °C, register value zero is -38.0 °C */ in ltq_read() 42 value -= 380; in ltq_read() 44 value = value * 100; in ltq_read() 50 *temp = value; in ltq_read()
|
/kernel/linux/linux-5.10/drivers/staging/sm750fb/ |
H A D | ddk750_power.c | 8 unsigned int value; in ddk750_set_dpms() local 11 value = peek32(CRT_DISPLAY_CTRL) & ~CRT_DISPLAY_CTRL_DPMS_MASK; in ddk750_set_dpms() 12 value |= (state << CRT_DISPLAY_CTRL_DPMS_SHIFT); in ddk750_set_dpms() 13 poke32(CRT_DISPLAY_CTRL, value); in ddk750_set_dpms() 15 value = peek32(SYSTEM_CTRL); in ddk750_set_dpms() 16 value = (value & ~SYSTEM_CTRL_DPMS_MASK) | state; in ddk750_set_dpms() 17 poke32(SYSTEM_CTRL, value); in ddk750_set_dpms()
|
/kernel/linux/linux-5.10/samples/bpf/ |
H A D | tracex3_kern.c | 17 __type(value, u64); 56 u64 *value, l, base; in bpf_prog2() local 59 value = bpf_map_lookup_elem(&my_map, &rq); in bpf_prog2() 60 if (!value) in bpf_prog2() 64 u64 delta = cur_time - *value; in bpf_prog2() 83 value = bpf_map_lookup_elem(&lat_map, &index); in bpf_prog2() 84 if (value) in bpf_prog2() 85 *value += 1; in bpf_prog2()
|
/kernel/linux/linux-5.10/include/net/ |
H A D | bond_options.h | 17 * BOND_OPTFLAG_RAWVAL - the option parses the value itself 26 * BOND_VALFLAG_DEFAULT - mark the value as default 27 * BOND_VALFLAG_(MIN|MAX) - mark the value as min/max 74 * - if string == NULL -> parse value 78 u64 value; member 95 * BOND_OPTVAL_RANGE's value range 115 * passing. There should be either a valid string or value, but not both. 116 * When value is ULLONG_MAX then string will be used. 119 char *string, u64 value) in __bond_opt_init() 122 optval->value in __bond_opt_init() 118 __bond_opt_init(struct bond_opt_value *optval, char *string, u64 value) __bond_opt_init() argument [all...] |
H A D | mld.h | 70 * floating-point value as follows: 77 #define MLDV2_MRC_EXP(value) (((value) >> 12) & 0x0007) 78 #define MLDV2_MRC_MAN(value) ((value) & 0x0fff) 82 * If QQIC >= 128, QQIC represents a floating-point value as follows: 89 #define MLDV2_QQIC_EXP(value) (((value) >> 4) & 0x07) 90 #define MLDV2_QQIC_MAN(value) ((value) [all...] |
/kernel/linux/linux-5.10/sound/soc/intel/common/ |
H A D | sst-dsp.h | 30 void sst_dsp_shim_write(struct sst_dsp *sst, u32 offset, u32 value); 33 u32 mask, u32 value); 35 u32 mask, u32 value); 38 void sst_dsp_shim_write_unlocked(struct sst_dsp *sst, u32 offset, u32 value); 41 u32 mask, u32 value); 43 u32 mask, u32 value); 46 void sst_shim32_write(void __iomem *addr, u32 offset, u32 value); 48 void sst_shim32_write64(void __iomem *addr, u32 offset, u64 value);
|