Home
last modified time | relevance | path

Searched refs:vals (Results 26 - 50 of 508) sorted by relevance

12345678910>>...21

/kernel/linux/linux-5.10/drivers/iio/orientation/
H A Dhid-sensor-rotation.c59 int size, int *vals, int *val_len, in dev_rot_read_raw()
66 vals[0] = 0; in dev_rot_read_raw()
67 vals[1] = 0; in dev_rot_read_raw()
73 vals[i] = rot_state->sampled_vals[i]; in dev_rot_read_raw()
80 vals[0] = rot_state->scale_pre_decml; in dev_rot_read_raw()
81 vals[1] = rot_state->scale_post_decml; in dev_rot_read_raw()
85 *vals = rot_state->value_offset; in dev_rot_read_raw()
90 &rot_state->common_attributes, &vals[0], &vals[1]); in dev_rot_read_raw()
94 &rot_state->common_attributes, &vals[ in dev_rot_read_raw()
57 dev_rot_read_raw(struct iio_dev *indio_dev, struct iio_chan_spec const *chan, int size, int *vals, int *val_len, long mask) dev_rot_read_raw() argument
[all...]
/kernel/linux/linux-6.6/drivers/iio/orientation/
H A Dhid-sensor-rotation.c68 int size, int *vals, int *val_len, in dev_rot_read_raw()
75 vals[0] = 0; in dev_rot_read_raw()
76 vals[1] = 0; in dev_rot_read_raw()
82 vals[i] = rot_state->scan.sampled_vals[i]; in dev_rot_read_raw()
89 vals[0] = rot_state->scale_pre_decml; in dev_rot_read_raw()
90 vals[1] = rot_state->scale_post_decml; in dev_rot_read_raw()
94 *vals = rot_state->value_offset; in dev_rot_read_raw()
99 &rot_state->common_attributes, &vals[0], &vals[1]); in dev_rot_read_raw()
103 &rot_state->common_attributes, &vals[ in dev_rot_read_raw()
66 dev_rot_read_raw(struct iio_dev *indio_dev, struct iio_chan_spec const *chan, int size, int *vals, int *val_len, long mask) dev_rot_read_raw() argument
[all...]
/kernel/linux/linux-5.10/drivers/clk/uniphier/
H A Dclk-uniphier-mux.c18 const unsigned int *vals; member
28 mux->vals[index]); in uniphier_clk_mux_set_parent()
44 if ((mux->masks[i] & val) == mux->vals[i]) in uniphier_clk_mux_get_parent()
78 mux->vals = data->vals; in uniphier_clk_register_mux()
/kernel/linux/linux-6.6/drivers/clk/uniphier/
H A Dclk-uniphier-mux.c18 const unsigned int *vals; member
28 mux->vals[index]); in uniphier_clk_mux_set_parent()
44 if ((mux->masks[i] & val) == mux->vals[i]) in uniphier_clk_mux_get_parent()
78 mux->vals = data->vals; in uniphier_clk_register_mux()
/third_party/skia/tools/skottie-wasm-perf/
H A Dparse_perf_csvs.py39 vals = [float(i) for i in v[1:]]
40 vals.sort()
42 vals = vals[NUM_OUTLIERS_TO_REMOVE:-NUM_OUTLIERS_TO_REMOVE]
44 avg_val = reduce(lambda x, y: x+y, vals) / float(len(vals))
/third_party/skia/src/core/
H A DSkColorSpace.cpp31 if (!color_space_almost_equal(mA.vals[r][c], mB.vals[r][c])) { in xyz_almost_equal()
334 memcpy(&toXYZ.vals[0][0], (const float*)data + 0, 3 * sizeof(float)); in Deserialize()
335 memcpy(&toXYZ.vals[1][0], (const float*)data + 4, 3 * sizeof(float)); in Deserialize()
336 memcpy(&toXYZ.vals[2][0], (const float*)data + 8, 3 * sizeof(float)); in Deserialize()
374 memcpy(&toXYZ.vals[0][0], (const float*)data + 0, 3 * sizeof(float)); in Deserialize()
375 memcpy(&toXYZ.vals[1][0], (const float*)data + 4, 3 * sizeof(float)); in Deserialize()
376 memcpy(&toXYZ.vals[2][0], (const float*)data + 8, 3 * sizeof(float)); in Deserialize()
414 float X = x->fToXYZD50.vals[r][c], in Equals()
415 Y = y->fToXYZD50.vals[ in Equals()
[all...]
H A DSkColorSpaceXformSteps.cpp44 this->src_to_dst_matrix[0] = src_to_dst.vals[0][0]; in SkColorSpaceXformSteps()
45 this->src_to_dst_matrix[1] = src_to_dst.vals[1][0]; in SkColorSpaceXformSteps()
46 this->src_to_dst_matrix[2] = src_to_dst.vals[2][0]; in SkColorSpaceXformSteps()
48 this->src_to_dst_matrix[3] = src_to_dst.vals[0][1]; in SkColorSpaceXformSteps()
49 this->src_to_dst_matrix[4] = src_to_dst.vals[1][1]; in SkColorSpaceXformSteps()
50 this->src_to_dst_matrix[5] = src_to_dst.vals[2][1]; in SkColorSpaceXformSteps()
52 this->src_to_dst_matrix[6] = src_to_dst.vals[0][2]; in SkColorSpaceXformSteps()
53 this->src_to_dst_matrix[7] = src_to_dst.vals[1][2]; in SkColorSpaceXformSteps()
54 this->src_to_dst_matrix[8] = src_to_dst.vals[2][2]; in SkColorSpaceXformSteps()
/kernel/linux/linux-6.6/drivers/iio/
H A Dinkern.c566 int vals[INDIO_MAX_RAW_ELEMENTS]; in iio_channel_read() local
579 vals, &val_len, info); in iio_channel_read()
580 *val = vals[0]; in iio_channel_read()
581 *val2 = vals[1]; in iio_channel_read()
801 const int **vals, int *type, int *length, in iio_channel_read_avail()
808 vals, type, length, info); in iio_channel_read_avail()
812 const int **vals, int *type, int *length, in iio_read_avail_channel_attribute()
824 ret = iio_channel_read_avail(chan, vals, type, length, attribute); in iio_read_avail_channel_attribute()
833 const int **vals, int *length) in iio_read_avail_channel_raw()
838 ret = iio_read_avail_channel_attribute(chan, vals, in iio_read_avail_channel_raw()
800 iio_channel_read_avail(struct iio_channel *chan, const int **vals, int *type, int *length, enum iio_chan_info_enum info) iio_channel_read_avail() argument
811 iio_read_avail_channel_attribute(struct iio_channel *chan, const int **vals, int *type, int *length, enum iio_chan_info_enum attribute) iio_read_avail_channel_attribute() argument
832 iio_read_avail_channel_raw(struct iio_channel *chan, const int **vals, int *length) iio_read_avail_channel_raw() argument
853 const int *vals; iio_channel_read_max() local
916 const int *vals; iio_channel_read_min() local
[all...]
H A Dindustrialio-core.c635 int size, const int *vals) in __iio_format_value()
643 return sysfs_emit_at(buf, offset, "%d", vals[0]); in __iio_format_value()
648 if (vals[1] < 0) in __iio_format_value()
650 abs(vals[0]), -vals[1], in __iio_format_value()
653 return sysfs_emit_at(buf, offset, "%d.%06u%s", vals[0], in __iio_format_value()
654 vals[1], scale_db ? " dB" : ""); in __iio_format_value()
656 if (vals[1] < 0) in __iio_format_value()
658 abs(vals[0]), -vals[ in __iio_format_value()
634 __iio_format_value(char *buf, size_t offset, unsigned int type, int size, const int *vals) __iio_format_value() argument
712 iio_format_value(char *buf, unsigned int type, int size, int *vals) iio_format_value() argument
746 int vals[INDIO_MAX_RAW_ELEMENTS]; iio_read_channel_info() local
765 iio_format_list(char *buf, const int *vals, int type, int length, const char *prefix, const char *suffix) iio_format_list() argument
800 iio_format_avail_list(char *buf, const int *vals, int type, int length) iio_format_avail_list() argument
807 iio_format_avail_range(char *buf, const int *vals, int type) iio_format_avail_range() argument
834 const int *vals; iio_read_channel_info_avail() local
[all...]
/third_party/rust/crates/clap/src/parser/matches/
H A Dmatched_arg.rs20 vals: Vec<Vec<AnyValue>>,
32 vals: Vec::new(),
44 vals: Vec::new(),
60 vals: Vec::new(),
78 pub(crate) fn vals(&self) -> Iter<Vec<AnyValue>> {
79 self.vals.iter()
83 self.vals
87 self.vals.iter().flatten()
91 self.vals.into_iter().flatten()
112 self.vals
[all...]
/kernel/linux/linux-6.6/drivers/base/regmap/
H A Dregmap-kunit.c90 (*data)->vals = buf; in gen_regmap()
315 KUNIT_EXPECT_MEMEQ(test, data->vals, rval, sizeof(rval)); in reg_defaults()
349 KUNIT_EXPECT_MEMEQ(test, data->vals, rval, sizeof(rval)); in reg_defaults_read_dev()
396 KUNIT_EXPECT_EQ(test, data->vals[i], rval[i] + 1); in register_patch()
400 KUNIT_EXPECT_EQ(test, data->vals[i], rval[i]); in register_patch()
439 KUNIT_EXPECT_EQ(test, data->vals[i], rval); in stride()
552 unsigned int rval, *vals; in stress_insert() local
565 vals = kunit_kcalloc(test, sizeof(unsigned long), config.max_register, in stress_insert()
567 KUNIT_ASSERT_FALSE(test, vals == NULL); in stress_insert()
570 get_random_bytes(vals, buf_s in stress_insert()
[all...]
/third_party/node/deps/npm/node_modules/cli-table3/src/
H A Dlayout-manager.js194 return function (vals, table) {
208 vals.forEach(function (val, index) {
220 let editableCols = typeof vals[col] === 'number' ? 0 : 1;
224 if (typeof vals[col + i] !== 'number') {
238 if (typeof vals[col + i] !== 'number') {
249 Object.assign(vals, result, auto);
250 for (let j = 0; j < vals.length; j++) {
251 vals[j] = Math.max(forcedMin, vals[j] || 0);
/third_party/skia/tests/
H A DSkNxTest.cpp19 float vals[4]; in test_Nf()
20 v.store(vals); in test_Nf()
21 bool ok = close(vals[0], a) && close(vals[1], b) in test_Nf()
25 ok = close(vals[2], c) && close(vals[3], d) in test_Nf()
34 float vals[] = {3, 4, 5, 6}; in test_Nf() local
35 SkNx<N,float> a = SkNx<N,float>::Load(vals), in test_Nf()
80 T vals[8]; in test_Ni()
81 v.store(vals); in test_Ni()
105 T vals[] = { 1,2,3,4,5,6,7,8 }; test_Ni() local
[all...]
/third_party/skia/docs/examples/
H A DDCIToXYZD50.cpp22 SkDebugf("%f %f %f\n", toXYZ.vals[i][0], toXYZ.vals[i][1], toXYZ.vals[i][2]); in REG_FIDDLE()
/kernel/linux/linux-5.10/drivers/iio/
H A Dinkern.c504 int vals[INDIO_MAX_RAW_ELEMENTS]; in iio_channel_read() local
517 vals, &val_len, info); in iio_channel_read()
518 *val = vals[0]; in iio_channel_read()
519 *val2 = vals[1]; in iio_channel_read()
720 const int **vals, int *type, int *length, in iio_channel_read_avail()
727 vals, type, length, info); in iio_channel_read_avail()
731 const int **vals, int *type, int *length, in iio_read_avail_channel_attribute()
742 ret = iio_channel_read_avail(chan, vals, type, length, attribute); in iio_read_avail_channel_attribute()
751 const int **vals, int *length) in iio_read_avail_channel_raw()
756 ret = iio_read_avail_channel_attribute(chan, vals, in iio_read_avail_channel_raw()
719 iio_channel_read_avail(struct iio_channel *chan, const int **vals, int *type, int *length, enum iio_chan_info_enum info) iio_channel_read_avail() argument
730 iio_read_avail_channel_attribute(struct iio_channel *chan, const int **vals, int *type, int *length, enum iio_chan_info_enum attribute) iio_read_avail_channel_attribute() argument
750 iio_read_avail_channel_raw(struct iio_channel *chan, const int **vals, int *length) iio_read_avail_channel_raw() argument
772 const int *vals; iio_channel_read_max() local
[all...]
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/tools/testing/selftests/arm64/pauth/
H A Dpac.c72 size_t vals[nkeys]; in n_same_single_set() local
75 vals[0] = sign->keyia & PAC_MASK; in n_same_single_set()
76 vals[1] = sign->keyib & PAC_MASK; in n_same_single_set()
77 vals[2] = sign->keyda & PAC_MASK; in n_same_single_set()
78 vals[3] = sign->keydb & PAC_MASK; in n_same_single_set()
81 vals[4] = sign->keyg & PAC_MASK; in n_same_single_set()
85 if (vals[i] == vals[j]) in n_same_single_set()
/kernel/linux/linux-6.6/tools/testing/selftests/arm64/pauth/
H A Dpac.c72 size_t vals[nkeys]; in n_same_single_set() local
75 vals[0] = sign->keyia & PAC_MASK; in n_same_single_set()
76 vals[1] = sign->keyib & PAC_MASK; in n_same_single_set()
77 vals[2] = sign->keyda & PAC_MASK; in n_same_single_set()
78 vals[3] = sign->keydb & PAC_MASK; in n_same_single_set()
81 vals[4] = sign->keyg & PAC_MASK; in n_same_single_set()
85 if (vals[i] == vals[j]) in n_same_single_set()
/third_party/node/deps/openssl/openssl/crypto/bn/
H A Dbn_ctx.c26 BIGNUM vals[BN_CTX_POOL_SIZE]; member
92 item->vals[bnidx++ % BN_CTX_POOL_SIZE].dmax); in ctxdbg()
170 BIO_printf(trc_out, "%02x ", pool->vals[loop++].dmax); in BN_CTX_free()
306 for (loop = 0, bn = p->head->vals; loop++ < BN_CTX_POOL_SIZE; bn++) in BN_POOL_finish()
329 for (loop = 0, bn = item->vals; loop++ < BN_CTX_POOL_SIZE; bn++) { in BN_POOL_get()
347 return item->vals; in BN_POOL_get()
354 return p->current->vals + ((p->used++) % BN_CTX_POOL_SIZE); in BN_POOL_get()
363 bn_check_top(p->current->vals + offset); in BN_POOL_release()
/third_party/openssl/crypto/bn/
H A Dbn_ctx.c26 BIGNUM vals[BN_CTX_POOL_SIZE]; member
92 item->vals[bnidx++ % BN_CTX_POOL_SIZE].dmax); in ctxdbg()
170 BIO_printf(trc_out, "%02x ", pool->vals[loop++].dmax); in BN_CTX_free()
306 for (loop = 0, bn = p->head->vals; loop++ < BN_CTX_POOL_SIZE; bn++) in BN_POOL_finish()
329 for (loop = 0, bn = item->vals; loop++ < BN_CTX_POOL_SIZE; bn++) { in BN_POOL_get()
347 return item->vals; in BN_POOL_get()
354 return p->current->vals + ((p->used++) % BN_CTX_POOL_SIZE); in BN_POOL_get()
363 bn_check_top(p->current->vals + offset); in BN_POOL_release()
/third_party/skia/experimental/graphite/src/geom/
H A DRect.h49 AI static Rect FromVals(float4 vals) { // vals.zw must already be negated. in FromVals() argument
50 return Rect(vals); in FromVals()
65 AI const float4& vals() const { return fVals; } // [left, top, -right, -bot]. in vals() function in skgpu::Rect
66 AI float4& vals() { return fVals; } // [left, top, -right, -bot]. in vals() function in skgpu::Rect
144 AI static float4 NegateBotRight(float4 vals) { // Returns [vals.xy, -vals.zw]. in NegateBotRight() argument
145 return skvx::bit_pun<float4>(skvx::bit_pun<uint4>(vals) ^ uint4(0, 0, 1u << 31, 1u << 31)); in NegateBotRight()
148 AI Rect(float4 vals) argument
[all...]
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()
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
H A Dlp_bld_nir_aos.c150 LLVMValueRef vals) in emit_store_var()
157 if (LLVMIsConstant(vals)) { in emit_store_var()
158 vals = lp_nir_aos_conv_const(gallivm, vals, num_components); in emit_store_var()
162 LLVMBuildStore(gallivm->builder, vals, bld->outputs[location]); in emit_store_var()
186 LLVMValueRef vals[NIR_MAX_VEC_COMPONENTS]) in emit_store_reg()
190 if (LLVMIsConstant(vals[0])) in emit_store_reg()
191 vals[0] = lp_nir_aos_conv_const(gallivm, vals[0], 1); in emit_store_reg()
194 LLVMBuildStore(gallivm->builder, vals[ in emit_store_reg()
141 emit_store_var(struct lp_build_nir_context *bld_base, nir_variable_mode deref_mode, unsigned num_components, unsigned bit_size, nir_variable *var, unsigned writemask, LLVMValueRef indir_vertex_index, unsigned const_index, LLVMValueRef indir_index, LLVMValueRef vals) emit_store_var() argument
180 emit_store_reg(struct lp_build_nir_context *bld_base, struct lp_build_context *reg_bld, const nir_reg_dest *reg, unsigned writemask, LLVMValueRef indir_src, LLVMValueRef reg_storage, LLVMValueRef vals[NIR_MAX_VEC_COMPONENTS]) emit_store_reg() argument
[all...]
/third_party/skia/tools/
H A Dbloaty_treemap.py68 vals = line.rstrip().split("\t")
69 if len(vals) != 4:
72 (filepath, symbol, vmsize, filesize) = vals
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_debugfs.c43 rxd->vals[0], rxd->vals[1]); in nfp_rx_q_show()
108 txd->vals[0], txd->vals[1], in nfp_tx_q_show()
109 txd->vals[2], txd->vals[3]); in nfp_tx_q_show()

Completed in 16 milliseconds

12345678910>>...21