Home
last modified time | relevance | path

Searched refs:vals (Results 1 - 25 of 508) sorted by relevance

12345678910>>...21

/third_party/libunwind/libunwind/tests/
H A DGia64-test-nat.c51 typedef void save_func_t (void *funcs, unsigned long *vals);
52 typedef unw_word_t *check_func_t (unw_cursor_t *c, unsigned long *vals);
207 check_static_to_stacked (unw_cursor_t *c, unw_word_t *vals) in check_static_to_stacked() argument
216 vals -= 4; in check_static_to_stacked()
233 (vals[i] & 1) ? '*' : ' ', vals[i]); in check_static_to_stacked()
235 if (vals[i] & 1) in check_static_to_stacked()
244 if (r[i] != vals[i]) in check_static_to_stacked()
246 __FUNCTION__, 4 + i, r[i], vals[i]); in check_static_to_stacked()
249 return vals; in check_static_to_stacked()
253 check_static_to_fr(unw_cursor_t *c, unw_word_t *vals) check_static_to_fr() argument
290 check_static_to_br(unw_cursor_t *c, unw_word_t *vals) check_static_to_br() argument
326 check_static_to_mem(unw_cursor_t *c, unw_word_t *vals) check_static_to_mem() argument
362 check_static_to_memN(unw_cursor_t *c, unw_word_t *vals, const char *func) check_static_to_memN() argument
398 check_static_to_mem2(unw_cursor_t *c, unw_word_t *vals) check_static_to_mem2() argument
404 check_static_to_mem3(unw_cursor_t *c, unw_word_t *vals) check_static_to_mem3() argument
410 check_static_to_mem4(unw_cursor_t *c, unw_word_t *vals) check_static_to_mem4() argument
416 check_static_to_mem5(unw_cursor_t *c, unw_word_t *vals) check_static_to_mem5() argument
422 check_static_to_scratch(unw_cursor_t *c, unw_word_t *vals) check_static_to_scratch() argument
501 check_pr(unw_cursor_t *c, unw_word_t *vals) check_pr() argument
539 check_rotate_regs(unw_cursor_t *c, unw_word_t *vals) check_rotate_regs() argument
547 start_checks(void *funcs, unsigned long *vals) start_checks() argument
[all...]
/kernel/linux/linux-5.10/kernel/trace/
H A Dsynth_event_gen_test.c48 u64 vals[7]; in test_gen_synth_cmd() local
113 vals[0] = 777; /* next_pid_field */ in test_gen_synth_cmd()
114 vals[1] = (u64)(long)"hula hoops"; /* next_comm_field */ in test_gen_synth_cmd()
115 vals[2] = 1000000; /* ts_ns */ in test_gen_synth_cmd()
116 vals[3] = 1000; /* ts_ms */ in test_gen_synth_cmd()
117 vals[4] = raw_smp_processor_id(); /* cpu */ in test_gen_synth_cmd()
118 vals[5] = (u64)(long)"thneed"; /* my_string_field */ in test_gen_synth_cmd()
119 vals[6] = 598; /* my_int_field */ in test_gen_synth_cmd()
122 ret = synth_event_trace_array(gen_synth_test, vals, ARRAY_SIZE(vals)); in test_gen_synth_cmd()
139 u64 vals[7]; test_empty_synth_event() local
255 u64 vals[9]; test_create_synth_event() local
[all...]
/kernel/linux/linux-6.6/kernel/trace/
H A Dsynth_event_gen_test.c48 u64 vals[7]; in test_gen_synth_cmd() local
113 vals[0] = 777; /* next_pid_field */ in test_gen_synth_cmd()
114 vals[1] = (u64)(long)"hula hoops"; /* next_comm_field */ in test_gen_synth_cmd()
115 vals[2] = 1000000; /* ts_ns */ in test_gen_synth_cmd()
116 vals[3] = 1000; /* ts_ms */ in test_gen_synth_cmd()
117 vals[4] = raw_smp_processor_id(); /* cpu */ in test_gen_synth_cmd()
118 vals[5] = (u64)(long)"thneed"; /* my_string_field */ in test_gen_synth_cmd()
119 vals[6] = 598; /* my_int_field */ in test_gen_synth_cmd()
122 ret = synth_event_trace_array(gen_synth_test, vals, ARRAY_SIZE(vals)); in test_gen_synth_cmd()
139 u64 vals[7]; test_empty_synth_event() local
255 u64 vals[9]; test_create_synth_event() local
[all...]
/kernel/linux/linux-6.6/tools/perf/tests/
H A Dparse-metric.c33 static void load_runtime_stat(struct evlist *evlist, struct value *vals) in load_runtime_stat() argument
40 count = find_value(evsel->name, vals); in load_runtime_stat()
68 static int __compute_metric(const char *name, struct value *vals, in __compute_metric() argument
108 load_runtime_stat(evlist, vals); in __compute_metric()
125 static int compute_metric(const char *name, struct value *vals, double *ratio) in compute_metric() argument
127 return __compute_metric(name, vals, name, ratio, NULL, NULL); in compute_metric()
130 static int compute_metric_group(const char *name, struct value *vals, in compute_metric_group() argument
134 return __compute_metric(name, vals, name1, ratio1, name2, ratio2); in compute_metric_group()
140 struct value vals[] = { in test_ipc() local
147 compute_metric("IPC", vals, in test_ipc()
157 struct value vals[] = { test_frontend() local
176 struct value vals[] = { test_cache_miss_cycles() local
216 struct value vals[] = { test_dcache_l2() local
243 struct value vals[] = { test_recursion_fail() local
260 struct value vals[] = { test_memory_bandwidth() local
277 struct value vals[] = { test_metric_group() local
[all...]
/kernel/linux/linux-5.10/tools/perf/tests/
H A Dparse-metric.c102 struct value *vals) in load_runtime_stat()
108 count = find_value(evsel->name, vals); in load_runtime_stat()
133 static int __compute_metric(const char *name, struct value *vals, in __compute_metric() argument
174 load_runtime_stat(&st, evlist, vals); in __compute_metric()
192 static int compute_metric(const char *name, struct value *vals, double *ratio) in compute_metric() argument
194 return __compute_metric(name, vals, name, ratio, NULL, NULL); in compute_metric()
197 static int compute_metric_group(const char *name, struct value *vals, in compute_metric_group() argument
201 return __compute_metric(name, vals, name1, ratio1, name2, ratio2); in compute_metric_group()
207 struct value vals[] = { in test_ipc() local
214 compute_metric("IPC", vals, in test_ipc()
101 load_runtime_stat(struct runtime_stat *st, struct evlist *evlist, struct value *vals) load_runtime_stat() argument
224 struct value vals[] = { test_frontend() local
243 struct value vals[] = { test_cache_miss_cycles() local
283 struct value vals[] = { test_dcache_l2() local
310 struct value vals[] = { test_recursion_fail() local
327 struct value vals[] = { test_metric_group() local
[all...]
/third_party/cups-filters/cupsfilters/
H A Dlut.c54 float vals[4]; /* Values */ in cupsLutLoad() local
78 vals[0] = 0.0; in cupsLutLoad()
79 vals[1] = 0.0; in cupsLutLoad()
80 vals[2] = 0.0; in cupsLutLoad()
81 vals[3] = 0.0; in cupsLutLoad()
82 nvals = sscanf(attr->value, "%f%f%f", vals + 1, vals + 2, vals + 3) + 1; in cupsLutLoad()
85 name, vals[0], vals[ in cupsLutLoad()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
H A Dverifier_subprog_precision.c12 int vals[] SEC(".data.vals") = {1, 2, 3, 4};
61 * r6 -> r1 -> r0 chain), as index into vals array, forcing in subprog_result_precise()
65 "r1 = %[vals];" in subprog_result_precise()
74 : __imm_ptr(vals) in subprog_result_precise()
98 * we need to clamp it), as index into vals array, forcing r0 in global_subprog_result_precise()
105 "r1 = %[vals];" in global_subprog_result_precise()
114 : __imm_ptr(vals), in global_subprog_result_precise()
115 __imm_const(vals_arr_sz, ARRAY_SIZE(vals)) in global_subprog_result_precise()
174 "r1 = %[vals];" in callback_result_precise()
[all...]
/third_party/ffmpeg/libavcodec/
H A Dmss4.c306 #define MKVAL(vals) ((vals)[0] | ((vals)[1] << 3) | ((vals)[2] << 6))
327 int vals[3] = { 0 }; in mss4_decode_image_block() local
353 vals[0] = vals[1] = vals[2] = 0; in mss4_decode_image_block()
362 vals[0] = prev_mode[i] & 7; in mss4_decode_image_block()
363 vals[ in mss4_decode_image_block()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/gpio/
H A Dgpio-mockup-cdev.c48 struct gpio_v2_line_values vals; in get_value_v2() local
51 memset(&vals, 0, sizeof(vals)); in get_value_v2()
52 vals.mask = 1; in get_value_v2()
53 ret = ioctl(lfd, GPIO_V2_LINE_GET_VALUES_IOCTL, &vals); in get_value_v2()
56 return vals.bits & 0x1; in get_value_v2()
81 struct gpiohandle_data vals; in get_value_v1() local
84 memset(&vals, 0, sizeof(vals)); in get_value_v1()
85 ret = ioctl(lfd, GPIOHANDLE_GET_LINE_VALUES_IOCTL, &vals); in get_value_v1()
[all...]
/third_party/backends/backend/
H A Dcanon_pp.c779 cmodes[cs->vals[opt]]); in sane_control_option()
783 depths[cs->vals[opt]]); in sane_control_option()
786 *((int *)val) = res600[cs->vals[opt]]; in sane_control_option()
789 *((int *)val) = cs->vals[opt]; in sane_control_option()
802 i = cs->vals[opt]; in sane_control_option()
803 cs->vals[opt] = 1; in sane_control_option()
807 while ((cs->vals[opt] <= maxresi) && in sane_control_option()
808 (res600[cs->vals[opt]] in sane_control_option()
811 cs->vals[opt] += 1; in sane_control_option()
814 if (res600[cs->vals[op in sane_control_option()
[all...]
/kernel/linux/linux-6.6/sound/soc/fsl/
H A Dfsl_ssi.c406 struct fsl_ssi_regvals *vals = ssi->regvals; in fsl_ssi_config_enable() local
427 srcr = vals[RX].srcr | vals[TX].srcr; in fsl_ssi_config_enable()
428 stcr = vals[RX].stcr | vals[TX].stcr; in fsl_ssi_config_enable()
429 sier = vals[RX].sier | vals[TX].sier; in fsl_ssi_config_enable()
432 srcr = vals[dir].srcr; in fsl_ssi_config_enable()
433 stcr = vals[dir].stcr; in fsl_ssi_config_enable()
434 sier = vals[di in fsl_ssi_config_enable()
509 struct fsl_ssi_regvals *vals, *avals; fsl_ssi_config_disable() local
588 struct fsl_ssi_regvals *vals = ssi->regvals; fsl_ssi_setup_regvals() local
810 struct fsl_ssi_regvals *vals = ssi->regvals; fsl_ssi_hw_params() local
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
H A Dqueue_stack_map.c13 __u32 vals[MAP_SIZE], duration, retval, size, val; in test_queue_stack_map_by_type() local
21 vals[i] = rand(); in test_queue_stack_map_by_type()
44 err = bpf_map_update_elem(map_in_fd, NULL, &vals[i], 0); in test_queue_stack_map_by_type()
54 val = vals[i]; in test_queue_stack_map_by_type()
55 pkt_v4.iph.saddr = vals[i] * 5; in test_queue_stack_map_by_type()
57 val = vals[MAP_SIZE - 1 - i]; in test_queue_stack_map_by_type()
58 pkt_v4.iph.saddr = vals[MAP_SIZE - 1 - i] * 5; in test_queue_stack_map_by_type()
84 if (err || val != vals[i] * 5) in test_queue_stack_map_by_type()
88 CHECK(i != MAP_SIZE && (err || val != vals[i] * 5), in test_queue_stack_map_by_type()
/third_party/skia/third_party/skcms/
H A Dskcms.cc397 m->vals[r][c] = read_big_fixed(values);
433 return read_tag_xyz(rXYZ, &toXYZ->vals[0][0], &toXYZ->vals[1][0], &toXYZ->vals[2][0]) &&
434 read_tag_xyz(gXYZ, &toXYZ->vals[0][1], &toXYZ->vals[1][1], &toXYZ->vals[2][1]) &&
435 read_tag_xyz(bXYZ, &toXYZ->vals[0][2], &toXYZ->vals[1][2], &toXYZ->vals[
[all...]
/kernel/linux/linux-5.10/arch/c6x/platforms/
H A Ddscr.c296 u32 vals[3]; in dscr_parse_silicon_rev() local
299 err = of_property_read_u32_array(node, "ti,dscr-silicon-rev", vals, 3); in dscr_parse_silicon_rev()
301 c6x_silicon_rev = soc_readl(base + vals[0]); in dscr_parse_silicon_rev()
302 c6x_silicon_rev >>= vals[1]; in dscr_parse_silicon_rev() local
303 c6x_silicon_rev &= vals[2]; in dscr_parse_silicon_rev()
327 u32 vals[10], fuse; in dscr_parse_mac_fuse() local
331 vals, 10); in dscr_parse_mac_fuse()
336 fuse = soc_readl(base + vals[f * 5]); in dscr_parse_mac_fuse()
338 if (vals[j] && vals[ in dscr_parse_mac_fuse()
368 u32 vals[2]; dscr_parse_privperm() local
431 u32 vals[4]; dscr_parse_kick_regs() local
[all...]
/third_party/node/deps/v8/tools/mb/
H A Dmb.py300 vals = self.Lookup()
301 return self.RunGNAnalyze(vals)
332 vals = self.Lookup()
333 return self.RunGNGen(vals)
342 vals = self.GetConfig()
343 if not vals:
348 vals = self.Lookup()
349 gn_args = self.GNArgs(vals, expand_imports=self.args.recursive)
361 vals = self.GetConfig()
362 if not vals
[all...]
/kernel/linux/linux-6.6/fs/smb/server/
H A Dsmb2ops.c200 conn->vals = &smb21_server_values; in init_smb2_1_server()
207 conn->vals->capabilities |= SMB2_GLOBAL_CAP_LEASING; in init_smb2_1_server()
217 conn->vals = &smb30_server_values; in init_smb3_0_server()
224 conn->vals->capabilities |= SMB2_GLOBAL_CAP_LEASING | in init_smb3_0_server()
229 conn->vals->capabilities |= SMB2_GLOBAL_CAP_ENCRYPTION; in init_smb3_0_server()
232 conn->vals->capabilities |= SMB2_GLOBAL_CAP_MULTI_CHANNEL; in init_smb3_0_server()
242 conn->vals = &smb302_server_values; in init_smb3_02_server()
249 conn->vals->capabilities |= SMB2_GLOBAL_CAP_LEASING | in init_smb3_02_server()
255 conn->vals->capabilities |= SMB2_GLOBAL_CAP_ENCRYPTION; in init_smb3_02_server()
258 conn->vals in init_smb3_02_server()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/kvm/
H A Dguest_print_test.c23 static struct guest_vals vals; variable
58 vals = (struct guest_vals){ (uint64_t)a, (uint64_t)b, TYPE_##ext }; \
59 sync_global_to_guest(vcpu->vm, vals); \
71 switch (vals.type) { in guest_code()
74 GUEST_PRINTF(PRINTF_FMT_##ext, vals.a, vals.b); \ in guest_code()
75 __GUEST_ASSERT(vals.a == vals.b, \ in guest_code()
76 ASSERT_FMT_##ext, vals.a, vals in guest_code()
[all...]
/third_party/skia/samplecode/
H A DSampleCusp.cpp130 SkScalar vals[9]; variable
131 vals[0] = linearToLoop(3000, 0, 1);
132 vals[1] = linearToLoop(4000, .25, 1.25);
133 vals[2] = 200;
134 vals[3] = linearToLoop(5000, .5, 1.5);
135 vals[4] = linearToLoop(7000, .75, 1.75);
136 vals[5] = 300;
137 vals[6] = 0;
138 vals[7] = 0;
139 vals[
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/
H A Dqueue_stack_map.c13 __u32 vals[MAP_SIZE], val; in test_queue_stack_map_by_type() local
28 vals[i] = rand(); in test_queue_stack_map_by_type()
51 err = bpf_map_update_elem(map_in_fd, NULL, &vals[i], 0); in test_queue_stack_map_by_type()
61 val = vals[i]; in test_queue_stack_map_by_type()
62 pkt_v4.iph.saddr = vals[i] * 5; in test_queue_stack_map_by_type()
64 val = vals[MAP_SIZE - 1 - i]; in test_queue_stack_map_by_type()
65 pkt_v4.iph.saddr = vals[MAP_SIZE - 1 - i] * 5; in test_queue_stack_map_by_type()
97 ASSERT_EQ(val, vals[i] * 5, "bpf_map_push_elem val"); in test_queue_stack_map_by_type()
/kernel/linux/linux-5.10/sound/soc/fsl/
H A Dfsl_ssi.c401 struct fsl_ssi_regvals *vals = ssi->regvals; in fsl_ssi_config_enable() local
422 srcr = vals[RX].srcr | vals[TX].srcr; in fsl_ssi_config_enable()
423 stcr = vals[RX].stcr | vals[TX].stcr; in fsl_ssi_config_enable()
424 sier = vals[RX].sier | vals[TX].sier; in fsl_ssi_config_enable()
427 srcr = vals[dir].srcr; in fsl_ssi_config_enable()
428 stcr = vals[dir].stcr; in fsl_ssi_config_enable()
429 sier = vals[di in fsl_ssi_config_enable()
504 struct fsl_ssi_regvals *vals, *avals; fsl_ssi_config_disable() local
583 struct fsl_ssi_regvals *vals = ssi->regvals; fsl_ssi_setup_regvals() local
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt7601u/
H A Dinit.c174 u32 *vals; in mt7601u_init_wcid_mem() local
177 vals = kmalloc(sizeof(*vals) * N_WCIDS * 2, GFP_KERNEL); in mt7601u_init_wcid_mem()
178 if (!vals) in mt7601u_init_wcid_mem()
182 vals[i * 2] = 0xffffffff; in mt7601u_init_wcid_mem()
183 vals[i * 2 + 1] = 0x00ffffff; in mt7601u_init_wcid_mem()
187 vals, N_WCIDS * 2); in mt7601u_init_wcid_mem()
188 kfree(vals); in mt7601u_init_wcid_mem()
195 u32 vals[4] = {}; in mt7601u_init_key_mem() local
198 vals, ARRAY_SIZ in mt7601u_init_key_mem()
203 u32 *vals; mt7601u_init_wcid_attr_mem() local
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt7601u/
H A Dinit.c174 u32 *vals; in mt7601u_init_wcid_mem() local
177 vals = kmalloc(sizeof(*vals) * N_WCIDS * 2, GFP_KERNEL); in mt7601u_init_wcid_mem()
178 if (!vals) in mt7601u_init_wcid_mem()
182 vals[i * 2] = 0xffffffff; in mt7601u_init_wcid_mem()
183 vals[i * 2 + 1] = 0x00ffffff; in mt7601u_init_wcid_mem()
187 vals, N_WCIDS * 2); in mt7601u_init_wcid_mem()
188 kfree(vals); in mt7601u_init_wcid_mem()
195 u32 vals[4] = {}; in mt7601u_init_key_mem() local
198 vals, ARRAY_SIZ in mt7601u_init_key_mem()
203 u32 *vals; mt7601u_init_wcid_attr_mem() local
[all...]
/kernel/linux/linux-6.6/drivers/iio/imu/bno055/
H A Dbno055.c117 int *vals; member
130 .vals = bno055_acc_lpf_vals,
142 .vals = bno055_acc_range_vals,
174 .vals = bno055_gyr_scale_vals,
183 .vals = bno055_gyr_lpf_vals,
192 .vals = bno055_mag_odr_vals,
570 *val = attr->vals[idx]; in bno055_get_regmask()
572 *val = attr->vals[idx * 2]; in bno055_get_regmask()
573 *val2 = attr->vals[idx * 2 + 1]; in bno055_get_regmask()
619 tbl_val = attr->vals[ in bno055_set_regmask()
761 bno055_sysfs_attr_avail(struct bno055_priv *priv, struct bno055_sysfs_attr *attr, const int **vals, int *length) bno055_sysfs_attr_avail() argument
779 bno055_read_avail(struct iio_dev *indio_dev, struct iio_chan_spec const *chan, const int **vals, int *type, int *length, long mask) bno055_read_avail() argument
844 bno055_read_quaternion(struct iio_dev *indio_dev, struct iio_chan_spec const *chan, int size, int *vals, int *val_len, long mask) bno055_read_quaternion() argument
901 _bno055_read_raw_multi(struct iio_dev *indio_dev, struct iio_chan_spec const *chan, int size, int *vals, int *val_len, long mask) _bno055_read_raw_multi() argument
943 bno055_read_raw_multi(struct iio_dev *indio_dev, struct iio_chan_spec const *chan, int size, int *vals, int *val_len, long mask) bno055_read_raw_multi() argument
[all...]
/third_party/qrcodegen/java-fast/io/nayuki/fastqrcodegen/
H A DBitBuffer.java101 // word array and given bit length. Requires 0 <= len <= 32 * vals.length.
102 public void appendBits(int[] vals, int len) { in appendBits() argument
103 Objects.requireNonNull(vals); in appendBits()
106 if (len < 0 || len > vals.length * 32L) in appendBits()
110 if (tailBits > 0 && vals[wholeWords] << tailBits != 0) in appendBits()
120 System.arraycopy(vals, 0, data, bitLength / 32, (len + 31) / 32); in appendBits()
124 int word = vals[i]; in appendBits()
130 appendBits(vals[wholeWords] >>> (32 - tailBits), tailBits); in appendBits()
/kernel/linux/linux-5.10/fs/cifs/
H A Dfs_context.c45 vol->vals = &smb1_values; in cifs_parse_smb_version()
57 vol->vals = &smb20_values; in cifs_parse_smb_version()
69 vol->vals = &smb21_values; in cifs_parse_smb_version()
73 vol->vals = &smb30_values; in cifs_parse_smb_version()
77 vol->vals = &smb302_values; in cifs_parse_smb_version()
81 vol->vals = &smb311_values; in cifs_parse_smb_version()
85 vol->vals = &smb3any_values; in cifs_parse_smb_version()
89 vol->vals = &smbdefault_values; in cifs_parse_smb_version()

Completed in 17 milliseconds

12345678910>>...21