Home
last modified time | relevance | path

Searched refs:vals (Results 51 - 75 of 532) sorted by relevance

12345678910>>...22

/third_party/skia/experimental/graphite/src/geom/
H A DIntersectionTree.cpp122 fSplittableBounds = max(fSplittableBounds, rect.vals()); in appendToList()
123 fRectValsSum += rect.vals(); // [sum(left), sum(top), -sum(right), -sum(bot)] in appendToList()
124 fLefts[i] = rect.vals()[0]; in appendToList()
125 fTops[i] = rect.vals()[1]; in appendToList()
126 fNegRights[i] = rect.vals()[2]; in appendToList()
127 fNegBots[i] = rect.vals()[3]; in appendToList()
/kernel/linux/linux-5.10/drivers/iio/
H A Dindustrialio-core.c593 int size, const int *vals) in __iio_format_value()
601 return scnprintf(buf, len, "%d", vals[0]); in __iio_format_value()
606 if (vals[1] < 0) in __iio_format_value()
607 return scnprintf(buf, len, "-%d.%06u%s", abs(vals[0]), in __iio_format_value()
608 -vals[1], scale_db ? " dB" : ""); in __iio_format_value()
610 return scnprintf(buf, len, "%d.%06u%s", vals[0], vals[1], in __iio_format_value()
613 if (vals[1] < 0) in __iio_format_value()
614 return scnprintf(buf, len, "-%d.%09u", abs(vals[0]), in __iio_format_value()
615 -vals[ in __iio_format_value()
592 __iio_format_value(char *buf, size_t len, unsigned int type, int size, const int *vals) __iio_format_value() argument
660 iio_format_value(char *buf, unsigned int type, int size, int *vals) iio_format_value() argument
678 int vals[INDIO_MAX_RAW_ELEMENTS]; iio_read_channel_info() local
697 iio_format_avail_list(char *buf, const int *vals, int type, int length) iio_format_avail_list() argument
740 iio_format_avail_range(char *buf, const int *vals, int type) iio_format_avail_range() argument
789 const int *vals; iio_read_channel_info_avail() local
[all...]
/kernel/linux/linux-5.10/drivers/input/
H A Dinput.c108 struct input_value *vals, unsigned int count) in input_to_handler()
111 struct input_value *end = vals; in input_to_handler()
115 for (v = vals; v != vals + count; v++) { in input_to_handler()
122 count = end - vals; in input_to_handler()
129 handler->events(handle, vals, count); in input_to_handler()
131 for (v = vals; v != vals + count; v++) in input_to_handler()
143 struct input_value *vals, unsigned int count) in input_pass_values()
155 count = input_to_handler(handle, vals, coun in input_pass_values()
107 input_to_handler(struct input_handle *handle, struct input_value *vals, unsigned int count) input_to_handler() argument
142 input_pass_values(struct input_dev *dev, struct input_value *vals, unsigned int count) input_pass_values() argument
183 struct input_value vals[] = { { type, code, value } }; input_pass_event() local
202 struct input_value vals[] = { input_repeat_key() local
970 struct input_value vals[] = { input_set_keycode() local
[all...]
/kernel/linux/linux-5.10/drivers/iio/light/
H A Dcm32181.c142 u64 vals[CPM0_HEADER_SIZE + CM32181_CONF_REG_NUM]; in cm32181_acpi_parse_cpm_tables() local
146 count = cm32181_acpi_get_cpm(dev, "CPM0", vals, ARRAY_SIZE(vals)); in cm32181_acpi_parse_cpm_tables()
152 cm32181->init_regs_bitmap = vals[CPM0_REGS_BITMAP]; in cm32181_acpi_parse_cpm_tables()
155 cm32181->conf_regs[i] = vals[CPM0_HEADER_SIZE + i]; in cm32181_acpi_parse_cpm_tables()
157 count = cm32181_acpi_get_cpm(dev, "CPM1", vals, ARRAY_SIZE(vals)); in cm32181_acpi_parse_cpm_tables()
161 cm32181->lux_per_bit = vals[CPM1_LUX_PER_BIT]; in cm32181_acpi_parse_cpm_tables()
164 if (vals[CPM1_CALIBSCALE] == CM32181_CALIBSCALE_DEFAULT) in cm32181_acpi_parse_cpm_tables()
167 cm32181->calibscale = vals[CPM1_CALIBSCAL in cm32181_acpi_parse_cpm_tables()
[all...]
/kernel/linux/linux-5.10/scripts/gcc-plugins/
H A Dlatent_entropy_plugin.c135 VEC(constructor_elt, gc) *vals; in handle_latent_entropy_attribute()
137 vec<constructor_elt, va_gc> *vals; in handle_latent_entropy_attribute() local
191 vals = VEC_alloc(constructor_elt, gc, nelt); in handle_latent_entropy_attribute()
193 vec_alloc(vals, nelt); in handle_latent_entropy_attribute()
200 CONSTRUCTOR_APPEND_ELT(vals, fld, random_const); in handle_latent_entropy_attribute()
204 DECL_INITIAL(*node) = build_constructor(type, vals); in handle_latent_entropy_attribute()
235 vals = VEC_alloc(constructor_elt, gc, nelt); in handle_latent_entropy_attribute()
237 vec_alloc(vals, nelt); in handle_latent_entropy_attribute()
244 CONSTRUCTOR_APPEND_ELT(vals, cst, rand_cst); in handle_latent_entropy_attribute()
251 DECL_INITIAL(*node) = build_constructor(type, vals); in handle_latent_entropy_attribute()
[all...]
/kernel/linux/linux-6.6/drivers/iio/light/
H A Dcm32181.c142 u64 vals[CPM0_HEADER_SIZE + CM32181_CONF_REG_NUM]; in cm32181_acpi_parse_cpm_tables() local
146 count = cm32181_acpi_get_cpm(dev, "CPM0", vals, ARRAY_SIZE(vals)); in cm32181_acpi_parse_cpm_tables()
152 cm32181->init_regs_bitmap = vals[CPM0_REGS_BITMAP]; in cm32181_acpi_parse_cpm_tables()
155 cm32181->conf_regs[i] = vals[CPM0_HEADER_SIZE + i]; in cm32181_acpi_parse_cpm_tables()
157 count = cm32181_acpi_get_cpm(dev, "CPM1", vals, ARRAY_SIZE(vals)); in cm32181_acpi_parse_cpm_tables()
161 cm32181->lux_per_bit = vals[CPM1_LUX_PER_BIT]; in cm32181_acpi_parse_cpm_tables()
164 if (vals[CPM1_CALIBSCALE] == CM32181_CALIBSCALE_DEFAULT) in cm32181_acpi_parse_cpm_tables()
167 cm32181->calibscale = vals[CPM1_CALIBSCAL in cm32181_acpi_parse_cpm_tables()
[all...]
/third_party/ffmpeg/libavcodec/tests/
H A Ddct.c120 static void init_block(int16_t block[64], int test, int is_idct, AVLFG *prng, int vals) in init_block() argument
129 block[i] = (av_lfg_get(prng) % (2*vals)) -vals; in init_block()
140 block[idx] = av_lfg_get(prng) % (2*vals) -vals; in init_block()
144 block[ 0] = av_lfg_get(prng) % (16*vals) - (8*vals); in init_block()
191 const int vals=1<<bits; in dct_error() local
202 init_block(block1, test, is_idct, &prng, vals); in dct_error()
271 init_block(block, test, is_idct, &prng, vals); in dct_error()
[all...]
/kernel/linux/linux-5.10/tools/perf/arch/x86/tests/
H A Dinsn-x86.c40 } vals[] = { in get_op() local
58 for (val = vals; val->name; val++) { in get_op()
73 } vals[] = { in get_branch() local
85 for (val = vals; val->name; val++) { in get_branch()
/kernel/linux/linux-6.6/tools/perf/arch/x86/tests/
H A Dinsn-x86.c42 } vals[] = { in get_op() local
63 for (val = vals; val->name; val++) { in get_op()
78 } vals[] = { in get_branch() local
90 for (val = vals; val->name; val++) { in get_branch()
/third_party/curl/lib/
H A Dldap.c607 BerValue **vals; in ldap_do() local
624 vals = ldap_get_values_len(server, entryIterator, attribute); in ldap_do()
625 if(vals) { in ldap_do()
626 for(i = 0; (vals[i] != NULL); i++) { in ldap_do()
629 ldap_value_free_len(vals); in ldap_do()
640 ldap_value_free_len(vals); in ldap_do()
651 ldap_value_free_len(vals); in ldap_do()
663 result = Curl_base64_encode(vals[i]->bv_val, vals[i]->bv_len, in ldap_do()
666 ldap_value_free_len(vals); in ldap_do()
[all...]
/kernel/linux/linux-6.6/drivers/base/regmap/
H A Dregmap-ram.c23 data->vals[reg] = val; in regmap_ram_write()
33 *val = data->vals[reg]; in regmap_ram_read()
43 kfree(data->vals); in regmap_ram_free_context()
/kernel/linux/linux-5.10/drivers/cpufreq/
H A Ds3c24xx-cpufreq.c628 struct cpufreq_frequency_table *vals; in s3c_plltab_register() local
631 size = sizeof(*vals) * (plls_no + 1); in s3c_plltab_register()
633 vals = kzalloc(size, GFP_KERNEL); in s3c_plltab_register()
634 if (vals) { in s3c_plltab_register()
635 memcpy(vals, plls, size); in s3c_plltab_register()
636 pll_reg = vals; in s3c_plltab_register()
640 vals += plls_no; in s3c_plltab_register()
641 vals->frequency = CPUFREQ_TABLE_END; in s3c_plltab_register()
647 return vals ? 0 : -ENOMEM; in s3c_plltab_register()
/third_party/skia/third_party/externals/swiftshader/src/Reactor/
H A DPrint.hpp155 // vals is a helper to build composite value lists.
156 // vals returns the full, sequential list of printf argument values used
158 // vals() is intended to be used by implementations of
159 // PrintValue::Ty<>::vals() to help declare aggregate types.
177 // return PrintValue::vals(v.a, v.b, v.c, v.d);
182 static std::vector<Value *> vals(ARGS... v) in vals() function in rr::PrintValue
340 // VPrintf emits a call to printf() using vals[0] as the format string,
341 // and vals[1..n] as the args.
342 void VPrintf(const std::vector<Value *> &vals);
347 void Printv(const char *function, const char *file, int line, const char *msg, std::initializer_list<PrintValue> vals);
359 Printv(const char *msg, std::initializer_list<PrintValue> vals) Printv() argument
367 Print(const char *msg, const ARGS &...vals) Print() argument
375 Print(const char *function, const char *file, int line, const char *msg, const ARGS &...vals) Print() argument
[all...]
/foundation/arkui/ace_engine/frameworks/core/gestures/
H A Dvelocity_tracker.cpp45 std::optional<bool> GetMononicity(const std::vector<double>& vals, uint32_t valSize) in GetMononicity() argument
48 for (uint32_t i = vals.size() - valSize + 1; i < vals.size(); ++i) { in GetMononicity()
49 double delta = vals[i] - vals[i - 1]; in GetMononicity()
/third_party/ffmpeg/libavcodec/
H A Dlsp.c228 void ff_sort_nearly_sorted_floats(float *vals, int len) in ff_sort_nearly_sorted_floats() argument
233 for (j = i; j >= 0 && vals[j] > vals[j+1]; j--) in ff_sort_nearly_sorted_floats()
234 FFSWAP(float, vals[j], vals[j+1]); in ff_sort_nearly_sorted_floats()
/kernel/linux/linux-5.10/drivers/pinctrl/
H A Dpinctrl-single.c83 * @vals: register and vals array
84 * @nvals: number of entries in vals array
93 struct pcs_func_vals *vals; member
385 struct pcs_func_vals *vals; in pcs_set_mux() local
389 vals = &func->vals[i]; in pcs_set_mux()
391 val = pcs->read(vals->reg); in pcs_set_mux()
394 mask = vals->mask; in pcs_set_mux()
399 val |= (vals in pcs_set_mux()
776 pcs_add_function(struct pcs_device *pcs, struct pcs_function **fcn, const char *name, struct pcs_func_vals *vals, unsigned int nvals, const char **pgnames, unsigned int npgnames) pcs_add_function() argument
1003 struct pcs_func_vals *vals; pcs_parse_one_pinctrl_entry() local
1117 struct pcs_func_vals *vals; pcs_parse_bits_in_pinctrl_entry() local
[all...]
/kernel/linux/linux-6.6/drivers/pinctrl/
H A Dpinctrl-single.c82 * @vals: register and vals array
83 * @nvals: number of entries in vals array
92 struct pcs_func_vals *vals; member
384 struct pcs_func_vals *vals; in pcs_set_mux() local
388 vals = &func->vals[i]; in pcs_set_mux()
390 val = pcs->read(vals->reg); in pcs_set_mux()
393 mask = vals->mask; in pcs_set_mux()
398 val |= (vals in pcs_set_mux()
775 pcs_add_function(struct pcs_device *pcs, struct pcs_function **fcn, const char *name, struct pcs_func_vals *vals, unsigned int nvals, const char **pgnames, unsigned int npgnames) pcs_add_function() argument
1004 struct pcs_func_vals *vals; pcs_parse_one_pinctrl_entry() local
1118 struct pcs_func_vals *vals; pcs_parse_bits_in_pinctrl_entry() local
[all...]
/third_party/skia/third_party/externals/freetype/src/psaux/
H A Dpsintrp.c342 CF2_Fixed vals[14]; in cf2_doFlex() local
348 vals[0] = *curX; in cf2_doFlex()
349 vals[1] = *curY; in cf2_doFlex()
356 vals[i + 2] = vals[i]; in cf2_doFlex()
358 vals[i + 2] = ADD_INT32( vals[i + 2], cf2_stack_getReal( opStack, in cf2_doFlex()
363 vals[9 + 2] = *curY; in cf2_doFlex()
368 cf2_fixedAbs( SUB_INT32( vals[10], *curX ) ) > in cf2_doFlex()
369 cf2_fixedAbs( SUB_INT32( vals[1 in cf2_doFlex()
[all...]
/third_party/mesa3d/src/freedreno/rnn/
H A Drnndec.c50 if (!strcasecmp(en->vals[i]->name, variant)) { in rnndec_varadd()
131 struct rnnvalue **vals, int valsnum, uint64_t value) in rnndec_decode_enum_val()
135 if (rnndec_varmatch(ctx, &vals[i]->varinfo) && in rnndec_decode_enum_val()
136 vals[i]->valvalid && vals[i]->value == value) in rnndec_decode_enum_val()
137 return vals[i]->name; in rnndec_decode_enum_val()
145 return rnndec_decode_enum_val(ctx, en->vals, en->valsnum, enumval); in rnndec_decode_enum()
163 struct rnnvalue **vals; in rnndec_decodeval() local
179 vals = ti->eenum->vals; in rnndec_decodeval()
130 rnndec_decode_enum_val(struct rnndeccontext *ctx, struct rnnvalue **vals, int valsnum, uint64_t value) rnndec_decode_enum_val() argument
[all...]
/third_party/rust/crates/clap/clap_complete/src/shells/
H A Dbash.rs200 if let Some(vals) = crate::generator::utils::possible_values(o) { in vals_for()
203 vals.iter() in vals_for()
227 if let Some(vals) = utils::possible_values(pos) { in all_options_for_path()
228 for value in vals { in all_options_for_path()
/third_party/rust/crates/nix/src/
H A Dmacros.rs291 $($vals:tt)*
303 $($vals)*
311 $($vals:tt)*
325 $($vals)*
/third_party/lzma/CPP/7zip/UI/Common/
H A DSortUtils.cpp21 unsigned *vals = &indices[0]; in SortFileNames() local
23 vals[i] = i; in SortFileNames()
/third_party/skia/src/core/
H A DSkVM.cpp2658 std::vector<llvm::Value*> vals(instructions.size());
2698 vals[i] = b->CreateSub(b->CreateVectorSplat(K, n),
2701 vals[i] = n;
2709 vals[i] = b->CreateZExt(
2714 case Op::splat: vals[i] = llvm::ConstantInt::get(I32, immA); break;
2722 vals[i] = I32->isVectorTy() ? b->CreateVectorSplat(K, val)
2736 llvm::Value* ptr = b->CreateInBoundsGEP(t, base, vals[x]);
2746 vals[i] = b->CreateZExt(gathered, I32);
2753 llvm::Value* val = b->CreateTrunc(vals[x], t);
2756 vals[
[all...]
/kernel/linux/linux-5.10/drivers/phy/hisilicon/
H A Dphy-histb-combphy.c198 u32 vals[3]; in histb_combphy_probe() local
225 vals, ARRAY_SIZE(vals)); in histb_combphy_probe()
232 mode->reg = vals[0]; in histb_combphy_probe()
233 mode->shift = vals[1]; in histb_combphy_probe()
234 mode->mask = vals[2]; in histb_combphy_probe()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
H A Dintel_dp_aux_backlight.c115 u8 vals[2] = { 0x0 }; in intel_dp_aux_set_backlight() local
117 vals[0] = level; in intel_dp_aux_set_backlight()
121 vals[0] = (level & 0xFF00) >> 8; in intel_dp_aux_set_backlight()
122 vals[1] = (level & 0xFF); in intel_dp_aux_set_backlight()
125 vals, sizeof(vals)) < 0) { in intel_dp_aux_set_backlight()

Completed in 24 milliseconds

12345678910>>...22