Home
last modified time | relevance | path

Searched refs:value (Results 2001 - 2025 of 37492) sorted by relevance

1...<<81828384858687888990>>...1500

/base/powermgr/thermal_manager/services/native/src/thermal_action/action/
H A Daction_volume.cpp59 void ActionVolume::AddActionValue(std::string value) in AddActionValue() argument
61 if (value.empty()) { in AddActionValue()
64 valueList_.push_back(static_cast<float>(strtof(value.c_str(), nullptr))); in AddActionValue()
71 float value = GetActionValue(); in Execute() local
72 if (fabs(value - lastValue_) > FLOAT_ACCURACY) { in Execute()
74 VolumeRequest(value); in Execute()
76 VolumeExecution(value); in Execute()
78 WriteActionTriggeredHiSysEventWithRatio(enableEvent_, actionName_, value); in Execute()
79 tms->GetObserver()->SetDecisionValue(actionName_, std::to_string(value)); in Execute()
80 lastValue_ = value; in Execute()
88 float value = FALLBACK_VALUE_FLOAT; GetActionValue() local
[all...]
/base/msdp/device_status/rust/data/sys/src/ipc/
H A Ddrag.rs62 pub fn from_c(value: &mut CShadowInfo) -> Self in from_c()
66 x: value.x, in from_c()
67 y: value.y, in from_c()
118 pub fn from_c(value: &mut CDragData) -> Self in from_c()
123 std::slice::from_raw_parts(value.buffer, value.buffer_size) in from_c()
131 shadow_info: ShadowInfo::from_c(&mut value.shadow_info), in from_c()
133 source_type: value.source_type, in from_c()
134 drag_num: value.drag_num, in from_c()
135 pointer_id: value in from_c()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/marquee/
H A Dmarquee_layout_property.h39 auto value = MakeRefPtr<MarqueeLayoutProperty>(); variable
40 value->LayoutProperty::UpdateLayoutProperty(DynamicCast<LayoutProperty>(this));
41 value->propPlayerStatus_ = ClonePlayerStatus();
42 value->propScrollAmount_ = CloneScrollAmount();
43 value->propDirection_ = CloneDirection();
44 value->propLoop_ = CloneLoop();
45 value->propAllowScale_ = CloneAllowScale();
46 value->propSrc_ = CloneSrc();
47 value->propFontSize_ = CloneFontSize();
48 value
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/linear_indicator/
H A Dlinear_indicator_model_ng.cpp40 void LinearIndicatorModelNG::SetSpace(const Dimension& value) in SetSpace() argument
44 ACE_UPDATE_NODE_LAYOUT_PROPERTY(LinearIndicatorLayoutProperty, Space, value, frameNode); in SetSpace()
47 void LinearIndicatorModelNG::SetStrokeWidth(const Dimension& value) in SetStrokeWidth() argument
51 ACE_UPDATE_NODE_LAYOUT_PROPERTY(LinearIndicatorLayoutProperty, StrokeWidth, value, frameNode); in SetStrokeWidth()
54 void LinearIndicatorModelNG::SetStrokeRadius(const Dimension& value) in SetStrokeRadius() argument
58 ACE_UPDATE_NODE_LAYOUT_PROPERTY(LinearIndicatorLayoutProperty, StrokeRadius, value, frameNode); in SetStrokeRadius()
61 void LinearIndicatorModelNG::SetTrackBackgroundColor(const Color& value) in SetTrackBackgroundColor() argument
65 ACE_UPDATE_NODE_LAYOUT_PROPERTY(LinearIndicatorLayoutProperty, TrackBackgroundColor, value, frameNode); in SetTrackBackgroundColor()
68 void LinearIndicatorModelNG::SetTrackColor(const Color& value) in SetTrackColor() argument
72 ACE_UPDATE_NODE_LAYOUT_PROPERTY(LinearIndicatorLayoutProperty, TrackColor, value, frameNod in SetTrackColor()
75 Loop(bool value) Loop() argument
118 SetLoop(FrameNode* frameNode, bool value) SetLoop() argument
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
H A Ddom_picker_base.h46 bool SetStart(const std::string& value);
47 bool SetEnd(const std::string& value);
48 bool SetSelected(const std::string& value);
49 bool SetHasSecond(const std::string& value);
50 bool SetRange(const std::string& value);
51 bool SetColumnCount(const std::string& value);
52 bool SetHour24(const std::string& value);
53 bool SetLunar(const std::string& value);
54 bool SetShowLunar(const std::string& value);
55 bool SetPrefix(const std::string& value);
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/
H A Drating_model_impl.cpp62 void RatingModelImpl::SetRatingScore(double value) in SetRatingScore() argument
66 ratingComponent->SetRatingScore(value); in SetRatingScore()
69 void RatingModelImpl::SetIndicator(bool value) in SetIndicator() argument
73 ratingComponent->SetIndicator(value); in SetIndicator()
76 void RatingModelImpl::SetStars(int32_t value) in SetStars() argument
80 ratingComponent->SetStarNum(value); in SetStars()
83 void RatingModelImpl::SetStepSize(double value) in SetStepSize() argument
87 ratingComponent->SetStepSize(value); in SetStepSize()
90 void RatingModelImpl::SetForegroundSrc(const std::string& value, bool flag) in SetForegroundSrc() argument
94 ratingComponent->SetForegroundSrc(value); in SetForegroundSrc()
97 SetSecondarySrc(const std::string& value, bool flag) SetSecondarySrc() argument
104 SetBackgroundSrc(const std::string& value, bool flag) SetBackgroundSrc() argument
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_clock/
H A Dtext_clock_model_ng.h40 void SetFontSize(const Dimension& value) override;
41 void SetTextColor(const Color& value) override;
42 void SetItalicFontStyle(Ace::FontStyle value) override;
43 void SetFontWeight(FontWeight value) override;
44 void SetFontFamily(const std::vector<std::string>& value) override;
45 void SetTextShadow(const std::vector<Shadow>& value) override;
46 void SetFontFeature(const FONT_FEATURES_LIST& value) override;
54 static void SetFontColor(FrameNode* frameNode, const Color& value);
55 static void SetFontSize(FrameNode* frameNode, const Dimension& value);
56 static void SetFontStyle(FrameNode* frameNode, Ace::FontStyle value);
[all...]
/foundation/arkui/napi/interfaces/inner_api/cjffi/ark_interop/
H A Dark_interop_internal.h59 ARKTS_INLINE panda::Local<T> ARKTS_ToHandle(ARKTS_Value& value) in ARKTS_ToHandle() argument
61 auto v = BIT_CAST(value, panda::JSValueRef); in ARKTS_ToHandle()
64 addr = value; in ARKTS_ToHandle()
66 addr = &value; in ARKTS_ToHandle()
71 ARKTS_INLINE panda::JSValueRef ARKTS_ToValue(ARKTS_Value value) in ARKTS_ToValue() argument
73 auto v = BIT_CAST(value, panda::JSValueRef); in ARKTS_ToValue()
75 return *BIT_CAST(value, panda::JSValueRef*); in ARKTS_ToValue()
82 ARKTS_INLINE ARKTS_Value ARKTS_FromHandle(panda::Local<T>& value) in ARKTS_FromHandle() argument
84 if (value->IsHeapObject()) { in ARKTS_FromHandle()
85 return BIT_CAST(value, ARKTS_Valu in ARKTS_FromHandle()
91 ARKTS_ToResult(panda::EcmaVM* vm, ARKTS_Value value) ARKTS_ToResult() argument
[all...]
/foundation/multimedia/image_framework/interfaces/innerkits/include/
H A Dexif_metadata.h34 virtual int GetValue(const std::string &key, std::string &value) const override;
35 virtual bool SetValue(const std::string &key, const std::string &value) override;
57 int HandleMakerNote(std::string &value) const;
58 int HandleHwMnote(const std::string &key, std::string &value) const;
60 bool SetShort(ExifEntry *ptrEntry, const ExifByteOrder &o, const std::string &value);
61 bool SetSShort(ExifEntry *ptrEntry, const ExifByteOrder &o, const std::string &value);
62 bool SetLong(ExifEntry *ptrEntry, const ExifByteOrder &o, const std::string &value);
63 bool SetSLong(ExifEntry *ptrEntry, const ExifByteOrder &o, const std::string &value);
64 bool SetRational(ExifEntry *ptrEntry, const ExifByteOrder &o, const std::string &value);
65 bool SetSRational(ExifEntry *ptrEntry, const ExifByteOrder &o, const std::string &value);
[all...]
/foundation/resourceschedule/background_task_mgr/services/efficiency_resources/src/
H A Dresource_application_record.cpp87 bool ResourceApplicationRecord::ParseFromJson(const nlohmann::json& value) in ParseFromJson() argument
89 if (value.empty()) { in ParseFromJson()
90 BGTASK_LOGE("value is empty"); in ParseFromJson()
93 if (!CommonUtils::CheckJsonValue(value, {"uid", "pid", "bundleName", "resourceNumber"}) || in ParseFromJson()
94 !value.at("uid").is_number_integer() || !value.at("pid").is_number_integer() || in ParseFromJson()
95 !value.at("bundleName").is_string() || !value.at("resourceNumber").is_number_integer()) { in ParseFromJson()
96 BGTASK_LOGE("checkJsonValue of value is failed"); in ParseFromJson()
99 this->uid_ = value in ParseFromJson()
[all...]
/foundation/communication/netmanager_base/utils/common_utils/include/
H A Dlru_cache.h39 auto value = it->value; in Get() local
41 return value; in Get()
44 void Put(const std::string &key, const T &value) in Put() argument
49 AddNode(Node(key, {value})); in Put()
57 it->value.emplace_back(value); in Put()
88 std::vector<T> value; member
92 Node(std::string key, std::vector<T> value) : key(std::move(key)), value(st
104 auto value = it->value; MoveNodeToHead() local
[all...]
/kernel/linux/linux-5.10/arch/microblaze/kernel/
H A Dmodule.c26 unsigned long int value; in apply_relocate_add() local
40 value = sym->st_value + rela[i].r_addend; in apply_relocate_add()
54 *location = value + old_value; in apply_relocate_add()
57 old_value, value); in apply_relocate_add()
59 *location = value; in apply_relocate_add()
68 value += old_value; in apply_relocate_add()
71 (value >> 16); in apply_relocate_add()
73 (value & 0xFFFF); in apply_relocate_add()
76 old_value, value); in apply_relocate_add()
84 value in apply_relocate_add()
[all...]
/kernel/linux/linux-6.6/tools/testing/kunit/
H A Dkunit_config.py19 value: str
22 if self.value == 'n':
24 return f'CONFIG_{self.name}={self.value}'
46 for name, value in self._entries.items():
47 yield KconfigEntry(name, value)
49 def add_entry(self, name: str, value: str) -> None:
50 self._entries[name] = value
53 for name, value in self._entries.items():
56 if value == 'n':
59 if value !
[all...]
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/textpicker/
H A Dtextpicker_selectedindex_test.cpp26 ArkUI_NumberValue value[] = {{.i32 = PARAM_2}}; in TestTextPickerSelectedIndex001() local
27 ArkUI_AttributeItem value_item = {value, sizeof(value) / sizeof(ArkUI_NumberValue)}; in TestTextPickerSelectedIndex001()
30 ASSERT_EQ(nodeAPI->getAttribute(textPicker, NODE_TEXT_PICKER_SELECTED_INDEX)->value[PARAM_0].i32, PARAM_2); in TestTextPickerSelectedIndex001()
41 ArkUI_NumberValue value[] = {{.i32 = PARAM_2}, {.i32 = PARAM_2}, {.i32 = PARAM_2}}; in TestTextPickerSelectedIndex002() local
42 ArkUI_AttributeItem value_item = {value, sizeof(value) / sizeof(ArkUI_NumberValue)}; in TestTextPickerSelectedIndex002()
45 ASSERT_EQ(nodeAPI->getAttribute(textPicker, NODE_TEXT_PICKER_SELECTED_INDEX)->value[PARAM_0].i32, PARAM_2); in TestTextPickerSelectedIndex002()
46 ASSERT_EQ(nodeAPI->getAttribute(textPicker, NODE_TEXT_PICKER_SELECTED_INDEX)->value[PARAM_1].i32, PARAM_2); in TestTextPickerSelectedIndex002()
47 ASSERT_EQ(nodeAPI->getAttribute(textPicker, NODE_TEXT_PICKER_SELECTED_INDEX)->value[PARAM_ in TestTextPickerSelectedIndex002()
58 ArkUI_NumberValue value[] = {{.i32 = SIZE_100}}; TestTextPickerSelectedIndex003() local
[all...]
H A Dtextpicker_selected_test.cpp26 ArkUI_NumberValue value[] = {{.u32 = PARAM_2}}; in TestTextPickerSelected001() local
27 ArkUI_AttributeItem value_item = {value, sizeof(value) / sizeof(ArkUI_NumberValue)}; in TestTextPickerSelected001()
30 ASSERT_EQ(nodeAPI->getAttribute(textPicker, NODE_TEXT_PICKER_OPTION_SELECTED)->value[PARAM_0].u32, PARAM_2); in TestTextPickerSelected001()
41 ArkUI_NumberValue value[] = {{.u32 = PARAM_2}, {.u32 = PARAM_2}, {.u32 = PARAM_2}}; in TestTextPickerSelected002() local
42 ArkUI_AttributeItem value_item = {value, sizeof(value) / sizeof(ArkUI_NumberValue)}; in TestTextPickerSelected002()
45 ASSERT_EQ(nodeAPI->getAttribute(textPicker, NODE_TEXT_PICKER_OPTION_SELECTED)->value[PARAM_0].u32, PARAM_2); in TestTextPickerSelected002()
46 ASSERT_EQ(nodeAPI->getAttribute(textPicker, NODE_TEXT_PICKER_OPTION_SELECTED)->value[PARAM_1].u32, PARAM_2); in TestTextPickerSelected002()
47 ASSERT_EQ(nodeAPI->getAttribute(textPicker, NODE_TEXT_PICKER_OPTION_SELECTED)->value[PARAM_ in TestTextPickerSelected002()
58 ArkUI_NumberValue value[] = {{.u32 = SIZE_100}}; TestTextPickerSelected003() local
[all...]
/third_party/gn/src/base/json/
H A Djson_writer.cc64 bool value; in BuildJSONString() local
65 bool result = node.GetAsBoolean(&value); in BuildJSONString()
67 json_string_->append(value ? "true" : "false"); in BuildJSONString()
72 int value; in BuildJSONString() local
73 bool result = node.GetAsInteger(&value); in BuildJSONString()
75 json_string_->append(IntToString(value)); in BuildJSONString()
80 std::string value; in BuildJSONString() local
81 bool result = node.GetAsString(&value); in BuildJSONString()
83 EscapeJSONString(value, true, json_string_); in BuildJSONString()
96 for (const auto& value in BuildJSONString()
[all...]
/third_party/jsframework/runtime/main/reactivity/
H A Dwatcher.js13 * and fires callback when the expression value changes.
51 this.value = this.lazy
64 const value = this.getter.call(this.vm, this.vm);
68 traverse(value);
72 return value;
128 const value = this.get();
130 value !== this.value ||
131 ((isObject(value) || this.deep) && !this.shallow)
133 // Set new value
[all...]
/third_party/mesa3d/src/gallium/frontends/xvmc/
H A Dattributes.c76 Status XvMCSetAttribute(Display *dpy, XvMCContext *context, Atom attribute, int value) in XvMCSetAttribute() argument
94 context_priv->procamp.brightness = value / 1000.0f; in XvMCSetAttribute()
96 context_priv->procamp.contrast = value / 1000.0f + 1.0f; in XvMCSetAttribute()
98 context_priv->procamp.saturation = value / 1000.0f + 1.0f; in XvMCSetAttribute()
100 context_priv->procamp.hue = value / 1000.0f; in XvMCSetAttribute()
102 context_priv->color_standard = value ? in XvMCSetAttribute()
115 XVMC_MSG(XVMC_TRACE, "[XvMC] Set attribute %s to value %d.\n", attr, value); in XvMCSetAttribute()
121 Status XvMCGetAttribute(Display *dpy, XvMCContext *context, Atom attribute, int *value) in XvMCGetAttribute() argument
138 *value in XvMCGetAttribute()
[all...]
/third_party/node/lib/internal/webstreams/
H A Dencoding.js44 function isTextEncoderStream(value) {
45 return typeof value?.[kHandle] === 'object' &&
46 value?.[kType] === 'TextEncoderStream';
49 function isTextDecoderStream(value) {
50 return typeof value?.[kHandle] === 'object' &&
51 value?.[kType] === 'TextDecoderStream';
87 const value = this[kHandle].encode(finalChunk);
88 controller.enqueue(value);
154 const value = this[kHandle].decode(chunk, { stream: true });
155 if (value)
[all...]
/third_party/node/deps/v8/tools/clusterfuzz/js_fuzzer/resources/
H A Ddifferential_fuzz_library.js40 prettyPrinted = function prettyPrinted(value, depth=4) {
44 switch (typeof value) {
46 if (value === null) return "null";
47 switch (classOf(value)) {
49 return prettyPrintedArray(value, depth);
51 return prettyPrintedObject(value, depth);
55 return origPrettyPrinted(value);
60 const result = map.call(array, (value, index, array) => {
61 if (value === undefined && !(index in array)) return "";
62 return prettyPrinted(value, dept
[all...]
/third_party/node/deps/icu-small/source/tools/genccode/
H A Dgenccode.c105 options[kOptDestDir].value = "."; in main()
150 if (!checkAssemblyHeaderName(options[kOptAssembly].value)) { in main()
152 "Assembly type \"%s\" is unknown.\n", options[kOptAssembly].value); in main()
180 writeCCode(filename, options[kOptDestDir].value, in main()
181 options[kOptEntryPoint].doesOccur ? options[kOptEntryPoint].value : NULL, in main()
182 options[kOptName].doesOccur ? options[kOptName].value : NULL, in main()
183 options[kOptFilename].doesOccur ? options[kOptFilename].value : NULL, in main()
188 writeAssemblyCode(filename, options[kOptDestDir].value, in main()
189 options[kOptEntryPoint].doesOccur ? options[kOptEntryPoint].value : NULL, in main()
190 options[kOptFilename].doesOccur ? options[kOptFilename].value in main()
[all...]
/third_party/libinput/test/
H A Dlitest-device-elan-tablet.c30 { .type = EV_ABS, .code = ABS_X, .value = LITEST_AUTO_ASSIGN },
31 { .type = EV_ABS, .code = ABS_Y, .value = LITEST_AUTO_ASSIGN },
32 { .type = EV_ABS, .code = ABS_PRESSURE, .value = LITEST_AUTO_ASSIGN },
33 { .type = EV_KEY, .code = LITEST_BTN_TOOL_AUTO, .value = 1 },
34 { .type = EV_SYN, .code = SYN_REPORT, .value = 0 },
39 { .type = EV_KEY, .code = LITEST_BTN_TOOL_AUTO, .value = 0 },
40 { .type = EV_SYN, .code = SYN_REPORT, .value = 0 },
45 { .type = EV_ABS, .code = ABS_X, .value = LITEST_AUTO_ASSIGN },
46 { .type = EV_ABS, .code = ABS_Y, .value = LITEST_AUTO_ASSIGN },
47 { .type = EV_ABS, .code = ABS_PRESSURE, .value
89 get_axis_default(struct litest_device *d, unsigned int evcode, int32_t *value) get_axis_default() argument
[all...]
H A Dlitest-device-wacom-isdv4-524c-pen.c41 { .type = EV_ABS, .code = ABS_X, .value = LITEST_AUTO_ASSIGN },
42 { .type = EV_ABS, .code = ABS_Y, .value = LITEST_AUTO_ASSIGN },
43 { .type = EV_ABS, .code = ABS_PRESSURE, .value = LITEST_AUTO_ASSIGN },
44 { .type = EV_KEY, .code = LITEST_BTN_TOOL_AUTO, .value = 1 },
45 { .type = EV_SYN, .code = SYN_REPORT, .value = 0 },
50 { .type = EV_KEY, .code = LITEST_BTN_TOOL_AUTO, .value = 0 },
51 { .type = EV_SYN, .code = SYN_REPORT, .value = 0 },
56 { .type = EV_ABS, .code = ABS_X, .value = LITEST_AUTO_ASSIGN },
57 { .type = EV_ABS, .code = ABS_Y, .value = LITEST_AUTO_ASSIGN },
58 { .type = EV_ABS, .code = ABS_PRESSURE, .value
64 get_axis_default(struct litest_device *d, unsigned int evcode, int32_t *value) get_axis_default() argument
[all...]
H A Dlitest-device-alps-3fg.c107 { .type = EV_ABS, .code = ABS_X, .value = LITEST_AUTO_ASSIGN },
108 { .type = EV_ABS, .code = ABS_Y, .value = LITEST_AUTO_ASSIGN },
109 { .type = EV_ABS, .code = ABS_MT_SLOT, .value = LITEST_AUTO_ASSIGN },
110 { .type = EV_ABS, .code = ABS_MT_TRACKING_ID, .value = LITEST_AUTO_ASSIGN },
111 { .type = EV_ABS, .code = ABS_MT_POSITION_X, .value = LITEST_AUTO_ASSIGN },
112 { .type = EV_ABS, .code = ABS_MT_POSITION_Y, .value = LITEST_AUTO_ASSIGN },
113 { .type = EV_SYN, .code = SYN_REPORT, .value = 0 },
118 { .type = EV_ABS, .code = ABS_MT_SLOT, .value = LITEST_AUTO_ASSIGN },
119 { .type = EV_ABS, .code = ABS_X, .value = LITEST_AUTO_ASSIGN },
120 { .type = EV_ABS, .code = ABS_Y, .value
[all...]
/third_party/node/deps/openssl/openssl/crypto/asn1/
H A Dasn_mstbl.c18 static int do_tcreate(const char *value, const char *name);
34 if (!do_tcreate(mval->value, mval->name)) { in stbl_module_init()
53 * Create an table entry based on a name value pair. format is oid_name =
57 static int do_tcreate(const char *value, const char *name) in do_tcreate() argument
70 lst = X509V3_parse_list(value); in do_tcreate()
75 if (cnf->value == NULL) in do_tcreate()
78 tbl_min = strtoul(cnf->value, &eptr, 0); in do_tcreate()
82 tbl_max = strtoul(cnf->value, &eptr, 0); in do_tcreate()
86 if (!ASN1_str2mask(cnf->value, &tbl_mask) || !tbl_mask) in do_tcreate()
89 if (strcmp(cnf->value, "nomas in do_tcreate()
[all...]

Completed in 11 milliseconds

1...<<81828384858687888990>>...1500