Home
last modified time | relevance | path

Searched refs:value (Results 3001 - 3025 of 35850) sorted by relevance

1...<<121122123124125126127128129130>>...1434

/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
H A DMessageReflection.java65 final Object value = entry.getValue(); in writeMessageTo()
70 output.writeMessageSetExtension(field.getNumber(), (Message) value); in writeMessageTo()
72 FieldSet.writeField(field, value, output); in writeMessageTo()
91 final Object value = entry.getValue(); in getSerializedSize()
97 CodedOutputStream.computeMessageSetExtensionSize(field.getNumber(), (Message) value); in getSerializedSize()
99 size += FieldSet.computeFieldSize(field, value); in getSerializedSize()
182 final Object value = entry.getValue(); in findMissingFields()
187 for (final Object element : (List) value) { in findMissingFields()
194 (MessageOrBuilder) value, subMessagePrefix(prefix, field, -1), results); in findMissingFields()
229 * Obtains the value o
249 setField(Descriptors.FieldDescriptor field, Object value) setField() argument
265 setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) setRepeatedField() argument
273 addRepeatedField(Descriptors.FieldDescriptor field, Object value) addRepeatedField() argument
373 setField(Descriptors.FieldDescriptor field, Object value) setField() argument
385 setRepeatedField( Descriptors.FieldDescriptor field, int index, Object value) setRepeatedField() argument
392 addRepeatedField(Descriptors.FieldDescriptor field, Object value) addRepeatedField() argument
575 setField(Descriptors.FieldDescriptor field, Object value) setField() argument
587 setRepeatedField( Descriptors.FieldDescriptor field, int index, Object value) setRepeatedField() argument
594 addRepeatedField(Descriptors.FieldDescriptor field, Object value) addRepeatedField() argument
[all...]
H A DUnknownFieldSet.java359 Field.Builder value = entry.getValue(); in clone()
360 clone.fieldBuilders.put(key, value.clone()); in clone()
427 * Convenience method for merging a new field containing a single varint value. This is used in
428 * particular when an unknown enum value is encountered.
432 public Builder mergeVarintField(int number, int value) { in mergeVarintField() argument
436 getFieldBuilder(number).addVarint(value); in mergeVarintField()
447 public Builder mergeLengthDelimitedField(int number, ByteString value) { in mergeLengthDelimitedField() argument
451 getFieldBuilder(number).addLengthDelimited(value); in mergeLengthDelimitedField()
770 for (long value : varint) { in writeTo()
771 output.writeUInt64(fieldNumber, value); in writeTo()
1011 addVarint(long value) addVarint() argument
1020 addFixed32(int value) addFixed32() argument
1029 addFixed64(long value) addFixed64() argument
1038 addLengthDelimited(ByteString value) addLengthDelimited() argument
1047 addGroup(UnknownFieldSet value) addGroup() argument
[all...]
/foundation/arkui/ace_engine/test/unittest/interfaces/
H A Dnative_node_test.cpp133 ArkUI_NumberValue value[] = {{.f32 = size}}; in HWTEST_F() local
134 ArkUI_AttributeItem item = {value, sizeof(value) / sizeof(ArkUI_NumberValue)}; in HWTEST_F()
145 EXPECT_EQ(widthVal->value[0].f32, size); in HWTEST_F()
149 EXPECT_EQ(heightVal->value[0].f32, size); in HWTEST_F()
151 value[0].u32 = color; in HWTEST_F()
154 EXPECT_EQ(colorVal->value[0].u32, color); in HWTEST_F()
157 value[0].i32 = ARKUI_IMAGE_REPEAT_X; in HWTEST_F()
161 value[0].f32 = padding; in HWTEST_F()
164 EXPECT_EQ(paddingVal->value[ in HWTEST_F()
1402 ArkUI_NumberValue value[] = {{.u32 = color}}; HWTEST_F() local
1545 ArkUI_NumberValue value[] = {{.u32 = color}}; HWTEST_F() local
1626 ArkUI_NumberValue value[] = {{.i32 = ARKUI_IMAGE_SPAN_ALIGNMENT_BASELINE}}; HWTEST_F() local
1658 ArkUI_NumberValue value[] = {{.f32 = border}}; HWTEST_F() local
1735 ArkUI_NumberValue value[] = {{.u32 = color}}; HWTEST_F() local
1765 ArkUI_NumberValue value[] = {{.u32 = color}}; HWTEST_F() local
1793 ArkUI_NumberValue value[] = {{.u32 = color}}; HWTEST_F() local
1996 ArkUI_NumberValue value[] = {{.u32 = color}}; HWTEST_F() local
2138 ArkUI_NumberValue value[] = {{.f32 = 10.0f}}; HWTEST_F() local
2176 ArkUI_NumberValue value[] = {{.f32 = 10.0f}}; HWTEST_F() local
2208 ArkUI_NumberValue value[] = {{.i32 = true}}; HWTEST_F() local
2246 ArkUI_NumberValue value[] = {{.i32 = ARKUI_XCOMPONENT_TYPE_SURFACE}, {.f32 = 10.0f}}; HWTEST_F() local
2271 ArkUI_NumberValue value[] = {{.i32 = true}}; HWTEST_F() local
2314 ArkUI_NumberValue value[] = {{.i32 = true}}; HWTEST_F() local
2347 ArkUI_NumberValue value[] = {{.i32 = ARKUI_TEXTPICKER_RANGETYPE_SINGLE}}; HWTEST_F() local
2399 ArkUI_NumberValue value[] = {{.f32 = offset}}; HWTEST_F() local
2444 ArkUI_NumberValue value[] = {{.u32 = color}}; HWTEST_F() local
2515 ArkUI_NumberValue value[] = {{.i32 = true}}; HWTEST_F() local
2549 ArkUI_NumberValue value[] = {{.f32 = distance}}; HWTEST_F() local
2642 ArkUI_NumberValue value[] = {{.f32 = distance}}; HWTEST_F() local
2747 ArkUI_NumberValue value[] = {{.i32 = ARKUI_CURVE_LINEAR}}; HWTEST_F() local
2870 ArkUI_NumberValue value[] = {{.i32 = ARKUI_HORIZONTAL_ALIGNMENT_CENTER}}; HWTEST_F() local
2894 ArkUI_NumberValue value[] = {{.i32 = ARKUI_VERTICAL_ALIGNMENT_CENTER}}; HWTEST_F() local
2930 ArkUI_NumberValue value[] = {{.i32 = ARKUI_ITEM_ALIGNMENT_AUTO}}; HWTEST_F() local
3004 ArkUI_NumberValue value[] = {{.i32 = true}}; HWTEST_F() local
3038 ArkUI_NumberValue value[] = {{.f32 = distance}}; HWTEST_F() local
3131 ArkUI_NumberValue value[] = {{.f32 = 1.0f}}; HWTEST_F() local
3395 ArkUI_NumberValue value[] = {{.f32 = negativeFloat}}; HWTEST_F() local
3720 ArkUI_NumberValue value[] = {{.f32 = negativeFloat}}; HWTEST_F() local
3791 ArkUI_NumberValue value[] = {{.f32 = negativeFloat}}; HWTEST_F() local
3897 ArkUI_NumberValue value[] = {{.f32 = negativeFloat}}; HWTEST_F() local
3915 ArkUI_NumberValue value[] = {{.f32 = negativeFloat}}; HWTEST_F() local
3933 ArkUI_NumberValue value[] = {{.f32 = negativeFloat}}; HWTEST_F() local
4078 ArkUI_NumberValue value[] = {{.f32 = -1.0f}}; HWTEST_F() local
4105 ArkUI_NumberValue value[] = {{.i32 = -1}}; HWTEST_F() local
4134 ArkUI_NumberValue value[] = {{.i32 = -1}}; HWTEST_F() local
4158 ArkUI_NumberValue value[] = {{.f32 = negativeFloat}}; HWTEST_F() local
4205 ArkUI_NumberValue value[] = {{.f32 = negativeFloat}}; HWTEST_F() local
4249 ArkUI_NumberValue value[] = {{.i32 = ARKUI_TEXTPICKER_RANGETYPE_SINGLE}}; HWTEST_F() local
4299 ArkUI_NumberValue value[] = {{.f32 = negativeFloat}}; HWTEST_F() local
4345 ArkUI_NumberValue value[] = {{.i32 = ARKUI_SLIDER_BLOCK_STYLE_IMAGE }, {.i32 = ARKUI_CLIP_TYPE_PATH}, HWTEST_F() local
4389 ArkUI_NumberValue value[] = {{.i32 = -1 }}; HWTEST_F() local
4431 ArkUI_NumberValue value[] = {{.i32 = negativeInt }, {.i32 = negativeInt}, HWTEST_F() local
4495 ArkUI_NumberValue value[] = {{.i32 = negativeInt }, {.i32 = negativeInt}, HWTEST_F() local
4933 ArkUI_NumberValue value[] = {{.f32 = 10.0f}, {.f32 = 10.0f}}; HWTEST_F() local
5129 ArkUI_NumberValue value[] = {{.f32 = 10.0f}}; HWTEST_F() local
5160 char* value[size]; HWTEST_F() local
5192 ArkUI_NumberValue value[] = {{.i32 = 10}}; HWTEST_F() local
[all...]
/kernel/linux/linux-5.10/drivers/media/usb/dvb-usb/
H A Daz6027.c299 u16 value, u16 index, u8 *b, int blen) in az6027_usb_in_op()
309 value, in az6027_usb_in_op()
321 deb_xfer("in: req. %02x, val: %04x, ind: %04x, buffer: ", req, value, index); in az6027_usb_in_op()
330 u16 value, in az6027_usb_out_op()
337 deb_xfer("out: req. %02x, val: %04x, ind: %04x, buffer: ", req, value, index); in az6027_usb_out_op()
347 value, in az6027_usb_out_op()
367 u16 value; in az6027_streaming_ctrl() local
374 value = onoff; in az6027_streaming_ctrl()
378 ret = az6027_usb_out_op(adap->dev, req, value, index, NULL, blen); in az6027_streaming_ctrl()
415 u16 value; in az6027_ci_read_attribute_mem() local
298 az6027_usb_in_op(struct dvb_usb_device *d, u8 req, u16 value, u16 index, u8 *b, int blen) az6027_usb_in_op() argument
328 az6027_usb_out_op(struct dvb_usb_device *d, u8 req, u16 value, u16 index, u8 *b, int blen) az6027_usb_out_op() argument
447 az6027_ci_write_attribute_mem(struct dvb_ca_en50221 *ca, int slot, int address, u8 value) az6027_ci_write_attribute_mem() argument
488 u16 value; az6027_ci_read_cam_control() local
524 az6027_ci_write_cam_control(struct dvb_ca_en50221 *ca, int slot, u8 address, u8 value) az6027_ci_write_cam_control() argument
564 u16 value; CI_CamReady() local
596 u16 value; az6027_ci_slot_reset() local
652 u16 value; az6027_ci_slot_ts_enable() local
680 u16 value; az6027_ci_poll_slot_status() local
825 u16 value; az6027_frontend_poweron() local
844 u16 value; az6027_frontend_reset() local
887 u16 value; az6027_frontend_tsbypass() local
956 u16 value; az6027_i2c_xfer() local
[all...]
/kernel/linux/linux-6.6/drivers/media/usb/dvb-usb/
H A Daz6027.c299 u16 value, u16 index, u8 *b, int blen) in az6027_usb_in_op()
309 value, in az6027_usb_in_op()
321 deb_xfer("in: req. %02x, val: %04x, ind: %04x, buffer: ", req, value, index); in az6027_usb_in_op()
330 u16 value, in az6027_usb_out_op()
337 deb_xfer("out: req. %02x, val: %04x, ind: %04x, buffer: ", req, value, index); in az6027_usb_out_op()
347 value, in az6027_usb_out_op()
367 u16 value; in az6027_streaming_ctrl() local
374 value = onoff; in az6027_streaming_ctrl()
378 ret = az6027_usb_out_op(adap->dev, req, value, index, NULL, blen); in az6027_streaming_ctrl()
415 u16 value; in az6027_ci_read_attribute_mem() local
298 az6027_usb_in_op(struct dvb_usb_device *d, u8 req, u16 value, u16 index, u8 *b, int blen) az6027_usb_in_op() argument
328 az6027_usb_out_op(struct dvb_usb_device *d, u8 req, u16 value, u16 index, u8 *b, int blen) az6027_usb_out_op() argument
447 az6027_ci_write_attribute_mem(struct dvb_ca_en50221 *ca, int slot, int address, u8 value) az6027_ci_write_attribute_mem() argument
488 u16 value; az6027_ci_read_cam_control() local
524 az6027_ci_write_cam_control(struct dvb_ca_en50221 *ca, int slot, u8 address, u8 value) az6027_ci_write_cam_control() argument
564 u16 value; CI_CamReady() local
596 u16 value; az6027_ci_slot_reset() local
652 u16 value; az6027_ci_slot_ts_enable() local
680 u16 value; az6027_ci_poll_slot_status() local
825 u16 value; az6027_frontend_poweron() local
844 u16 value; az6027_frontend_reset() local
887 u16 value; az6027_frontend_tsbypass() local
956 u16 value; az6027_i2c_xfer() local
[all...]
/kernel/linux/linux-6.6/drivers/pci/
H A Dpci-acpi.c161 /* Program bridge control value */ in program_hpx_type0()
177 u32 revision = fields[1].integer.value; in decode_type0_hpx_record()
187 hpx0->cache_line_size = fields[2].integer.value; in decode_type0_hpx_record()
188 hpx0->latency_timer = fields[3].integer.value; in decode_type0_hpx_record()
189 hpx0->enable_serr = fields[4].integer.value; in decode_type0_hpx_record()
190 hpx0->enable_perr = fields[5].integer.value; in decode_type0_hpx_record()
227 u32 revision = fields[1].integer.value; in decode_type1_hpx_record()
237 hpx1->max_mem_read = fields[2].integer.value; in decode_type1_hpx_record()
238 hpx1->avg_max_split = fields[3].integer.value; in decode_type1_hpx_record()
239 hpx1->tot_max_split = fields[4].integer.value; in decode_type1_hpx_record()
1373 int value; pci_acpi_optimize_delay() local
[all...]
/third_party/protobuf/ruby/tests/
H A Dcommon_tests.rb419 # We only assert on inspect value when there is one map entry because the
859 # enum with no default (integer value 0)
861 value :A, 1
1203 def value_from_ruby(value)
1205 case value
1207 ret.string_value = value
1209 ret.struct_value = value
1211 ret.struct_value = struct_from_ruby(value)
1213 ret.list_value = value
1215 ret.list_value = list_from_ruby(value)
[all...]
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/
H A DSpirvShaderGroup.cpp25 // |I| should be a type suitable to initialize the identity value.
37 SpirvShader::Operand value(shader, state, insn.word(5)); in BinaryOperation()
43 SIMD::UInt v_uint = (value.UInt(i) & mask) | (As<SIMD::UInt>(identity) & ~mask); in BinaryOperation()
121 Operand value(this, state, insn.word(4)); in EmitGroupNonUniform()
127 SIMD::UInt v = value.UInt(i) & active; in EmitGroupNonUniform()
131 filled |= filled.yzwx & inactive; // Populate inactive 'holes' with a live value in EmitGroupNonUniform()
143 Operand value(this, state, valueId); in EmitGroupNonUniform()
153 dst.move(i, OrAll(value.Int(i) & mask)); in EmitGroupNonUniform()
166 filled |= filled.yzwx & inactive; // Populate inactive 'holes' with a live value in EmitGroupNonUniform()
173 dst.move(i, OrAll(value in EmitGroupNonUniform()
[all...]
/third_party/skia/third_party/externals/swiftshader/src/Reactor/
H A DLLVMReactor.cpp724 // being read can safely return an undefined value. We have to avoid in createRetVoid()
738 // being read can safely return an undefined value. We have to avoid in createRet()
834 return RValue<Float4>(Nucleus::createFRem(lhs.value(), rhs.value())); in operator %()
975 Value *Nucleus::createStore(Value *value, Value *ptr, Type *type, bool isVolatile, unsigned int alignment, bool atomic, std::memory_order memoryOrder) in createStore() argument
986 createBitCast(value, T(llvm::VectorType::get(T(Long::type()), 2, false))), Long::type(), 0), in createStore()
989 return value; in createStore()
995 createExtractElement(createBitCast(value, Int4::type()), Int::type(), 0), in createStore()
998 return value; in createStore()
1024 jit->builder->CreateAlignedStore(V(value), in createStore()
1317 createAtomicAdd(Value *ptr, Value *value, std::memory_order memoryOrder) createAtomicAdd() argument
1327 createAtomicSub(Value *ptr, Value *value, std::memory_order memoryOrder) createAtomicSub() argument
1337 createAtomicAnd(Value *ptr, Value *value, std::memory_order memoryOrder) createAtomicAnd() argument
1347 createAtomicOr(Value *ptr, Value *value, std::memory_order memoryOrder) createAtomicOr() argument
1357 createAtomicXor(Value *ptr, Value *value, std::memory_order memoryOrder) createAtomicXor() argument
1367 createAtomicMin(Value *ptr, Value *value, std::memory_order memoryOrder) createAtomicMin() argument
1377 createAtomicMax(Value *ptr, Value *value, std::memory_order memoryOrder) createAtomicMax() argument
1387 createAtomicUMin(Value *ptr, Value *value, std::memory_order memoryOrder) createAtomicUMin() argument
1397 createAtomicUMax(Value *ptr, Value *value, std::memory_order memoryOrder) createAtomicUMax() argument
1407 createAtomicExchange(Value *ptr, Value *value, std::memory_order memoryOrder) createAtomicExchange() argument
1417 createAtomicCompareExchange(Value *ptr, Value *value, Value *compare, std::memory_order memoryOrderEqual, std::memory_order memoryOrderUnequal) createAtomicCompareExchange() argument
1704 getType(Value *value) getType() argument
4105 EmitDebugVariable(Value *value) EmitDebugVariable() argument
[all...]
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dnode_text_input_modifier.cpp74 void SetTextInputType(ArkUINodeHandle node, ArkUI_Int32 value) in SetTextInputType() argument
78 TextFieldModelNG::SetType(frameNode, CastToTextInputType(value)); in SetTextInputType()
89 void SetTextInputMaxLines(ArkUINodeHandle node, ArkUI_Int32 value) in SetTextInputMaxLines() argument
93 if (value <= 0) { in SetTextInputMaxLines()
98 TextFieldModelNG::SetMaxViewLines(frameNode, value); in SetTextInputMaxLines()
154 void SetTextInputShowPasswordIcon(ArkUINodeHandle node, ArkUI_Uint32 value) in SetTextInputShowPasswordIcon() argument
158 TextFieldModelNG::SetShowPasswordIcon(frameNode, static_cast<bool>(value)); in SetTextInputShowPasswordIcon()
168 void SetTextInputPasswordIcon(ArkUINodeHandle node, const struct ArkUIPasswordIconType* value) in SetTextInputPasswordIcon() argument
173 if (value->showResult != nullptr && std::string(value in SetTextInputPasswordIcon()
206 SetTextInputTextAlign(ArkUINodeHandle node, ArkUI_Int32 value) SetTextInputTextAlign() argument
408 SetTextInputCaretStyle(ArkUINodeHandle node, ArkUI_Float32 value, ArkUI_Int32 unit, ArkUI_Uint32 caretColor) SetTextInputCaretStyle() argument
435 SetTextInputEnableKeyboardOnFocus(ArkUINodeHandle node, ArkUI_Uint32 value) SetTextInputEnableKeyboardOnFocus() argument
449 SetTextInputBarState(ArkUINodeHandle node, ArkUI_Int32 value) SetTextInputBarState() argument
463 SetTextInputEnterKeyType(ArkUINodeHandle node, ArkUI_Int32 value) SetTextInputEnterKeyType() argument
498 SetTextInputFontSize(ArkUINodeHandle node, const struct ArkUILengthType *value) SetTextInputFontSize() argument
523 SetTextInputMaxLength(ArkUINodeHandle node, ArkUI_Uint32 value) SetTextInputMaxLength() argument
642 SetTextInputFontStyle(ArkUINodeHandle node, ArkUI_Uint32 value) SetTextInputFontStyle() argument
681 SetTextInputPlaceholderString(ArkUINodeHandle node, ArkUI_CharPtr value) SetTextInputPlaceholderString() argument
689 SetTextInputTextString(ArkUINodeHandle node, ArkUI_CharPtr value) SetTextInputTextString() argument
827 Font value = TextFieldModelNG::GetPlaceholderFont(frameNode); GetTextInputPlaceholderFont() local
1059 SetTextInputLetterSpacing(ArkUINodeHandle node, ArkUI_Float32 value, ArkUI_Int32 unit) SetTextInputLetterSpacing() argument
1070 CalcDimension value; ResetTextInputLetterSpacing() local
1075 SetTextInputLineHeight(ArkUINodeHandle node, ArkUI_Float32 value, ArkUI_Int32 unit) SetTextInputLineHeight() argument
1086 CalcDimension value; ResetTextInputLineHeight() local
1091 SetTextInputFontFeature(ArkUINodeHandle node, ArkUI_CharPtr value) SetTextInputFontFeature() argument
1173 SetTextInputAdaptMinFontSize(ArkUINodeHandle node, ArkUI_Float32 value, ArkUI_Int32 unit) SetTextInputAdaptMinFontSize() argument
1192 SetTextInputAdaptMaxFontSize(ArkUINodeHandle node, ArkUI_Float32 value, ArkUI_Int32 unit) SetTextInputAdaptMaxFontSize() argument
1211 SetTextInputHeightAdaptivePolicy(ArkUINodeHandle node, ArkUI_Int32 value) SetTextInputHeightAdaptivePolicy() argument
1275 SetTextInputTextOverflow(ArkUINodeHandle node, ArkUI_Int32 value) SetTextInputTextOverflow() argument
1304 SetTextInputShowPassword(ArkUINodeHandle node, ArkUI_Uint32 value) SetTextInputShowPassword() argument
1423 SetTextInputFilter(ArkUINodeHandle node, ArkUI_CharPtr value, void* callback) SetTextInputFilter() argument
1640 SetTextInputShowKeyBoardOnFocus(ArkUINodeHandle node, ArkUI_Bool value) SetTextInputShowKeyBoardOnFocus() argument
1661 SetTextInputNumberOfLines(ArkUINodeHandle node, ArkUI_Int32 value) SetTextInputNumberOfLines() argument
1731 SetTextInputCaret(ArkUINodeHandle node, ArkUI_Float32 value, ArkUI_Int32 unit) SetTextInputCaret() argument
1752 SetTextInputEnablePreviewText(ArkUINodeHandle node, ArkUI_Uint32 value) SetTextInputEnablePreviewText() argument
1796 SetTextInputWidth(ArkUINodeHandle node, ArkUI_CharPtr value) SetTextInputWidth() argument
1811 SetTextInputEnableHapticFeedback(ArkUINodeHandle node, ArkUI_Uint32 value) SetTextInputEnableHapticFeedback() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dvega12_hwmgr.c619 dpm_table->dpm_levels[i].value = clk; in vega12_setup_single_dpm_table()
653 dpm_table->dpm_levels[0].value = data->vbios_boot_state.soc_clock / 100; in vega12_setup_default_dpm_tables()
666 dpm_table->dpm_levels[0].value = data->vbios_boot_state.gfx_clock / 100; in vega12_setup_default_dpm_tables()
679 dpm_table->dpm_levels[0].value = data->vbios_boot_state.mem_clock / 100; in vega12_setup_default_dpm_tables()
692 dpm_table->dpm_levels[0].value = data->vbios_boot_state.eclock / 100; in vega12_setup_default_dpm_tables()
705 dpm_table->dpm_levels[0].value = data->vbios_boot_state.vclock / 100; in vega12_setup_default_dpm_tables()
718 dpm_table->dpm_levels[0].value = data->vbios_boot_state.dclock / 100; in vega12_setup_default_dpm_tables()
731 dpm_table->dpm_levels[0].value = data->vbios_boot_state.dcef_clock / 100; in vega12_setup_default_dpm_tables()
796 dpm_table->dpm_levels[min_level].value;
1459 void *value, in in vega12_read_sensor()
1458 vega12_read_sensor(struct pp_hwmgr *hwmgr, int idx, void *value, int *size) vega12_read_sensor() argument
[all...]
/base/powermgr/display_manager/state_manager/service/native/src/
H A Dscreen_controller.cpp156 bool ScreenController::SetBrightness(uint32_t value, uint32_t gradualDuration, bool continuous) in SetBrightness() argument
160 "cachedSettingBrightness_ %{public}u -> %{public}u", cachedSettingBrightness_.load(), value); in SetBrightness()
161 cachedSettingBrightness_ = value; in SetBrightness()
164 return UpdateBrightness(value, gradualDuration, !continuous); in SetBrightness()
197 bool ScreenController::OverrideBrightness(uint32_t value, uint32_t gradualDuration) in OverrideBrightness() argument
203 DISPLAY_HILOGI(FEAT_BRIGHTNESS, "Override brightness, value=%{public}u", value); in OverrideBrightness()
207 overriddenBrightness_ = value; in OverrideBrightness()
208 return UpdateBrightness(value, gradualDuration); in OverrideBrightness()
328 bool ScreenController::UpdateBrightness(uint32_t value, uint32_ argument
337 animator_->StartAnimation(GetSettingBrightness(), value, gradualDuration); UpdateBrightness() local
363 SetSettingBrightness(uint32_t value) SetSettingBrightness() argument
[all...]
/base/telephony/core_service/services/network_search/src/
H A Doperator_name_utils.cpp197 std::string OperatorNameUtils::ParseString(cJSON *value) in ParseString() argument
199 if (value != nullptr && value->type == cJSON_String && value->valuestring != nullptr) { in ParseString()
200 return value->valuestring; in ParseString()
215 std::string OperatorNameUtils::GetNameByLocale(OperatorNameCust &value) in GetNameByLocale() argument
233 return value.zhCN; in GetNameByLocale()
236 return value.zhTW; in GetNameByLocale()
239 return value.zhHK; in GetNameByLocale()
242 return value in GetNameByLocale()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/manager/safe_area/
H A Dsafe_area_manager.cpp33 cutoutArea.bottom_.end = rootSize.Height().has_value() ? rootSize.Height().value() in GenerateCutOutAreaWithRoot()
40 cutoutArea.right_.end = rootSize.Width().has_value() ? rootSize.Width().value() in GenerateCutOutAreaWithRoot()
99 bottom = rootHeight.has_value() ? rootHeight.value() : PipelineContext::GetCurrentRootHeight(); in UpdateKeyboardSafeArea()
136 bool SafeAreaManager::SetIsFullScreen(bool value) in SetIsFullScreen() argument
138 if (isFullScreen_ == value) { in SetIsFullScreen()
141 isFullScreen_ = value; in SetIsFullScreen()
146 bool SafeAreaManager::SetIsNeedAvoidWindow(bool value) in SetIsNeedAvoidWindow() argument
148 if (isNeedAvoidWindow_ == value) { in SetIsNeedAvoidWindow()
151 isNeedAvoidWindow_ = value; in SetIsNeedAvoidWindow()
156 bool SafeAreaManager::SetIgnoreSafeArea(bool value) in SetIgnoreSafeArea() argument
166 SetKeyBoardAvoidMode(KeyBoardAvoidMode value) SetKeyBoardAvoidMode() argument
183 SetIsAtomicService(bool value) SetIsAtomicService() argument
[all...]
/foundation/arkui/ace_engine/adapter/ohos/capability/html/
H A Dhtml_to_span.h108 void InitParagrap(const std::string& key, const std::string& value, const std::string& index, StyleValues& values);
109 void InitFont(const std::string& key, const std::string& value, const std::string& index, StyleValues& values);
112 const std::string& key, const std::string& value, const std::string& index, StyleValues& values);
115 void InitDimension(const std::string& key, const std::string& value, const std::string& index, StyleValues& values);
118 const std::string& key, const std::string& value, const std::string& index, StyleValues& values);
123 void InitLineHeight(const std::string& key, const std::string& value, StyleValues& values);
125 TextAlign StringToTextAlign(const std::string& value);
126 WordBreak StringToWordBreak(const std::string& value);
127 TextOverflow StringToTextOverflow(const std::string& value);
135 void SetPaddingOption(const std::string& key, const std::string& value, ImageSpanOption
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/refresh/
H A Drefresh_model_ng.cpp165 ACE_UPDATE_LAYOUT_PROPERTY(RefreshLayoutProperty, PullDownRatio, pullDownRatio.value()); in SetPullDownRatio()
174 ACE_UPDATE_NODE_LAYOUT_PROPERTY(RefreshLayoutProperty, PullDownRatio, pullDownRatio.value(), frameNode); in SetPullDownRatio()
241 bool value = false; in GetRefreshing() local
242 ACE_GET_NODE_LAYOUT_PROPERTY_WITH_DEFAULT_VALUE(RefreshLayoutProperty, IsRefreshing, value, frameNode, value); in GetRefreshing()
243 return value; in GetRefreshing()
258 float value = 1.0; in GetPullDownRatio() local
259 ACE_GET_NODE_LAYOUT_PROPERTY_WITH_DEFAULT_VALUE(RefreshLayoutProperty, PullDownRatio, value, frameNode, value); in GetPullDownRatio()
260 return value; in GetPullDownRatio()
272 bool value = true; GetPullToRefresh() local
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/
H A Drich_editor_overlay_modifier.cpp57 void RichEditorOverlayModifier::SetPreviewTextDecorationColor(const Color& value) in SetPreviewTextDecorationColor() argument
59 previewTextDecorationColor_->Set(value); in SetPreviewTextDecorationColor()
62 void RichEditorOverlayModifier::SetPreviewTextUnderlineWidth(float value) in SetPreviewTextUnderlineWidth() argument
64 previewTextUnderlineWidth_->Set(value); in SetPreviewTextUnderlineWidth()
67 void RichEditorOverlayModifier::SetShowPreviewTextDecoration(bool value) in SetShowPreviewTextDecoration() argument
69 showPreviewTextDecoration_->Set(value); in SetShowPreviewTextDecoration()
72 void RichEditorOverlayModifier::SetPreviewTextStyle(const PreviewTextStyle& value) in SetPreviewTextStyle() argument
74 previewTextStyle_ = value; in SetPreviewTextStyle()
104 void RichEditorOverlayModifier::SetCaretVisible(bool value) in SetCaretVisible() argument
106 caretVisible_->Set(value); in SetCaretVisible()
109 SetScrollOffset(float value) SetScrollOffset() argument
114 SetScrollBarOpacityType(int32_t value) SetScrollBarOpacityType() argument
119 SetTextHeight(float value) SetTextHeight() argument
124 SetFrameSize(const SizeF& value) SetFrameSize() argument
[all...]
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/base/
H A Dinterface_traits.h51 static constexpr bool value = decltype(Test<C>(nullptr))::value; // NOLINT(readability-identifier-naming) member in final
59 inline constexpr bool HasGetInterfaceMethod_v = HasGetInterfaceMethod<C>::value;
84 inline constexpr bool HasEqualOperator_v = HasEqualOperator<C>::type::value; // NOLINT(readability-identifier-naming)
101 inline constexpr bool HasInEqualOperator_v = HasInEqualOperator<C>::type::value;
135 constexpr static bool value = false; // NOLINT(readability-identifier-naming) member
141 constexpr static bool value = true; // NOLINT(readability-identifier-naming) member
149 constexpr bool CanInvokeWithArguments_v = CanInvokeWithArgumentsImpl<Func, InvokeType>::value;
202 static constexpr bool value = false; // NOLINT(readability-identifier-naming) member
207 static constexpr bool value member
214 static constexpr bool value = false; // NOLINT(readability-identifier-naming) global() member
219 static constexpr bool value = true; // NOLINT(readability-identifier-naming) global() member
232 static constexpr bool value = false; // NOLINT(readability-identifier-naming) global() member
237 static constexpr bool value = true; // NOLINT(readability-identifier-naming) global() member
245 static constexpr bool value = true; // NOLINT(readability-identifier-naming) global() member
[all...]
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/metadata_test/
H A Dfragment_metadata_test.cpp36 * @tc.desc: Pass in the supported key and set the value.
50 * @tc.desc: Pass in unsupported key and set value.
61 * @tc.desc: Set supported keys and values and use getValue to obtain this value.
71 std::string value; in HWTEST_F() local
72 uint32_t state = fragmentMetadata.GetValue("X_IN_ORIGINAL", value); in HWTEST_F()
74 EXPECT_EQ(value, "300"); in HWTEST_F()
75 state = fragmentMetadata.GetValue("Y_IN_ORIGINAL", value); in HWTEST_F()
77 EXPECT_EQ(value, "256"); in HWTEST_F()
78 state = fragmentMetadata.GetValue("WIDTH", value); in HWTEST_F()
80 EXPECT_EQ(value, "100 in HWTEST_F()
95 std::string value; HWTEST_F() local
110 std::string value; HWTEST_F() local
126 std::string value; HWTEST_F() local
[all...]
/kernel/linux/linux-5.10/drivers/net/dsa/b53/
H A Db53_mmap.c134 static int b53_mmap_write8(struct b53_device *dev, u8 page, u8 reg, u8 value) in b53_mmap_write8() argument
139 writeb(value, regs + (page << 8) + reg); in b53_mmap_write8()
145 u16 value) in b53_mmap_write16()
154 iowrite16be(value, regs + (page << 8) + reg); in b53_mmap_write16()
156 writew(value, regs + (page << 8) + reg); in b53_mmap_write16()
162 u32 value) in b53_mmap_write32()
171 iowrite32be(value, regs + (page << 8) + reg); in b53_mmap_write32()
173 writel(value, regs + (page << 8) + reg); in b53_mmap_write32()
179 u64 value) in b53_mmap_write48()
185 u32 hi = (u32)(value >> 1 in b53_mmap_write48()
144 b53_mmap_write16(struct b53_device *dev, u8 page, u8 reg, u16 value) b53_mmap_write16() argument
161 b53_mmap_write32(struct b53_device *dev, u8 page, u8 reg, u32 value) b53_mmap_write32() argument
178 b53_mmap_write48(struct b53_device *dev, u8 page, u8 reg, u64 value) b53_mmap_write48() argument
201 b53_mmap_write64(struct b53_device *dev, u8 page, u8 reg, u64 value) b53_mmap_write64() argument
218 b53_mmap_phy_read16(struct b53_device *dev, int addr, int reg, u16 *value) b53_mmap_phy_read16() argument
224 b53_mmap_phy_write16(struct b53_device *dev, int addr, int reg, u16 value) b53_mmap_phy_write16() argument
[all...]
/kernel/linux/linux-6.6/arch/powerpc/kernel/
H A Dmodule_32.c190 static int patch_location_16(uint32_t *loc, u16 value) in patch_location_16() argument
193 return patch_instruction(loc, ppc_inst((*loc & 0xffff0000) | value)); in patch_location_16()
206 uint32_t value; in apply_relocate_add() local
219 value = sym->st_value + rela[i].r_addend; in apply_relocate_add()
224 *(uint32_t *)location = value; in apply_relocate_add()
229 if (patch_location_16(location, PPC_LO(value))) in apply_relocate_add()
235 if (patch_location_16(location, PPC_HI(value))) in apply_relocate_add()
240 if (patch_location_16(location, PPC_HA(value))) in apply_relocate_add()
245 if ((int)(value - (uint32_t)location) < -0x02000000 in apply_relocate_add()
246 || (int)(value in apply_relocate_add()
[all...]
/kernel/linux/linux-5.10/sound/isa/msnd/
H A Dmsnd_pinnacle_mixer.c69 ucontrol->value.enumerated.item[0] = 0; in snd_msndmix_get_mux()
72 ucontrol->value.enumerated.item[0] = 1; in snd_msndmix_get_mux()
75 ucontrol->value.enumerated.item[0] = 2; in snd_msndmix_get_mux()
120 return snd_msndmix_set_mux(msnd, ucontrol->value.enumerated.item[0]); in snd_msndmix_put_mux()
129 uinfo->value.integer.min = 0; in snd_msndmix_volume_info()
130 uinfo->value.integer.max = 100; in snd_msndmix_volume_info()
142 ucontrol->value.integer.value[0] = msnd->left_levels[addr] * 100; in snd_msndmix_volume_get()
143 ucontrol->value.integer.value[ in snd_msndmix_volume_get()
[all...]
/kernel/linux/linux-6.6/drivers/tee/optee/
H A Drpc.c26 arg->params[0].u.value.a = ts.tv_sec; in handle_rpc_func_cmd_get_time()
27 arg->params[0].u.value.b = ts.tv_nsec; in handle_rpc_func_cmd_get_time()
73 adapter = i2c_get_adapter(params[0].u.value.b); in handle_rpc_func_cmd_i2c_transfer()
77 if (params[1].u.value.a & OPTEE_RPC_I2C_FLAGS_TEN_BIT) { in handle_rpc_func_cmd_i2c_transfer()
87 msg.addr = params[0].u.value.c; in handle_rpc_func_cmd_i2c_transfer()
91 switch (params[0].u.value.a) { in handle_rpc_func_cmd_i2c_transfer()
107 params[3].u.value.a = msg.len; in handle_rpc_func_cmd_i2c_transfer()
140 switch (arg->params[0].u.value.a) { in handle_rpc_func_cmd_wq()
142 if (optee_notif_wait(optee, arg->params[0].u.value.b)) in handle_rpc_func_cmd_wq()
146 if (optee_notif_send(optee, arg->params[0].u.value in handle_rpc_func_cmd_wq()
[all...]
/kernel/linux/linux-6.6/sound/isa/msnd/
H A Dmsnd_pinnacle_mixer.c69 ucontrol->value.enumerated.item[0] = 0; in snd_msndmix_get_mux()
72 ucontrol->value.enumerated.item[0] = 1; in snd_msndmix_get_mux()
75 ucontrol->value.enumerated.item[0] = 2; in snd_msndmix_get_mux()
120 return snd_msndmix_set_mux(msnd, ucontrol->value.enumerated.item[0]); in snd_msndmix_put_mux()
129 uinfo->value.integer.min = 0; in snd_msndmix_volume_info()
130 uinfo->value.integer.max = 100; in snd_msndmix_volume_info()
142 ucontrol->value.integer.value[0] = msnd->left_levels[addr] * 100; in snd_msndmix_volume_get()
143 ucontrol->value.integer.value[ in snd_msndmix_volume_get()
[all...]
/third_party/jerryscript/tests/unit-core/
H A Dtest-api-set-and-clear-error-flag.cpp23 compare_str (jerry_value_t value, const jerry_char_t *str_p, size_t str_len) in compare_str() argument
25 jerry_size_t size = jerry_get_string_size (value); in compare_str()
28 jerry_string_to_utf8_char_buffer (value, str_buff, size); in compare_str()
203 jerry_value_t value = jerry_create_number (42); in HWTEST_F() local
204 value = jerry_get_value_from_error (value, true); in HWTEST_F()
205 jerry_release_value (value); in HWTEST_F()
207 value = jerry_create_number (42); in HWTEST_F()
208 jerry_value_t value2 = jerry_get_value_from_error (value, false); in HWTEST_F()
209 jerry_release_value (value); in HWTEST_F()
[all...]

Completed in 35 milliseconds

1...<<121122123124125126127128129130>>...1434