/third_party/node/deps/openssl/openssl/crypto/asn1/ |
H A D | a_type.c | 20 || a->value.ptr != NULL) in ASN1_TYPE_get() 26 void ASN1_TYPE_set(ASN1_TYPE *a, int type, void *value) in ASN1_TYPE_set() argument 30 && a->value.ptr != NULL) { in ASN1_TYPE_set() 36 a->value.boolean = value ? 0xff : 0; in ASN1_TYPE_set() 38 a->value.ptr = value; in ASN1_TYPE_set() 41 int ASN1_TYPE_set1(ASN1_TYPE *a, int type, const void *value) in ASN1_TYPE_set1() argument 43 if (!value || (type == V_ASN1_BOOLEAN)) { in ASN1_TYPE_set1() 44 void *p = (void *)value; in ASN1_TYPE_set1() [all...] |
/third_party/openssl/crypto/asn1/ |
H A D | a_type.c | 20 || a->value.ptr != NULL) in ASN1_TYPE_get() 26 void ASN1_TYPE_set(ASN1_TYPE *a, int type, void *value) in ASN1_TYPE_set() argument 30 && a->value.ptr != NULL) { in ASN1_TYPE_set() 36 a->value.boolean = value ? 0xff : 0; in ASN1_TYPE_set() 38 a->value.ptr = value; in ASN1_TYPE_set() 41 int ASN1_TYPE_set1(ASN1_TYPE *a, int type, const void *value) in ASN1_TYPE_set1() argument 43 if (!value || (type == V_ASN1_BOOLEAN)) { in ASN1_TYPE_set1() 44 void *p = (void *)value; in ASN1_TYPE_set1() [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | SizedMRUCache_unittest.cpp | 20 for (uint8_t value = 0; value < size; ++value) in MakeBlob() 22 blob.push_back(value); in MakeBlob() 27 // Test a cache with a value that takes up maximum size. 54 for (size_t value = 0; value < kSize; ++value) in TEST() 56 size_t valueCopy = value; in TEST() 57 EXPECT_TRUE(sizedCache.put(value, st in TEST() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/property/ |
H A D | measure_property.h | 291 (selfIdealSize.value().Width().has_value() ? in ToJsonValue() 292 selfIdealSize.value().Width().value().ToString() : "-") : "-"; in ToJsonValue() 294 (selfIdealSize.value().Height().has_value() ? in ToJsonValue() 295 selfIdealSize.value().Height().value().ToString() : "-") : "-"; in ToJsonValue() 341 if (selfIdealSize.value().Width().has_value()) { in ToJsonValue_GetJsonSize() 342 auto widthStr = selfIdealSize.value().Width().value().ToString(); in ToJsonValue_GetJsonSize() 346 if (selfIdealSize.value() in ToJsonValue_GetJsonSize() [all...] |
/third_party/mesa3d/src/gtest/include/gtest/ |
H A D | gtest-printers.h | 33 // This file implements a universal value printer that can print a 34 // value of any type T: 36 // void ::testing::internal::UniversalPrinter<T>::Print(value, ostream_ptr); 53 // the value if it is a protocol buffer, or print the raw bytes in the 54 // value otherwise. 57 // value is also printed; when T is a (const) char pointer, both the 58 // pointer value and the NUL-terminated string it points to are 63 // // Prints a value to a string. For a (const or not) char 66 // std::string ::testing::PrintToString(const T& value); 68 // // Prints a value tersel 153 PrintValue(const T& value, ::std::ostream* os) PrintValue() argument 169 PrintValue(const T& value, ::std::ostream* os) PrintValue() argument 188 PrintValue(const T& value, ::std::ostream* os) PrintValue() argument 260 DefaultPrintNonContainerTo(const T& value, ::std::ostream* os) DefaultPrintNonContainerTo() argument 313 Format(const ToPrint& value) Format() argument 322 Format(const ToPrint* value) Format() argument 377 FormatForComparisonFailureMessage( const T1& value, const T2& ) FormatForComparisonFailureMessage() argument 466 DefaultPrintTo(WrapPrinterType<kPrintOther> , const T& value, ::std::ostream* os) DefaultPrintTo() argument 483 PrintTo(const T& value, ::std::ostream* os) PrintTo() argument 513 value, os); PrintTo() local 648 PrintTo(const ::std::pair<T1, T2>& value, ::std::ostream* os) PrintTo() argument 670 Print(const T& value, ::std::ostream* os) Print() argument 692 Print(const ::absl::optional<T>& value, ::std::ostream* os) Print() argument 708 Print(const ::absl::variant<T...>& value, ::std::ostream* os) Print() argument 777 Print(const T& value, ::std::ostream* os) Print() argument 796 Print(const T& value, ::std::ostream* os) Print() argument 803 Print(const T& value, ::std::ostream* os) Print() argument 856 UniversalTersePrint(const T& value, ::std::ostream* os) UniversalTersePrint() argument 865 UniversalPrint(const T& value, ::std::ostream* os) UniversalPrint() argument 894 UniversalTersePrintTupleFieldsToStrings(const Tuple& value) UniversalTersePrintTupleFieldsToStrings() argument 907 PrintValue( const T& value, ::std::ostream* os) PrintValue() argument 915 PrintToString(const T& value) PrintToString() argument [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/ |
H A D | span_model_impl.cpp | 33 void SpanModelImpl::SetFont(const Font& value) {} in SetFont() argument 35 void SpanModelImpl::SetFontSize(const Dimension& value) in SetFontSize() argument 41 textStyle.SetFontSize(value); in SetFontSize() 50 void SpanModelImpl::SetTextColor(const Color& value) in SetTextColor() argument 55 textStyle.SetTextColor(value); in SetTextColor() 63 void SpanModelImpl::SetItalicFontStyle(Ace::FontStyle value) in SetItalicFontStyle() argument 68 textStyle.SetFontStyle(value); in SetItalicFontStyle() 77 void SpanModelImpl::SetFontWeight(Ace::FontWeight value) in SetFontWeight() argument 83 textStyle.SetFontWeight(value); in SetFontWeight() 92 void SpanModelImpl::SetFontFamily(const std::vector<std::string>& value) in SetFontFamily() argument 107 SetTextDecoration(Ace::TextDecoration value) SetTextDecoration() argument 116 SetTextDecorationColor(const Color& value) SetTextDecorationColor() argument 125 SetTextDecorationStyle(Ace::TextDecorationStyle value) SetTextDecorationStyle() argument 134 SetTextCase(Ace::TextCase value) SetTextCase() argument 148 SetLetterSpacing(const Dimension& value) SetLetterSpacing() argument 163 SetBaselineOffset(const Dimension& value) SetBaselineOffset() argument 179 SetLineHeight(const Dimension& value) SetLineHeight() argument [all...] |
/foundation/graphic/graphic_3d/lume/LumeBase/api/base/util/ |
H A D | hash.h | 31 uint64_t hash(const T& value); 34 inline uint64_t hash(const uint8_t& value) in hash() argument 36 return value; in hash() 39 inline uint64_t hash(const uint16_t& value) in hash() argument 41 return value; in hash() 44 inline uint64_t hash(const uint32_t& value) in hash() argument 46 return value; in hash() 49 inline uint64_t hash(const uint64_t& value) in hash() argument 51 return value; in hash() 55 inline uint64_t hash(const unsigned long& value) in hash() argument 61 hash(const int8_t& value) hash() argument 66 hash(const int16_t& value) hash() argument 71 hash(const int32_t& value) hash() argument 76 hash(const int64_t& value) hash() argument 81 hash(void* const& value) hash() argument 86 hash(T* const& value) hash() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/phy/ |
H A D | aquantia_hwmon.c | 56 static int aqr_hwmon_get(struct phy_device *phydev, int reg, long *value) in aqr_hwmon_get() argument 63 /* 16 bit value is 2's complement with LSB = 1/256th degree Celsius */ in aqr_hwmon_get() 64 *value = (s16)temp * 1000 / 256; in aqr_hwmon_get() 69 static int aqr_hwmon_set(struct phy_device *phydev, int reg, long value) in aqr_hwmon_set() argument 73 if (value >= 128000 || value < -128000) in aqr_hwmon_set() 76 temp = value * 256 / 1000; in aqr_hwmon_set() 92 static int aqr_hwmon_status1(struct phy_device *phydev, int bit, long *value) in aqr_hwmon_status1() argument 99 *value = val; in aqr_hwmon_status1() 105 u32 attr, int channel, long *value) in aqr_hwmon_read() 104 aqr_hwmon_read(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel, long *value) aqr_hwmon_read() argument 157 aqr_hwmon_write(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel, long value) aqr_hwmon_write() argument [all...] |
/kernel/linux/linux-5.10/sound/core/seq/oss/ |
H A D | seq_oss_timer.c | 25 static int send_timer_event(struct seq_oss_devinfo *dp, int type, int value); 127 send_timer_event(struct seq_oss_devinfo *dp, int type, int value) in send_timer_event() argument 139 ev.data.queue.param.value = value; in send_timer_event() 200 snd_seq_oss_timer_tempo(struct seq_oss_timer *timer, int value) in snd_seq_oss_timer_tempo() argument 202 if (value < MIN_OSS_TEMPO) in snd_seq_oss_timer_tempo() 203 value = MIN_OSS_TEMPO; in snd_seq_oss_timer_tempo() 204 else if (value > MAX_OSS_TEMPO) in snd_seq_oss_timer_tempo() 205 value = MAX_OSS_TEMPO; in snd_seq_oss_timer_tempo() 206 timer->oss_tempo = value; in snd_seq_oss_timer_tempo() 220 int value; snd_seq_oss_timer_ioctl() local [all...] |
/kernel/linux/linux-6.6/drivers/net/phy/ |
H A D | aquantia_hwmon.c | 56 static int aqr_hwmon_get(struct phy_device *phydev, int reg, long *value) in aqr_hwmon_get() argument 63 /* 16 bit value is 2's complement with LSB = 1/256th degree Celsius */ in aqr_hwmon_get() 64 *value = (s16)temp * 1000 / 256; in aqr_hwmon_get() 69 static int aqr_hwmon_set(struct phy_device *phydev, int reg, long value) in aqr_hwmon_set() argument 73 if (value >= 128000 || value < -128000) in aqr_hwmon_set() 76 temp = value * 256 / 1000; in aqr_hwmon_set() 92 static int aqr_hwmon_status1(struct phy_device *phydev, int bit, long *value) in aqr_hwmon_status1() argument 99 *value = val; in aqr_hwmon_status1() 105 u32 attr, int channel, long *value) in aqr_hwmon_read() 104 aqr_hwmon_read(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel, long *value) aqr_hwmon_read() argument 157 aqr_hwmon_write(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel, long value) aqr_hwmon_write() argument [all...] |
/kernel/linux/linux-6.6/sound/core/seq/oss/ |
H A D | seq_oss_timer.c | 25 static int send_timer_event(struct seq_oss_devinfo *dp, int type, int value); 127 send_timer_event(struct seq_oss_devinfo *dp, int type, int value) in send_timer_event() argument 139 ev.data.queue.param.value = value; in send_timer_event() 200 snd_seq_oss_timer_tempo(struct seq_oss_timer *timer, int value) in snd_seq_oss_timer_tempo() argument 202 if (value < MIN_OSS_TEMPO) in snd_seq_oss_timer_tempo() 203 value = MIN_OSS_TEMPO; in snd_seq_oss_timer_tempo() 204 else if (value > MAX_OSS_TEMPO) in snd_seq_oss_timer_tempo() 205 value = MAX_OSS_TEMPO; in snd_seq_oss_timer_tempo() 206 timer->oss_tempo = value; in snd_seq_oss_timer_tempo() 220 int value; snd_seq_oss_timer_ioctl() local [all...] |
/third_party/gn/src/gn/ |
H A D | rust_values_generator.cc | 69 const Value* value = scope_->GetValue(variables::kRustCrateName, true); in FillCrateName() local 70 if (!value) { in FillCrateName() 75 if (!value->VerifyTypeIs(Value::STRING, err_)) in FillCrateName() 78 target_->rust_values().crate_name() = std::move(value->string_value()); in FillCrateName() 83 const Value* value = scope_->GetValue(variables::kRustCrateType, true); in FillCrateType() local 84 if (!value) { in FillCrateType() 98 if (!value->VerifyTypeIs(Value::STRING, err_)) in FillCrateType() 101 if (value->string_value() == "bin") { in FillCrateType() 105 if (value->string_value() == "cdylib") { in FillCrateType() 109 if (value in FillCrateType() 133 const Value* value = scope_->GetValue(variables::kRustCrateRoot, true); FillCrateRoot() local 167 const Value* value = scope_->GetValue(variables::kRustAliasedDeps, true); FillAliasedDeps() local [all...] |
/third_party/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/ |
H A D | PseudoLocalesTest.java | 39 value(included, "{Hello} {0} {World} 100x"), in testExpansion() 40 value(excluded, "Skipped"), in testExpansion() 41 value(pattern, "'plus' HH:mm; 'minus' HH:mm"), in testExpansion() 42 value(narrow, "Skipped")) in testExpansion() 43 .addLocaleData("en_001", value(inherited, "UTC")) in testExpansion() 45 // Root is the eventual parent of everything but its value should not appear, even in testExpansion() 47 .addLocaleData("root", value(ldmlPath("delimiters/quotationStart"), "“")) in testExpansion() 48 .addLocaleData("root", value(ldmlPath("delimiters/quotationEnd"), "”")); in testExpansion() 58 value(included, "[{Ĥéļļö} {0} {Ŵöŕļð} ①⓪⓪ẋ one two three]"), in testExpansion() 60 value(patter in testExpansion() 142 value(CldrPath path, String value) value() argument [all...] |
/third_party/protobuf/src/google/protobuf/util/internal/ |
H A D | json_objectwriter.cc | 84 bool value) { in RenderBool() 85 return RenderSimple(name, value ? "true" : "false"); in RenderBool() 89 int32 value) { in RenderInt32() 90 return RenderSimple(name, StrCat(value)); in RenderInt32() 94 uint32 value) { in RenderUint32() 95 return RenderSimple(name, StrCat(value)); in RenderUint32() 99 int64 value) { in RenderInt64() 102 WriteRawString(StrCat(value)); in RenderInt64() 108 uint64 value) { in RenderUint64() 111 WriteRawString(StrCat(value)); in RenderUint64() 83 RenderBool(StringPiece name, bool value) RenderBool() argument 88 RenderInt32(StringPiece name, int32 value) RenderInt32() argument 93 RenderUint32(StringPiece name, uint32 value) RenderUint32() argument 98 RenderInt64(StringPiece name, int64 value) RenderInt64() argument 107 RenderUint64(StringPiece name, uint64 value) RenderUint64() argument 116 RenderDouble(StringPiece name, double value) RenderDouble() argument 126 RenderFloat(StringPiece name, float value) RenderFloat() argument 136 RenderString(StringPiece name, StringPiece value) RenderString() argument 145 RenderBytes(StringPiece name, StringPiece value) RenderBytes() argument [all...] |
/foundation/communication/ipc/ipc/native/c/manager/src/ |
H A D | serializer.c | 28 #define IPC_IO_RETURN_IF_FAIL(value) \ 30 if (!(value)) { \ 160 bool WriteInt32(IpcIo *io, int32_t value) in WriteInt32() argument 166 int32_t *ptr = (int32_t *)IoPush(io, sizeof(value)); in WriteInt32() 168 *ptr = value; in WriteInt32() 174 bool WriteUint32(IpcIo *io, uint32_t value) in WriteUint32() argument 180 uint32_t *ptr = (uint32_t *)IoPush(io, sizeof(value)); in WriteUint32() 182 *ptr = value; in WriteUint32() 188 bool WriteBool(IpcIo *io, bool value) in WriteBool() argument 194 return WriteInt32(io, (int32_t)value); in WriteBool() 197 WriteBoolUnaligned(IpcIo *io, bool value) WriteBoolUnaligned() argument 211 WritePointer(IpcIo *io, uintptr_t value) WritePointer() argument 225 WriteInt8(IpcIo *io, int8_t value) WriteInt8() argument 234 WriteInt8Unaligned(IpcIo *io, int8_t value) WriteInt8Unaligned() argument 248 WriteUint8(IpcIo *io, uint8_t value) WriteUint8() argument 257 WriteUint8Unaligned(IpcIo *io, uint8_t value) WriteUint8Unaligned() argument 271 WriteInt16(IpcIo *io, int16_t value) WriteInt16() argument 280 WriteInt16Unaligned(IpcIo *io, int16_t value) WriteInt16Unaligned() argument 294 WriteUint16(IpcIo *io, uint16_t value) WriteUint16() argument 303 WriteUint16Unaligned(IpcIo *io, uint16_t value) WriteUint16Unaligned() argument 317 WriteInt64(IpcIo *io, int64_t value) WriteInt64() argument 331 WriteUint64(IpcIo *io, uint64_t value) WriteUint64() argument 345 WriteFloat(IpcIo *io, float value) WriteFloat() argument 359 WriteDouble(IpcIo *io, double value) WriteDouble() argument 373 WriteString(IpcIo *io, const char *value) WriteString() argument 425 ReadBool(IpcIo *io, bool *value) ReadBool() argument 439 ReadBoolUnaligned(IpcIo *io, bool *value) ReadBoolUnaligned() argument 463 ReadInt8(IpcIo *io, int8_t *value) ReadInt8() argument 477 ReadInt8Unaligned(IpcIo *io, int8_t *value) ReadInt8Unaligned() argument 491 ReadUint8(IpcIo *io, uint8_t *value) ReadUint8() argument 505 ReadUInt8Unaligned(IpcIo *io, uint8_t *value) ReadUInt8Unaligned() argument 519 ReadInt16(IpcIo *io, int16_t *value) ReadInt16() argument 533 ReadInt16Unaligned(IpcIo *io, int16_t *value) ReadInt16Unaligned() argument 547 ReadUint16(IpcIo *io, uint16_t *value) ReadUint16() argument 561 ReadUInt16Unaligned(IpcIo *io, uint16_t *value) ReadUInt16Unaligned() argument 575 ReadInt32(IpcIo *io, int32_t *value) ReadInt32() argument 589 ReadUint32(IpcIo *io, uint32_t *value) ReadUint32() argument 603 ReadInt64(IpcIo *io, int64_t *value) ReadInt64() argument 617 ReadUint64(IpcIo *io, uint64_t *value) ReadUint64() argument 631 ReadFloat(IpcIo *io, float *value) ReadFloat() argument 645 ReadDouble(IpcIo *io, double *value) ReadDouble() argument 665 uint32_t value; ReadString() local 681 WriteBufferAddTerminator(IpcIo *io, const void *value, size_t size, size_t sizeType) WriteBufferAddTerminator() argument 712 WriteString16(IpcIo *io, const uint16_t *value, size_t len) WriteString16() argument [all...] |
/kernel/linux/linux-5.10/drivers/hid/ |
H A D | hid-lg4ff.c | 276 /* Recalculates X axis value accordingly to currently selected range */ 277 static s32 lg4ff_adjust_dfp_x_axis(s32 value, u16 range) in lg4ff_adjust_dfp_x_axis() argument 283 return value; in lg4ff_adjust_dfp_x_axis() 285 return value; in lg4ff_adjust_dfp_x_axis() 291 new_value = 8192 + mult_frac(value - 8192, max_range, range); in lg4ff_adjust_dfp_x_axis() 301 struct hid_usage *usage, s32 value, struct lg_drv_data *drv_data) in lg4ff_adjust_input_event() 315 new_value = lg4ff_adjust_dfp_x_axis(value, entry->wdata.range); in lg4ff_adjust_input_event() 412 s32 *value; in lg4ff_play() local 426 value = entry->report->field[0]->value; in lg4ff_play() 300 lg4ff_adjust_input_event(struct hid_device *hid, struct hid_field *field, struct hid_usage *usage, s32 value, struct lg_drv_data *drv_data) lg4ff_adjust_input_event() argument 471 s32 *value; lg4ff_set_autocenter_default() local 554 s32 *value; lg4ff_set_autocenter_ffex() local 589 s32 *value; lg4ff_set_range_g25() local 625 s32 *value; lg4ff_set_range_dfp() local 768 s32 *value; lg4ff_switch_compatibility_mode() local 1093 s32 *value; lg4ff_set_leds() local 1120 lg4ff_led_set_brightness(struct led_classdev *led_cdev, enum led_brightness value) lg4ff_led_set_brightness() argument 1162 int i, value = 0; lg4ff_led_get_brightness() local [all...] |
/kernel/linux/linux-6.6/drivers/hid/ |
H A D | hid-lg4ff.c | 276 /* Recalculates X axis value accordingly to currently selected range */ 277 static s32 lg4ff_adjust_dfp_x_axis(s32 value, u16 range) in lg4ff_adjust_dfp_x_axis() argument 283 return value; in lg4ff_adjust_dfp_x_axis() 285 return value; in lg4ff_adjust_dfp_x_axis() 291 new_value = 8192 + mult_frac(value - 8192, max_range, range); in lg4ff_adjust_dfp_x_axis() 301 struct hid_usage *usage, s32 value, struct lg_drv_data *drv_data) in lg4ff_adjust_input_event() 315 new_value = lg4ff_adjust_dfp_x_axis(value, entry->wdata.range); in lg4ff_adjust_input_event() 412 s32 *value; in lg4ff_play() local 426 value = entry->report->field[0]->value; in lg4ff_play() 300 lg4ff_adjust_input_event(struct hid_device *hid, struct hid_field *field, struct hid_usage *usage, s32 value, struct lg_drv_data *drv_data) lg4ff_adjust_input_event() argument 471 s32 *value; lg4ff_set_autocenter_default() local 554 s32 *value; lg4ff_set_autocenter_ffex() local 589 s32 *value; lg4ff_set_range_g25() local 625 s32 *value; lg4ff_set_range_dfp() local 768 s32 *value; lg4ff_switch_compatibility_mode() local 1093 s32 *value; lg4ff_set_leds() local 1120 lg4ff_led_set_brightness(struct led_classdev *led_cdev, enum led_brightness value) lg4ff_led_set_brightness() argument 1162 int i, value = 0; lg4ff_led_get_brightness() local [all...] |
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/common/src/ |
H A D | js_sendable_utils.cpp | 28 napi_value JSUtils::Convert2Sendable(napi_env env, const std::string &value) in Convert2Sendable() argument 30 return Convert2JSValue(env, value); in Convert2Sendable() 33 napi_value JSUtils::Convert2Sendable(napi_env env, const std::vector<uint8_t> &value) in Convert2Sendable() argument 38 napi_status status = napi_create_sendable_arraybuffer(env, value.size(), &native, &buffer); in Convert2Sendable() 43 if (value.size() != 0) { in Convert2Sendable() 44 std::copy(value.begin(), value.end(), static_cast<uint8_t *>(native)); in Convert2Sendable() 46 status = napi_create_sendable_typedarray(env, napi_uint8_array, value.size(), buffer, 0, &jsValue); in Convert2Sendable() 54 napi_value JSUtils::Convert2Sendable(napi_env env, int32_t value) in Convert2Sendable() argument 56 return Convert2JSValue(env, value); in Convert2Sendable() 59 Convert2Sendable(napi_env env, uint32_t value) Convert2Sendable() argument 64 Convert2Sendable(napi_env env, int64_t value) Convert2Sendable() argument 69 Convert2Sendable(napi_env env, double value) Convert2Sendable() argument 74 Convert2Sendable(napi_env env, bool value) Convert2Sendable() argument 79 Convert2Sendable(napi_env env, const std::vector<float> &value) Convert2Sendable() argument 100 Convert2Sendable(napi_env env, std::string value, napi_value &output) Convert2Sendable() argument 105 Convert2Sendable(napi_env env, bool value, napi_value &output) Convert2Sendable() argument 110 Convert2Sendable(napi_env env, double value, napi_value &output) Convert2Sendable() argument 115 Convert2Sendable(napi_env env, const std::monostate &value) Convert2Sendable() argument 138 napi_value value = nullptr; ToSendableObject() local [all...] |
/kernel/linux/linux-5.10/drivers/rtc/ |
H A D | rtc-pcf8523.c | 41 u8 value = 0; in pcf8523_read() local 51 msgs[1].len = sizeof(value); in pcf8523_read() 52 msgs[1].buf = &value; in pcf8523_read() 58 *valuep = value; in pcf8523_read() 63 static int pcf8523_write(struct i2c_client *client, u8 reg, u8 value) in pcf8523_write() argument 65 u8 buffer[2] = { reg, value }; in pcf8523_write() 83 u8 value; in pcf8523_voltage_low() local 86 err = pcf8523_read(client, REG_CONTROL3, &value); in pcf8523_voltage_low() 90 return !!(value & REG_CONTROL3_BLF); in pcf8523_voltage_low() 96 u8 value; in pcf8523_load_capacitance() local 127 u8 value; pcf8523_set_pm() local 145 u8 value; pcf8523_stop_rtc() local 163 u8 value; pcf8523_start_rtc() local 302 u8 value; pcf8523_rtc_read_offset() local 320 u8 value; pcf8523_rtc_set_offset() local [all...] |
/third_party/mesa3d/src/gallium/frontends/va/ |
H A D | config.c | 125 unsigned int value; in vlVaGetConfigAttributes() local 130 value = VA_RT_FORMAT_YUV420 | VA_RT_FORMAT_YUV422; in vlVaGetConfigAttributes() 137 value |= VA_RT_FORMAT_YUV420_10BPP; in vlVaGetConfigAttributes() 140 value = VA_ATTRIB_NOT_SUPPORTED; in vlVaGetConfigAttributes() 147 value = VA_RT_FORMAT_YUV420; in vlVaGetConfigAttributes() 154 value |= VA_RT_FORMAT_YUV420_10BPP; in vlVaGetConfigAttributes() 157 value = VA_RC_CQP | VA_RC_CBR | VA_RC_VBR; in vlVaGetConfigAttributes() 160 value = pscreen->get_video_param(pscreen, ProfileToPipe(profile), in vlVaGetConfigAttributes() 163 if (value > 0) { in vlVaGetConfigAttributes() 164 value in vlVaGetConfigAttributes() [all...] |
/kernel/linux/linux-5.10/sound/usb/6fire/ |
H A D | control.c | 34 u8 value; member 180 uinfo->value.integer.min = 0; in usb6fire_control_output_vol_info() 181 uinfo->value.integer.max = 180; in usb6fire_control_output_vol_info() 198 if (rt->output_vol[ch] != ucontrol->value.integer.value[0]) { in usb6fire_control_output_vol_put() 199 rt->output_vol[ch] = ucontrol->value.integer.value[0]; in usb6fire_control_output_vol_put() 203 if (rt->output_vol[ch + 1] != ucontrol->value.integer.value[1]) { in usb6fire_control_output_vol_put() 204 rt->output_vol[ch + 1] = ucontrol->value in usb6fire_control_output_vol_put() 238 u8 value = 0; usb6fire_control_output_mute_put() local 264 u8 value = rt->output_mute >> ch; usb6fire_control_output_mute_get() local [all...] |
/kernel/linux/linux-6.6/drivers/misc/ |
H A D | ad525x_dpot.c | 129 int value; in dpot_read_spi() local 139 value = dpot_read_r8d8(dpot, in dpot_read_spi() 142 if (value < 0) in dpot_read_spi() 143 return value; in dpot_read_spi() 146 value = value >> 2; in dpot_read_spi() 148 return value; in dpot_read_spi() 152 value = dpot_read_r8d8(dpot, in dpot_read_spi() 155 if (value < 0) in dpot_read_spi() 156 return value; in dpot_read_spi() 179 int value; dpot_read_i2c() local 239 dpot_write_spi(struct dpot_data *dpot, u8 reg, u16 value) dpot_write_spi() argument 328 dpot_write_i2c(struct dpot_data *dpot, u8 reg, u16 value) dpot_write_i2c() argument 403 dpot_write(struct dpot_data *dpot, u8 reg, u16 value) dpot_write() argument 418 s32 value; sysfs_show_reg() local 451 unsigned long value; sysfs_set_reg() local [all...] |
/kernel/linux/linux-6.6/sound/usb/6fire/ |
H A D | control.c | 34 u8 value; member 180 uinfo->value.integer.min = 0; in usb6fire_control_output_vol_info() 181 uinfo->value.integer.max = 180; in usb6fire_control_output_vol_info() 198 if (rt->output_vol[ch] != ucontrol->value.integer.value[0]) { in usb6fire_control_output_vol_put() 199 rt->output_vol[ch] = ucontrol->value.integer.value[0]; in usb6fire_control_output_vol_put() 203 if (rt->output_vol[ch + 1] != ucontrol->value.integer.value[1]) { in usb6fire_control_output_vol_put() 204 rt->output_vol[ch + 1] = ucontrol->value in usb6fire_control_output_vol_put() 238 u8 value = 0; usb6fire_control_output_mute_put() local 264 u8 value = rt->output_mute >> ch; usb6fire_control_output_mute_get() local [all...] |
/kernel/linux/linux-6.6/drivers/thunderbolt/ |
H A D | property.c | 22 u32 value; member 61 if (entry->value + entry->length > block_len) in tb_property_entry_valid() 116 dir = __tb_property_parse_dir(block, block_len, entry->value, in tb_property_parse() 122 property->value.dir = dir; in tb_property_parse() 126 property->value.data = kcalloc(property->length, sizeof(u32), in tb_property_parse() 128 if (!property->value.data) { in tb_property_parse() 132 parse_dwdata(property->value.data, block + entry->value, in tb_property_parse() 137 property->value.text = kcalloc(property->length, sizeof(u32), in tb_property_parse() 139 if (!property->value in tb_property_parse() 581 tb_property_add_immediate(struct tb_property_dir *parent, const char *key, u32 value) tb_property_add_immediate() argument [all...] |
/third_party/rust/crates/log/src/kv/ |
H A D | value.rs | 40 /// Get a value from a type implementing `std::fmt::Debug`. 48 /// Get a value from a type implementing `std::fmt::Display`. 56 /// Get a value from an error. 66 /// Get a value from a type implementing `serde::Serialize`. 74 /// Get a value from a type implementing `sval::value::Value`. 83 /// A value in a structured key-value pair. 87 /// There are a few ways to capture a value: 102 /// let value [all...] |