/third_party/backends/backend/ |
H A D | gphoto2.c | 791 /* Special case: Force port to special value for the in sane_init() 1036 SANE_Action action, void *value, SANE_Int * info) in sane_control_option() 1049 "SETAUTO")), value, (void *) info); in sane_control_option() 1071 status = sanei_constrain_value (sod + option, value, &myinfo); in sane_control_option() 1081 if (*(SANE_Word *) value <= Cam_data.pic_taken) in sane_control_option() 1082 Cam_data.current_picture_number = *(SANE_Word *) value; in sane_control_option() 1106 gphoto2_opt_thumbnails = !!*(SANE_Word *) value; in sane_control_option() 1122 switch (*(SANE_Bool *) value) in sane_control_option() 1164 gphoto2_opt_lowres = !!*(SANE_Word *) value; in sane_control_option() 1177 gphoto2_opt_erase = !!*(SANE_Word *) value; in sane_control_option() 1035 sane_control_option(SANE_Handle handle, SANE_Int option, SANE_Action action, void *value, SANE_Int * info) sane_control_option() argument [all...] |
/third_party/mesa3d/include/GL/ |
H A D | glxext.h | 112 typedef int ( *PFNGLXGETFBCONFIGATTRIBPROC) (Display *dpy, GLXFBConfig config, int attribute, int *value); 120 typedef void ( *PFNGLXQUERYDRAWABLEPROC) (Display *dpy, GLXDrawable draw, int attribute, unsigned int *value); 124 typedef int ( *PFNGLXQUERYCONTEXTPROC) (Display *dpy, GLXContext ctx, int attribute, int *value); 130 int glXGetFBConfigAttrib (Display *dpy, GLXFBConfig config, int attribute, int *value); 138 void glXQueryDrawable (Display *dpy, GLXDrawable draw, int attribute, unsigned int *value); 142 int glXQueryContext (Display *dpy, GLXContext ctx, int attribute, int *value); 318 typedef int ( *PFNGLXQUERYCONTEXTINFOEXTPROC) (Display *dpy, GLXContext context, int attribute, int *value); 324 int glXQueryContextInfoEXT (Display *dpy, GLXContext context, int attribute, int *value); 487 typedef Bool ( *PFNGLXQUERYCURRENTRENDERERINTEGERMESAPROC) (int attribute, unsigned int *value); 489 typedef Bool ( *PFNGLXQUERYRENDERERINTEGERMESAPROC) (Display *dpy, int screen, int renderer, int attribute, unsigned int *value); [all...] |
/third_party/openGLES/api/GL/ |
H A D | glxext.h | 93 typedef int ( *PFNGLXGETFBCONFIGATTRIBPROC) (Display *dpy, GLXFBConfig config, int attribute, int *value); 101 typedef void ( *PFNGLXQUERYDRAWABLEPROC) (Display *dpy, GLXDrawable draw, int attribute, unsigned int *value); 105 typedef int ( *PFNGLXQUERYCONTEXTPROC) (Display *dpy, GLXContext ctx, int attribute, int *value); 111 int glXGetFBConfigAttrib (Display *dpy, GLXFBConfig config, int attribute, int *value); 119 void glXQueryDrawable (Display *dpy, GLXDrawable draw, int attribute, unsigned int *value); 123 int glXQueryContext (Display *dpy, GLXContext ctx, int attribute, int *value); 303 typedef int ( *PFNGLXQUERYCONTEXTINFOEXTPROC) (Display *dpy, GLXContext context, int attribute, int *value); 309 int glXQueryContextInfoEXT (Display *dpy, GLXContext context, int attribute, int *value); 472 typedef Bool ( *PFNGLXQUERYCURRENTRENDERERINTEGERMESAPROC) (int attribute, unsigned int *value); 474 typedef Bool ( *PFNGLXQUERYRENDERERINTEGERMESAPROC) (Display *dpy, int screen, int renderer, int attribute, unsigned int *value); [all...] |
/third_party/skia/third_party/externals/swiftshader/include/GL/ |
H A D | glxext.h | 112 typedef int ( *PFNGLXGETFBCONFIGATTRIBPROC) (Display *dpy, GLXFBConfig config, int attribute, int *value); 120 typedef void ( *PFNGLXQUERYDRAWABLEPROC) (Display *dpy, GLXDrawable draw, int attribute, unsigned int *value); 124 typedef int ( *PFNGLXQUERYCONTEXTPROC) (Display *dpy, GLXContext ctx, int attribute, int *value); 130 int glXGetFBConfigAttrib (Display *dpy, GLXFBConfig config, int attribute, int *value); 138 void glXQueryDrawable (Display *dpy, GLXDrawable draw, int attribute, unsigned int *value); 142 int glXQueryContext (Display *dpy, GLXContext ctx, int attribute, int *value); 310 typedef int ( *PFNGLXQUERYCONTEXTINFOEXTPROC) (Display *dpy, GLXContext context, int attribute, int *value); 316 int glXQueryContextInfoEXT (Display *dpy, GLXContext context, int attribute, int *value); 480 typedef Bool ( *PFNGLXQUERYCURRENTRENDERERINTEGERMESAPROC) (int attribute, unsigned int *value); 482 typedef Bool ( *PFNGLXQUERYRENDERERINTEGERMESAPROC) (Display *dpy, int screen, int renderer, int attribute, unsigned int *value); [all...] |
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/ |
H A D | entry_points.h | 146 void GL_APIENTRY SampleCoverage(GLclampf value, GLboolean invert); 182 void GL_APIENTRY UniformMatrix2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); 183 void GL_APIENTRY UniformMatrix3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); 184 void GL_APIENTRY UniformMatrix4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); 242 void GL_APIENTRY UniformMatrix2x3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 243 void GL_APIENTRY UniformMatrix3x2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 244 void GL_APIENTRY UniformMatrix2x4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 245 void GL_APIENTRY UniformMatrix4x2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 246 void GL_APIENTRY UniformMatrix3x4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 247 void GL_APIENTRY UniformMatrix4x3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); [all...] |
/third_party/skia/third_party/externals/opengl-registry/api/GL/ |
H A D | glxext.h | 112 typedef int ( *PFNGLXGETFBCONFIGATTRIBPROC) (Display *dpy, GLXFBConfig config, int attribute, int *value); 120 typedef void ( *PFNGLXQUERYDRAWABLEPROC) (Display *dpy, GLXDrawable draw, int attribute, unsigned int *value); 124 typedef int ( *PFNGLXQUERYCONTEXTPROC) (Display *dpy, GLXContext ctx, int attribute, int *value); 130 int glXGetFBConfigAttrib (Display *dpy, GLXFBConfig config, int attribute, int *value); 138 void glXQueryDrawable (Display *dpy, GLXDrawable draw, int attribute, unsigned int *value); 142 int glXQueryContext (Display *dpy, GLXContext ctx, int attribute, int *value); 310 typedef int ( *PFNGLXQUERYCONTEXTINFOEXTPROC) (Display *dpy, GLXContext context, int attribute, int *value); 316 int glXQueryContextInfoEXT (Display *dpy, GLXContext context, int attribute, int *value); 480 typedef Bool ( *PFNGLXQUERYCURRENTRENDERERINTEGERMESAPROC) (int attribute, unsigned int *value); 482 typedef Bool ( *PFNGLXQUERYRENDERERINTEGERMESAPROC) (Display *dpy, int screen, int renderer, int attribute, unsigned int *value); [all...] |
/third_party/skia/third_party/externals/freetype/src/gxvalid/ |
H A D | gxvcommn.c | 173 /***** scan value array and get min & max *****/ 429 GXV_LookupValueDesc value; in gxv_LookupTable_fmt0_validate() local 447 value = GXV_LOOKUP_VALUE_LOAD( p, gxvalid->lookupval_sign ); in gxv_LookupTable_fmt0_validate() 448 gxvalid->lookupval_func( i, &value, gxvalid ); in gxv_LookupTable_fmt0_validate() 463 * included is table-specific. The value that indicates binary search 505 GXV_LookupValueDesc value; in gxv_LookupTable_fmt2_validate() local 521 value = GXV_LOOKUP_VALUE_LOAD( p, gxvalid->lookupval_sign ); in gxv_LookupTable_fmt2_validate() 551 gxvalid->lookupval_func( gid, &value, gxvalid ); in gxv_LookupTable_fmt2_validate() 577 GXV_LookupValueDesc value; in gxv_LookupTable_fmt4_validate() local 626 value in gxv_LookupTable_fmt4_validate() 675 GXV_LookupValueDesc value; gxv_LookupTable_fmt6_validate() local 725 GXV_LookupValueDesc value; gxv_LookupTable_fmt8_validate() local 1385 GXV_LookupValueDesc value; gxv_XClassTable_lookupfmt4_transit() local [all...] |
/third_party/rust/crates/syn/src/ |
H A D | generics.rs | 651 let value = input.parse()?; in parse() 652 bounds.push_value(value); in parse() 719 let value: TypeParamBound = input.parse()?; in parse() 720 bounds.push_value(value); in parse() 884 let value = input.parse()?; in parse() 885 predicates.push_value(value); in parse() 928 let value = input.parse()?; in parse() 929 bounds.push_value(value); in parse() 956 let value = input.parse()?; in parse() 957 bounds.push_value(value); in parse() [all...] |
/third_party/skia/third_party/externals/angle2/src/common/ |
H A D | bitset_utils.h | 110 constexpr explicit BitSetT(BitsT value); 136 constexpr BitSetT &operator&=(BitsT value); 137 constexpr BitSetT &operator|=(BitsT value); 138 constexpr BitSetT &operator^=(BitsT value); 146 constexpr BitSetT &set(ParamT pos, bool value = true); 180 constexpr BitSetT<N, BitsT, ParamT>::BitSetT(BitsT value) : mBits(value & Mask(N)) in BitSetT() argument 282 constexpr BitSetT<N, BitsT, ParamT> &BitSetT<N, BitsT, ParamT>::operator&=(BitsT value) in operator &=() argument 284 mBits &= value; in operator &=() 289 constexpr BitSetT<N, BitsT, ParamT> &BitSetT<N, BitsT, ParamT>::operator|=(BitsT value) in operator |=() argument 296 operator ^=(BitsT value) operator ^=() argument 337 set(ParamT pos, bool value) set() argument [all...] |
/kernel/linux/linux-5.10/drivers/clk/renesas/ |
H A D | renesas-cpg-mssr.c | 195 u32 value; in cpg_mstp_clock_endisable() local 202 value = readb(priv->base + priv->control_regs[reg]); in cpg_mstp_clock_endisable() 204 value &= ~bitmask; in cpg_mstp_clock_endisable() 206 value |= bitmask; in cpg_mstp_clock_endisable() 207 writeb(value, priv->base + priv->control_regs[reg]); in cpg_mstp_clock_endisable() 213 value = readl(priv->base + priv->control_regs[reg]); in cpg_mstp_clock_endisable() 215 value &= ~bitmask; in cpg_mstp_clock_endisable() 217 value |= bitmask; in cpg_mstp_clock_endisable() 218 writel(value, priv->base + priv->control_regs[reg]); in cpg_mstp_clock_endisable() 255 u32 value; in cpg_mstp_clock_is_enabled() local [all...] |
/kernel/linux/linux-5.10/drivers/pinctrl/mediatek/ |
H A D | pinctrl-paris.c | 123 /* CONFIG Current direction return value in mtk_pinconf_get() 125 * OUTPUT_ENABLE output 1 (= HW value) in mtk_pinconf_get() 126 * input 0 (= HW value) in mtk_pinconf_get() 127 * INPUT_ENABLE output 0 (= reverse HW value) in mtk_pinconf_get() 128 * input 1 (= reverse HW value) in mtk_pinconf_get() 232 /* regard all non-zero value as enable */ in mtk_pinconf_set() 241 /* regard all non-zero value as enable */ in mtk_pinconf_set() 444 dev_err(hw->dev, "invalid pins value.\n"); in mtk_pctrl_dt_subnode_to_map() 539 int value, err; in mtk_hw_get_value_wrap() local 546 err = mtk_hw_get_value(hw, desc, field, &value); in mtk_hw_get_value_wrap() 763 int value, err; mtk_gpio_get_direction() local 791 int value, err; mtk_gpio_get() local 805 mtk_gpio_set(struct gpio_chip *chip, unsigned int gpio, int value) mtk_gpio_set() argument 828 mtk_gpio_direction_output(struct gpio_chip *chip, unsigned int gpio, int value) mtk_gpio_direction_output() argument [all...] |
/kernel/linux/linux-5.10/drivers/pinctrl/actions/ |
H A D | pinctrl-owl.c | 601 static void owl_gpio_set(struct gpio_chip *chip, unsigned int offset, int value) in owl_gpio_set() argument 615 owl_gpio_update_reg(gpio_base + port->dat, offset, value); in owl_gpio_set() 641 unsigned int offset, int value) in owl_gpio_direction_output() 657 owl_gpio_update_reg(gpio_base + port->dat, offset, value); in owl_gpio_direction_output() 668 unsigned int offset, value, irq_type = 0; in irq_set_type() local 713 value = readl_relaxed(gpio_base + port->intc_type + offset); in irq_set_type() 714 value &= ~(OWL_GPIO_INT_MASK << ((gpio % 16) * 2)); in irq_set_type() 715 value |= irq_type << ((gpio % 16) * 2); in irq_set_type() 716 writel_relaxed(value, gpio_base + port->intc_type + offset); in irq_set_type() 758 u32 value; in owl_gpio_irq_unmask() local 640 owl_gpio_direction_output(struct gpio_chip *chip, unsigned int offset, int value) owl_gpio_direction_output() argument [all...] |
/kernel/linux/linux-5.10/sound/soc/codecs/ |
H A D | tas571x.c | 77 unsigned int value) in tas571x_reg_write() 89 buf[i] = value; in tas571x_reg_write() 90 value >>= 8; in tas571x_reg_write() 103 unsigned int *value) in tas571x_reg_read() 132 *value = 0; in tas571x_reg_read() 135 *value <<= 8; in tas571x_reg_read() 136 *value |= recv_buf[i]; in tas571x_reg_read() 236 uinfo->value.integer.min = 0; in tas571x_coefficient_info() 237 uinfo->value.integer.max = 0xffffffff; in tas571x_coefficient_info() 250 ucontrol->value in tas571x_coefficient_get() 76 tas571x_reg_write(void *context, unsigned int reg, unsigned int value) tas571x_reg_write() argument 102 tas571x_reg_read(void *context, unsigned int reg, unsigned int *value) tas571x_reg_read() argument [all...] |
H A D | twl6040.c | 101 u8 value; in twl6040_read() local 112 value = priv->dl12_cache[reg - TWL6040_REG_HSLCTL]; in twl6040_read() 115 value = twl6040_reg_read(twl6040, reg); in twl6040_read() 119 return value; in twl6040_read() 142 u8 reg, u8 value) in twl6040_update_dl12_cache() 152 priv->dl12_cache[reg - TWL6040_REG_HSLCTL] = value; in twl6040_update_dl12_cache() 160 unsigned int reg, unsigned int value) in twl6040_write() 167 twl6040_update_dl12_cache(component, reg, value); in twl6040_write() 169 return twl6040_reg_write(twl6040, reg, value); in twl6040_write() 478 ucontrol->value in twl6040_headset_power_get_enum() 141 twl6040_update_dl12_cache(struct snd_soc_component *component, u8 reg, u8 value) twl6040_update_dl12_cache() argument 159 twl6040_write(struct snd_soc_component *component, unsigned int reg, unsigned int value) twl6040_write() argument [all...] |
/kernel/linux/linux-5.10/drivers/regulator/ |
H A D | pfuze100-regulator.c | 665 unsigned int value; in pfuze_identify() local 668 ret = regmap_read(pfuze_chip->regmap, PFUZE100_DEVICEID, &value); in pfuze_identify() 672 if (((value & 0x0f) == 0x8) && (pfuze_chip->chip_id == PFUZE100)) { in pfuze_identify() 678 } else if ((value & 0x0f) != pfuze_chip->chip_id && in pfuze_identify() 679 (value & 0xf0) >> 4 != pfuze_chip->chip_id && in pfuze_identify() 680 (value != pfuze_chip->chip_id)) { in pfuze_identify() 682 dev_warn(pfuze_chip->dev, "Illegal ID: %x\n", value); in pfuze_identify() 686 ret = regmap_read(pfuze_chip->regmap, PFUZE100_REVID, &value); in pfuze_identify() 691 (value & 0xf0) >> 4, value in pfuze_identify() [all...] |
/kernel/linux/linux-6.6/drivers/regulator/ |
H A D | pfuze100-regulator.c | 642 unsigned int value; in pfuze_identify() local 645 ret = regmap_read(pfuze_chip->regmap, PFUZE100_DEVICEID, &value); in pfuze_identify() 649 if (((value & 0x0f) == 0x8) && (pfuze_chip->chip_id == PFUZE100)) { in pfuze_identify() 655 } else if ((value & 0x0f) != pfuze_chip->chip_id && in pfuze_identify() 656 (value & 0xf0) >> 4 != pfuze_chip->chip_id && in pfuze_identify() 657 (value != pfuze_chip->chip_id)) { in pfuze_identify() 659 dev_warn(pfuze_chip->dev, "Illegal ID: %x\n", value); in pfuze_identify() 663 ret = regmap_read(pfuze_chip->regmap, PFUZE100_REVID, &value); in pfuze_identify() 668 (value & 0xf0) >> 4, value in pfuze_identify() [all...] |
/kernel/linux/linux-6.6/kernel/bpf/ |
H A D | bpf_struct_ops.c | 74 * the map's value exposed to the userspace and its btf-type-id is 256 void *value) in bpf_struct_ops_map_sys_lookup_elem() 270 memset(value, 0, map->value_size); in bpf_struct_ops_map_sys_lookup_elem() 277 uvalue = value; in bpf_struct_ops_map_sys_lookup_elem() 281 /* This value offers the user space a general estimate of how in bpf_struct_ops_map_sys_lookup_elem() 370 void *value, u64 flags) in bpf_struct_ops_map_update_elem() 389 err = check_zero_holes(st_ops->value_type, value); in bpf_struct_ops_map_update_elem() 393 uvalue = value; in bpf_struct_ops_map_update_elem() 415 memcpy(uvalue, value, map->value_size); in bpf_struct_ops_map_update_elem() 594 void *value; in bpf_struct_ops_map_seq_show_elem() local 255 bpf_struct_ops_map_sys_lookup_elem(struct bpf_map *map, void *key, void *value) bpf_struct_ops_map_sys_lookup_elem() argument 369 bpf_struct_ops_map_update_elem(struct bpf_map *map, void *key, void *value, u64 flags) bpf_struct_ops_map_update_elem() argument [all...] |
/kernel/linux/linux-6.6/drivers/pinctrl/actions/ |
H A D | pinctrl-owl.c | 601 static void owl_gpio_set(struct gpio_chip *chip, unsigned int offset, int value) in owl_gpio_set() argument 615 owl_gpio_update_reg(gpio_base + port->dat, offset, value); in owl_gpio_set() 641 unsigned int offset, int value) in owl_gpio_direction_output() 657 owl_gpio_update_reg(gpio_base + port->dat, offset, value); in owl_gpio_direction_output() 668 unsigned int offset, value, irq_type = 0; in irq_set_type() local 713 value = readl_relaxed(gpio_base + port->intc_type + offset); in irq_set_type() 714 value &= ~(OWL_GPIO_INT_MASK << ((gpio % 16) * 2)); in irq_set_type() 715 value |= irq_type << ((gpio % 16) * 2); in irq_set_type() 716 writel_relaxed(value, gpio_base + port->intc_type + offset); in irq_set_type() 762 u32 value; in owl_gpio_irq_unmask() local 640 owl_gpio_direction_output(struct gpio_chip *chip, unsigned int offset, int value) owl_gpio_direction_output() argument [all...] |
/kernel/linux/linux-6.6/drivers/of/ |
H A D | property.c | 60 * @np: device node from which the property value is to be read. 69 * the property does not have a value. 78 if (!prop->value) in of_property_count_elems_of_size() 94 * @np: device node from which the property value is to be read. 96 * @min: minimum allowed length of property value 97 * @max: maximum allowed length of property value (0 means unlimited) 102 * Return: The property value on success, -EINVAL if the property does not 103 * exist, -ENODATA if property does not have a value, and -EOVERFLOW if the 114 if (!prop->value) in of_find_property_value_of_size() 124 return prop->value; in of_find_property_value_of_size() [all...] |
/kernel/linux/linux-6.6/arch/x86/kernel/kprobes/ |
H A D | core.c | 318 if (insn.opcode.value == 0xBA) in can_probe() 320 else if (insn.opcode.value == 0x3) in can_probe() 400 * value and yield the same 64-bit result that the sign- in __copy_instruction() 404 newdisp = (u8 *) src + (s64) insn->displacement.value in __copy_instruction() 623 p->ainsn.rel32 = *(s16 *)&insn->immediate.value; in prepare_emulation() 625 p->ainsn.rel32 = *(s32 *)&insn->immediate.value; in prepare_emulation() 631 p->ainsn.rel32 = *(s8 *)&insn->immediate.value; in prepare_emulation() 633 p->ainsn.rel32 = *(s16 *)&insn->immediate.value; in prepare_emulation() 635 p->ainsn.rel32 = *(s32 *)&insn->immediate.value; in prepare_emulation() 641 p->ainsn.rel32 = insn->immediate.value; in prepare_emulation() [all...] |
/kernel/linux/linux-6.6/sound/soc/codecs/ |
H A D | tas571x.c | 77 unsigned int value) in tas571x_reg_write() 89 buf[i] = value; in tas571x_reg_write() 90 value >>= 8; in tas571x_reg_write() 103 unsigned int *value) in tas571x_reg_read() 132 *value = 0; in tas571x_reg_read() 135 *value <<= 8; in tas571x_reg_read() 136 *value |= recv_buf[i]; in tas571x_reg_read() 236 uinfo->value.integer.min = 0; in tas571x_coefficient_info() 237 uinfo->value.integer.max = 0xffffffff; in tas571x_coefficient_info() 250 ucontrol->value in tas571x_coefficient_get() 76 tas571x_reg_write(void *context, unsigned int reg, unsigned int value) tas571x_reg_write() argument 102 tas571x_reg_read(void *context, unsigned int reg, unsigned int *value) tas571x_reg_read() argument [all...] |
H A D | twl6040.c | 101 u8 value; in twl6040_read() local 112 value = priv->dl12_cache[reg - TWL6040_REG_HSLCTL]; in twl6040_read() 115 value = twl6040_reg_read(twl6040, reg); in twl6040_read() 119 return value; in twl6040_read() 142 u8 reg, u8 value) in twl6040_update_dl12_cache() 152 priv->dl12_cache[reg - TWL6040_REG_HSLCTL] = value; in twl6040_update_dl12_cache() 160 unsigned int reg, unsigned int value) in twl6040_write() 167 twl6040_update_dl12_cache(component, reg, value); in twl6040_write() 169 return twl6040_reg_write(twl6040, reg, value); in twl6040_write() 478 ucontrol->value in twl6040_headset_power_get_enum() 141 twl6040_update_dl12_cache(struct snd_soc_component *component, u8 reg, u8 value) twl6040_update_dl12_cache() argument 159 twl6040_write(struct snd_soc_component *component, unsigned int reg, unsigned int value) twl6040_write() argument [all...] |
/kernel/linux/linux-6.6/tools/bpf/bpftool/ |
H A D | feature.c | 89 static void print_kernel_option(const char *name, const char *value, in print_kernel_option() argument 96 if (!value) { in print_kernel_option() 101 res = strtol(value, &endptr, 0); in print_kernel_option() 105 jsonw_string_field(json_wtr, name, value); in print_kernel_option() 107 if (value) in print_kernel_option() 109 name, value); in print_kernel_option() 113 if (value) in print_kernel_option() 114 printf("%s is set to %s\n", name, value); in print_kernel_option() 219 printf("bpf() syscall restriction has unknown value %ld\n", res); in probe_unprivileged_disabled() 248 printf("JIT-compiler status has unknown value in probe_jit_enable() 330 read_next_kernel_config_option(gzFile file, char *buf, size_t n, char **value) read_next_kernel_config_option() argument 446 char *value; probe_kernel_image_config() local [all...] |
/third_party/benchmark/src/ |
H A D | sysinfo.cc | 189 class = typename std::enable_if<std::is_integral<Tp>::value>::type> 515 std::string value; in GetNumCPUs() 520 value = ln.substr(Key.size() + 1, split_idx - Key.size() - 1); in GetNumCPUs() 522 if (split_idx != std::string::npos) value = ln.substr(split_idx + 1); in GetNumCPUs() 526 if (!value.empty()) { in GetNumCPUs() 527 const int cur_id = benchmark::stoi(value); in GetNumCPUs() 652 // The value is in kHz (as the file name suggests). For example, on a in GetCPUCyclesPerSecond() 653 // 2GHz warpstation, the file contains the value "2000000". in GetCPUCyclesPerSecond() 678 std::string value; in GetCPUCyclesPerSecond() local 679 if (split_idx != std::string::npos) value in GetCPUCyclesPerSecond() [all...] |
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
H A D | radeon_vcn_enc.c | 586 void radeon_enc_code_fixed_bits(struct radeon_encoder *enc, unsigned int value, in radeon_enc_code_fixed_bits() argument 593 unsigned int value_to_pack = value & (0xffffffff >> (32 - num_bits)); in radeon_enc_code_fixed_bits() 652 void radeon_enc_code_ue(struct radeon_encoder *enc, unsigned int value) in radeon_enc_code_ue() argument 655 unsigned int ue_code = value + 1; in radeon_enc_code_ue() 656 value += 1; in radeon_enc_code_ue() 658 while (value) { in radeon_enc_code_ue() 659 value = (value >> 1); in radeon_enc_code_ue() 667 void radeon_enc_code_se(struct radeon_encoder *enc, int value) in radeon_enc_code_se() argument 671 if (value ! in radeon_enc_code_se() [all...] |