/third_party/python/Lib/wsgiref/ |
H A D | handlers.py | 247 val = self._convert_string_type(val, "Header value") 253 def _convert_string_type(self, value, title): 254 """Convert/check value type.""" 255 if type(value) is str: 256 return value 258 "{0} must be of type str (got {1})".format(title, repr(value)) 304 This method should return a true value if it was able to actually 306 approach. It should return a false value if normal iteration
|
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/ |
H A D | pcg_engine.h | 43 typename Mix::state_type>::value, 47 static_assert(std::is_unsigned<typename Mix::result_type>::value, 71 !std::is_same<SeedSequence, pcg_engine>::value>> 82 // Advance the LCG state, always using the new value to generate the output. in operator ()() 94 !std::is_convertible<SeedSequence, uint64_t>::value, void> 209 // Convert the seed output to a single state value.
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/str_format/ |
H A D | parser.cc | 83 conv.width.value() >= 0 || conv.precision.value() >= 0; in CheckFastPathSetting() 93 FlagsContains(conv.flags, Flags::kZero) ? 1 : 0, conv.width.value(), in CheckFastPathSetting() 94 conv.precision.value()); in CheckFastPathSetting()
|
H A D | bind.cc | 28 inline bool BindFromPosition(int position, int* value, in BindFromPosition() argument 35 return FormatArgImplFriend::ToInt(pack[position - 1], value); in BindFromPosition() 62 int width = unbound->width.value(); in Bind() 76 int precision = unbound->precision.value(); in Bind()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/synchronization/internal/ |
H A D | waiter.cc | 78 // value, waiting on a futex while we believe it is zero. in Wait() 329 static_assert(std::is_trivially_constructible<SRWLOCK>::value, 332 std::is_trivially_constructible<CONDITION_VARIABLE>::value, 334 static_assert(std::is_trivially_destructible<SRWLOCK>::value, 336 static_assert(std::is_trivially_destructible<CONDITION_VARIABLE>::value,
|
/third_party/skia/include/core/ |
H A D | SkRefCnt.h | 41 // illegal value, to catch us if we reuse after delete in ~SkRefCntBase() 228 typename = typename std::enable_if<std::is_convertible<U*, T*>::value>::type> 238 typename = typename std::enable_if<std::is_convertible<U*, T*>::value>::type> 269 typename = typename std::enable_if<std::is_convertible<U*, T*>::value>::type> 285 typename = typename std::enable_if<std::is_convertible<U*, T*>::value>::type>
|
/third_party/selinux/libselinux/include/selinux/ |
H A D | selinux.h | 152 const char *value; member 325 /* Translate boolean strict to name value pair. */ 328 int value; member 355 /* Get the enforce flag value. */ 358 /* Set the enforce flag value. */ 359 extern int security_setenforce(int value); 367 /* Get the checkreqprot value */ 379 /* Get the pending value for the boolean */ 382 /* Get the active value for the boolean */ 385 /* Set the pending value fo [all...] |
/third_party/spirv-tools/test/ |
H A D | text_to_binary.type_declaration_test.cpp | 42 {1, 2, (uint32_t)GetParam().value(), 2, 3, 0, in TEST_P() 83 GetParam().value()}))); in TEST_P() 153 (uint32_t)spv::ImageFormat::Rgba8, GetParam().value()}))); in TEST_P() 179 Eq(MakeInstruction(spv::Op::OpTypePipe, {1, GetParam().value()}))); in TEST_P()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/radius/ |
H A D | radius.h | 46 /* followed by length-2 octets of attribute value */ 300 u32 value) in radius_msg_add_attr_int32() 302 u32 val = htonl(value); in radius_msg_add_attr_int32() 307 u32 *value) in radius_msg_get_attr_int32() 315 *value = ntohl(val); in radius_msg_get_attr_int32() 299 radius_msg_add_attr_int32(struct radius_msg *msg, u8 type, u32 value) radius_msg_add_attr_int32() argument 306 radius_msg_get_attr_int32(struct radius_msg *msg, u8 type, u32 *value) radius_msg_get_attr_int32() argument
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/radius/ |
H A D | radius.h | 46 /* followed by length-2 octets of attribute value */ 303 u32 value) in radius_msg_add_attr_int32() 305 u32 val = htonl(value); in radius_msg_add_attr_int32() 310 u32 *value) in radius_msg_get_attr_int32() 318 *value = ntohl(val); in radius_msg_get_attr_int32() 302 radius_msg_add_attr_int32(struct radius_msg *msg, u8 type, u32 value) radius_msg_add_attr_int32() argument 309 radius_msg_get_attr_int32(struct radius_msg *msg, u8 type, u32 *value) radius_msg_get_attr_int32() argument
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/button/ |
H A D | button_content_modifier_test_ng.cpp | 218 buttonModelNG.SetType(static_cast<int32_t>(testProperty.typeValue.value())); in CreateLabelButtonParagraph() 221 buttonModelNG.SetStateEffect(testProperty.stateEffectValue.value()); in CreateLabelButtonParagraph() 224 buttonModelNG.SetFontSize(testProperty.fontSizeValue.value()); in CreateLabelButtonParagraph() 227 buttonModelNG.SetFontWeight(testProperty.fontWeightValue.value()); in CreateLabelButtonParagraph() 230 buttonModelNG.SetFontColor(testProperty.textColorValue.value()); in CreateLabelButtonParagraph() 233 buttonModelNG.SetFontStyle(testProperty.fontStyleValue.value()); in CreateLabelButtonParagraph() 236 buttonModelNG.SetFontFamily(testProperty.fontFamilyValue.value()); in CreateLabelButtonParagraph() 239 buttonModelNG.SetBorderRadius(testProperty.borderRadius.value()); in CreateLabelButtonParagraph() 242 buttonModelNG.SetButtonStyle(testProperty.buttonStyle.value()); in CreateLabelButtonParagraph() 245 buttonModelNG.SetControlSize(testProperty.controlSize.value()); in CreateLabelButtonParagraph() [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/src/ |
H A D | single_store_impl.cpp | 87 Status SingleStoreImpl::Put(const Key &key, const Value &value) in Put() argument 97 if (dbKey.empty() || value.Size() > MAX_VALUE_LENGTH) { in Put() 99 StoreUtil::Anonymous(key.ToString()).c_str(), key.Size(), value.Size()); in Put() 103 auto status = RetryWithCheckPoint([this, &dbKey, &value]() { return dbStore_->Put(dbKey, value); }); in Put() 106 ZLOGE("status:0x%{public}x key:%{public}s, value size:%{public}zu", status, in Put() 107 StoreUtil::Anonymous(key.ToString()).c_str(), value.Size()); in Put() 127 if (dbEntry.key.empty() || entry.value.Size() > MAX_VALUE_LENGTH) { in PutBatch() 129 StoreUtil::Anonymous(entry.key.ToString()).c_str(), entry.key.Size(), entry.value.Size()); in PutBatch() 132 dbEntry.value in PutBatch() 340 Get(const Key &key, Value &value) Get() argument 370 Value value; Get() local [all...] |
/foundation/filemanagement/file_api/interfaces/kits/cj/src/ |
H A D | file_fs_impl.cpp | 432 if (errCode.value() != 0) { in RmDirectory() 433 LOGE("Failed to remove directory, error code: %{public}d", errCode.value()); in RmDirectory() 434 return errCode.value(); in RmDirectory() 501 HILOGE("Failed to remove file or directory, error code: %{public}d", errCode.value()); in RemovePath() 502 return errCode.value(); in RemovePath() 517 if (errCode.value() == EXDEV) { in RenameDir() 520 HILOGE("Failed to create directory, error code: %{public}d", errCode.value()); in RenameDir() 521 return errCode.value(); in RenameDir() 530 if (errCode.value() != 0) { in RenameDir() 531 HILOGE("Failed to rename file, error code: %{public}d", errCode.value()); in RenameDir() 1177 char *value = static_cast<char*>(malloc((len + 1) * sizeof(char))); ReadText() local [all...] |
/kernel/linux/linux-5.10/drivers/acpi/ |
H A D | ec.c | 61 * event value in the data register (EC_DATA), the target can safely 509 u8 value = 0; in acpi_ec_clear() local 512 status = acpi_ec_query(ec, &value); in acpi_ec_clear() 513 if (status || !value) in acpi_ec_clear() 1045 acpi_ec_get_query_handler_by_value(struct acpi_ec *ec, u8 value) in acpi_ec_get_query_handler_by_value() argument 1051 if (value == handler->query_bit) { in acpi_ec_get_query_handler_by_value() 1172 u8 value = 0; in acpi_ec_query() local 1176 q = acpi_ec_create_query(ec, &value); in acpi_ec_query() 1186 if (!value) in acpi_ec_query() 1191 q->handler = acpi_ec_get_query_handler_by_value(ec, value); in acpi_ec_query() 1308 u8 *value = (u8 *)value64; acpi_ec_space_handler() local 1381 int value = 0; acpi_ec_register_query_methods() local [all...] |
/kernel/linux/linux-5.10/drivers/input/misc/ |
H A D | ims-pcu.c | 948 enum led_brightness value) in ims_pcu_backlight_set_brightness() 954 __le16 br_val = cpu_to_le16(value); in ims_pcu_backlight_set_brightness() 964 value, error); in ims_pcu_backlight_set_brightness() 1125 int value; in ims_pcu_reset_device() local 1128 error = kstrtoint(buf, 0, &value); in ims_pcu_reset_device() 1132 if (value != 1) in ims_pcu_reset_device() 1157 int value; in ims_pcu_update_firmware_store() local 1160 error = kstrtoint(buf, 0, &value); in ims_pcu_update_firmware_store() 1164 if (value != 1) in ims_pcu_update_firmware_store() 1322 u8 value; in ims_pcu_ofn_reg_data_store() local 947 ims_pcu_backlight_set_brightness(struct led_classdev *cdev, enum led_brightness value) ims_pcu_backlight_set_brightness() argument 1360 u8 value; ims_pcu_ofn_reg_addr_store() local 1412 int value; ims_pcu_ofn_bit_store() local [all...] |
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/ |
H A D | fusb300_udc.c | 37 u32 value) in fusb300_enable_bit() 41 reg |= value; in fusb300_enable_bit() 46 u32 value) in fusb300_disable_bit() 50 reg &= ~value; in fusb300_disable_bit() 470 static int fusb300_set_halt_and_wedge(struct usb_ep *_ep, int value, int wedge) in fusb300_set_halt_and_wedge() argument 488 if (value) { in fusb300_set_halt_and_wedge() 504 static int fusb300_set_halt(struct usb_ep *_ep, int value) in fusb300_set_halt() argument 506 return fusb300_set_halt_and_wedge(_ep, value, 0); in fusb300_set_halt() 535 u32 value) in fusb300_clear_int() 537 iowrite32(value, fusb30 in fusb300_clear_int() 36 fusb300_enable_bit(struct fusb300 *fusb300, u32 offset, u32 value) fusb300_enable_bit() argument 45 fusb300_disable_bit(struct fusb300 *fusb300, u32 offset, u32 value) fusb300_disable_bit() argument 534 fusb300_clear_int(struct fusb300 *fusb300, u32 offset, u32 value) fusb300_clear_int() argument 659 u8 value; fusb300_get_epnstall() local 669 u8 value; fusb300_get_cxstall() local 890 u32 value; fusb300_fill_idma_prdtbl() local [all...] |
/kernel/linux/linux-5.10/security/ |
H A D | security.c | 676 * The default value of the LSM hook is defined in linux/lsm_hook_defs.h and 681 * The macros below define static constants for the default value of each 698 * This is a hook that does not return a value. 701 * This is a hook that returns a value. 814 * The module will respond with a positive value if in security_vm_enough_memory_mm() 1060 &lsm_xattr->value, in security_inode_init_security() 1071 for (xattr = new_xattrs; xattr->value != NULL; xattr++) in security_inode_init_security() 1072 kfree(xattr->value); in security_inode_init_security() 1079 void **value, size_t *len) in security_old_inode_init_security() 1084 qstr, name, value, le in security_old_inode_init_security() 1077 security_old_inode_init_security(struct inode *inode, struct inode *dir, const struct qstr *qstr, const char **name, void **value, size_t *len) security_old_inode_init_security() argument 1298 security_inode_setxattr(struct dentry *dentry, const char *name, const void *value, size_t size, int flags) security_inode_setxattr() argument 1322 security_inode_post_setxattr(struct dentry *dentry, const char *name, const void *value, size_t size, int flags) security_inode_post_setxattr() argument 1394 security_inode_setsecurity(struct inode *inode, const char *name, const void *value, size_t size, int flags) security_inode_setsecurity() argument 2012 security_getprocattr(struct task_struct *p, const char *lsm, char *name, char **value) security_getprocattr() argument 2025 security_setprocattr(const char *lsm, const char *name, void *value, size_t size) security_setprocattr() argument [all...] |
/kernel/linux/linux-5.10/sound/x86/ |
H A D | intel_hdmi_audio.c | 48 "Index value for INTEL Intel HDMI Audio controller."); 245 * appropriate value when doing read-modify of AUD_CONFIG register. 250 /* update the cached value */ in had_enable_audio() 538 uinfo->value.integer.min = 0; in had_chmap_ctl_info() 539 uinfo->value.integer.max = SNDRV_CHMAP_LAST; in had_chmap_ctl_info() 551 memset(ucontrol->value.integer.value, 0, in had_chmap_ctl_get() 561 ucontrol->value.integer.value[i] = chmap->map[i]; in had_chmap_ctl_get() 718 * Program HDMI audio CTS value [all...] |
/kernel/linux/linux-6.6/drivers/soundwire/ |
H A D | cadence_master.c | 208 static inline void cdns_writel(struct sdw_cdns *cdns, int offset, u32 value) in cdns_writel() argument 210 writel(value, cdns->registers + offset); in cdns_writel() 218 static inline void cdns_ip_writel(struct sdw_cdns *cdns, int offset, u32 value) in cdns_ip_writel() argument 220 return cdns_writel(cdns, cdns->ip_offset + offset, value); in cdns_ip_writel() 239 static int cdns_set_wait(struct sdw_cdns *cdns, int offset, u32 mask, u32 value) in cdns_set_wait() argument 247 if ((reg_read & mask) == value) in cdns_set_wait() 257 static int cdns_clear_bit(struct sdw_cdns *cdns, int offset, u32 value) in cdns_clear_bit() argument 259 writel(value, cdns->registers + offset); in cdns_clear_bit() 262 return cdns_set_wait(cdns, offset, value, 0); in cdns_clear_bit() 398 static int cdns_hw_reset(void *data, u64 value) in cdns_hw_reset() argument 418 cdns_parity_error_injection(void *data, u64 value) cdns_parity_error_injection() argument 497 cdns_set_pdi_loopback_source(void *data, u64 value) cdns_set_pdi_loopback_source() argument 514 cdns_set_pdi_loopback_target(void *data, u64 value) cdns_set_pdi_loopback_target() argument [all...] |
/kernel/linux/linux-6.6/drivers/usb/gadget/udc/ |
H A D | fusb300_udc.c | 37 u32 value) in fusb300_enable_bit() 41 reg |= value; in fusb300_enable_bit() 46 u32 value) in fusb300_disable_bit() 50 reg &= ~value; in fusb300_disable_bit() 470 static int fusb300_set_halt_and_wedge(struct usb_ep *_ep, int value, int wedge) in fusb300_set_halt_and_wedge() argument 488 if (value) { in fusb300_set_halt_and_wedge() 504 static int fusb300_set_halt(struct usb_ep *_ep, int value) in fusb300_set_halt() argument 506 return fusb300_set_halt_and_wedge(_ep, value, 0); in fusb300_set_halt() 535 u32 value) in fusb300_clear_int() 537 iowrite32(value, fusb30 in fusb300_clear_int() 36 fusb300_enable_bit(struct fusb300 *fusb300, u32 offset, u32 value) fusb300_enable_bit() argument 45 fusb300_disable_bit(struct fusb300 *fusb300, u32 offset, u32 value) fusb300_disable_bit() argument 534 fusb300_clear_int(struct fusb300 *fusb300, u32 offset, u32 value) fusb300_clear_int() argument 659 u8 value; fusb300_get_epnstall() local 669 u8 value; fusb300_get_cxstall() local 890 u32 value; fusb300_fill_idma_prdtbl() local [all...] |
/kernel/linux/linux-6.6/drivers/input/misc/ |
H A D | ims-pcu.c | 948 enum led_brightness value) in ims_pcu_backlight_set_brightness() 954 __le16 br_val = cpu_to_le16(value); in ims_pcu_backlight_set_brightness() 964 value, error); in ims_pcu_backlight_set_brightness() 1125 int value; in ims_pcu_reset_device() local 1128 error = kstrtoint(buf, 0, &value); in ims_pcu_reset_device() 1132 if (value != 1) in ims_pcu_reset_device() 1157 int value; in ims_pcu_update_firmware_store() local 1160 error = kstrtoint(buf, 0, &value); in ims_pcu_update_firmware_store() 1164 if (value != 1) in ims_pcu_update_firmware_store() 1322 u8 value; in ims_pcu_ofn_reg_data_store() local 947 ims_pcu_backlight_set_brightness(struct led_classdev *cdev, enum led_brightness value) ims_pcu_backlight_set_brightness() argument 1360 u8 value; ims_pcu_ofn_reg_addr_store() local 1412 int value; ims_pcu_ofn_bit_store() local [all...] |
/kernel/linux/linux-6.6/sound/x86/ |
H A D | intel_hdmi_audio.c | 50 "Index value for INTEL Intel HDMI Audio controller."); 247 * appropriate value when doing read-modify of AUD_CONFIG register. 252 /* update the cached value */ in had_enable_audio() 540 uinfo->value.integer.min = 0; in had_chmap_ctl_info() 541 uinfo->value.integer.max = SNDRV_CHMAP_LAST; in had_chmap_ctl_info() 553 memset(ucontrol->value.integer.value, 0, in had_chmap_ctl_get() 563 ucontrol->value.integer.value[i] = chmap->map[i]; in had_chmap_ctl_get() 720 * Program HDMI audio CTS value [all...] |
/test/xts/acts/multimedia/audio/audio_js_standard/OhAudioNdk/entry/src/main/cpp/ |
H A D | ohaudiondk.cpp | 124 int value; in getParamAtIndex() local 125 napi_get_value_int32(env, args[index], &value); in getParamAtIndex() 126 return value; in getParamAtIndex() 129 // 根据value值获取采样格式 152 // 根据value值获取播放流场景类型 214 double value; in OHAudioStreamBuilderCreate() local 215 napi_get_value_double(env, args[0], &value); in OHAudioStreamBuilderCreate() 220 if (value == 1) { in OHAudioStreamBuilderCreate() 224 if (value == 1) { in OHAudioStreamBuilderCreate() 1058 double value; in OHAudioStreamBuilderDestroy() local 1149 int value; OHAudioStreamBuilderSetCapturerInfo() local 1291 int value; OHAudioStreamBuilderSetRendererInfo() local 1469 double value; OHAudioRendererSetSpeed() local [all...] |
/third_party/curl/src/ |
H A D | tool_getparam.c | 781 curl_off_t value; in GetSizeParameter() local 783 if(curlx_strtoofft(arg, &unit, 10, &value)) { in GetSizeParameter() 796 if(value > (CURL_OFF_T_MAX / (1024*1024*1024))) in GetSizeParameter() 798 value *= 1024*1024*1024; in GetSizeParameter() 802 if(value > (CURL_OFF_T_MAX / (1024*1024))) in GetSizeParameter() 804 value *= 1024*1024; in GetSizeParameter() 808 if(value > (CURL_OFF_T_MAX / 1024)) in GetSizeParameter() 810 value *= 1024; in GetSizeParameter() 820 *value_out = value; in GetSizeParameter() 1233 curl_off_t value; in getparameter() local [all...] |
/third_party/node/deps/v8/src/compiler/backend/ |
H A D | register-allocator.h | 62 int value() const { return value_; } in value() function in v8::internal::compiler::final 71 // Returns true if this lifetime position corresponds to a START value 73 // Returns true if this lifetime position corresponds to an END value 75 // Returns true if this lifetime position corresponds to a gap START value 160 static inline LifetimePosition FromInt(int value) { in FromInt() argument 161 return LifetimePosition(value); in FromInt() 171 explicit LifetimePosition(int value) : value_(value) {} in LifetimePosition() argument 691 void set_spilled(bool value) { bits_ = SpilledField::update(bits_, value); } in set_spilled() argument 814 set_is_phi(bool value) set_is_phi() argument 818 set_is_non_loop_phi(bool value) set_is_non_loop_phi() argument 841 register_slot_use(SlotUseKind value) register_slot_use() argument 878 set_spill_type(SpillType value) set_spill_type() argument [all...] |