Home
last modified time | relevance | path

Searched refs:sample (Results 1 – 25 of 789) sorted by relevance

12345678910>>...32

/netbsd-src/external/mit/isl/dist/
H A Disl_sample.c46 struct isl_vec *sample; in zero_sample() local
51 sample = isl_vec_alloc(bset->ctx, 1 + dim); in zero_sample()
52 if (sample) { in zero_sample()
53 isl_int_set_si(sample->el[0], 1); in zero_sample()
54 isl_seq_clr(sample->el + 1, dim); in zero_sample()
57 return sample; in zero_sample()
67 struct isl_vec *sample; in interval_sample() local
77 sample = isl_vec_alloc(bset->ctx, 2); in interval_sample()
78 if (!sample) in interval_sample()
82 isl_int_set_si(sample->block.data[0], 1); in interval_sample()
[all …]
H A Disl_affine_hull.c270 struct isl_vec *sample = NULL; in outside_point() local
279 sample = isl_vec_alloc(ctx, 1 + dim); in outside_point()
280 if (!sample) in outside_point()
282 isl_int_set_si(sample->el[0], 1); in outside_point()
283 isl_seq_combine(sample->el + 1, in outside_point()
284 ctx->one, tab->bmap->sample->el + 1, in outside_point()
286 if (isl_basic_map_contains(tab->bmap, sample)) in outside_point()
287 return sample; in outside_point()
288 isl_vec_free(sample); in outside_point()
289 sample = NULL; in outside_point()
[all …]
H A Dpolyhedron_sample.c19 struct isl_vec *sample; in main() local
23 sample = isl_basic_set_sample_vec(isl_basic_set_copy(bset)); in main()
25 p = isl_printer_print_vec(p, sample); in main()
28 assert(sample); in main()
29 if (isl_vec_size(sample) > 0) in main()
30 assert(isl_basic_set_contains(bset, sample)); in main()
32 isl_vec_free(sample); in main()
H A Disl_scan.c26 __isl_take isl_vec *sample) in increment_counter() argument
32 isl_vec_free(sample); in increment_counter()
57 struct isl_vec *sample; in add_solution() local
61 sample = isl_tab_get_sample_value(tab); in add_solution()
62 if (!sample) in add_solution()
65 return callback->add(callback, sample); in add_solution()
71 struct isl_vec *sample; in scan_0D() local
73 sample = isl_vec_alloc(bset->ctx, 1); in scan_0D()
76 if (!sample) in scan_0D()
79 isl_int_set_si(sample->el[0], 1); in scan_0D()
[all …]
H A Dpolytope_scan.c32 __isl_take isl_vec *sample) in scan_samples_add_sample() argument
42 sample->el, sample->size); in scan_samples_add_sample()
44 isl_vec_free(sample); in scan_samples_add_sample()
47 isl_vec_free(sample); in scan_samples_add_sample()
/netbsd-src/external/bsd/libevent/dist/sample/
H A Dinclude.am1 # sample/include.am for libevent
8 sample/dns-example \
9 sample/event-read-fifo \
10 sample/hello-world \
11 sample/http-server \
12 sample/http-connect \
13 sample/signal-test \
14 sample/time-test
17 SAMPLES += sample/le-proxy
18 sample_le_proxy_SOURCES = sample/le-proxy.c
[all …]
/netbsd-src/tests/usr.bin/mkdep/
H A Dt_mkdep.sh38 atf_check touch sample.c
40 atf_check mkdep -f sample.d -P some/path/ sample.c
41 atf_check -o ignore grep '^some/path/sample.o:' sample.d
51 atf_check touch sample.c
54 atf_check mkdep -f sample.d sample.c
55 atf_check -o ignore grep '^sample.o:' sample.d
58 atf_check mkdep -f sample.d -s '.a .b' sample.c
59 atf_check -o ignore grep '^sample.b sample.a:' sample.d
62 atf_check mkdep -f sample.d -s '' sample.c
63 atf_check -o ignore grep '^sample:' sample.d
[all …]
/netbsd-src/sys/arch/shark/shark/
H A Dprofile.c579 struct profHashEntry *sample; in profEnter() local
611 first = sample = &table->entries[index]; in profEnter()
615 while ( (sample->pc != lr) && (table->hdr.last < table->hdr.tableSize) ) in profEnter()
617 if (sample->pc == 0) in profEnter()
620 sample->pc = lr; in profEnter()
624 if (sample->next != 0) in profEnter()
627 prev = sample; in profEnter()
628 sample = &table->entries[sample->next]; in profEnter()
635 sample = &table->entries[table->hdr.last]; in profEnter()
639 memcpy(sample, first, sizeof(struct profHashEntry)); in profEnter()
[all …]
/netbsd-src/external/gpl3/binutils/dist/gprofng/common/
H A Dhwcfuncs.h77 hwc_sample_t sample[MAX_PICS]; /* counter samples or start values */ member
80 #define HWCFUNCS_SAMPLE_RESET(sample) \ argument
82 (sample)->smpl_pc =HWCFUNCS_INVALID_U64; \
83 (sample)->smpl_data_source =HWCFUNCS_INVALID_U64; \
84 (sample)->smpl_latency =HWCFUNCS_INVALID_U64; \
85 (sample)->smpl_mem_addr =HWCFUNCS_INVALID_U64; \
88 #define HWCFUNCS_SAMPLE_IS_RESET(sample) \ argument
90 (sample)->smpl_pc ==HWCFUNCS_INVALID_U64 && \
91 (sample)->smpl_data_source==HWCFUNCS_INVALID_U64 && \
92 (sample)->smpl_latency ==HWCFUNCS_INVALID_U64 && \
[all …]
/netbsd-src/external/gpl3/binutils.old/dist/gprofng/common/
H A Dhwcfuncs.h77 hwc_sample_t sample[MAX_PICS]; /* counter samples or start values */ member
80 #define HWCFUNCS_SAMPLE_RESET(sample) \ argument
82 (sample)->smpl_pc =HWCFUNCS_INVALID_U64; \
83 (sample)->smpl_data_source =HWCFUNCS_INVALID_U64; \
84 (sample)->smpl_latency =HWCFUNCS_INVALID_U64; \
85 (sample)->smpl_mem_addr =HWCFUNCS_INVALID_U64; \
88 #define HWCFUNCS_SAMPLE_IS_RESET(sample) \ argument
90 (sample)->smpl_pc ==HWCFUNCS_INVALID_U64 && \
91 (sample)->smpl_data_source==HWCFUNCS_INVALID_U64 && \
92 (sample)->smpl_latency ==HWCFUNCS_INVALID_U64 && \
[all …]
/netbsd-src/sys/external/bsd/drm2/dist/drm/i915/
H A Di915_pmu.c169 pmu->sample[__I915_SAMPLE_RC6].cur = val; in get_rc6()
179 val += pmu->sample[__I915_SAMPLE_RC6].cur; in get_rc6()
182 if (val < pmu->sample[__I915_SAMPLE_RC6_LAST_REPORTED].cur) in get_rc6()
183 val = pmu->sample[__I915_SAMPLE_RC6_LAST_REPORTED].cur; in get_rc6()
185 pmu->sample[__I915_SAMPLE_RC6_LAST_REPORTED].cur = val; in get_rc6()
197 pmu->sample[__I915_SAMPLE_RC6].cur = __get_rc6(&i915->gt); in park_rc6()
262 add_sample(struct i915_pmu_sample *sample, u32 val) in add_sample() argument
264 sample->cur += val; in add_sample()
312 add_sample(&pmu->sample[I915_SAMPLE_WAIT], period_ns); in engines_sample()
314 add_sample(&pmu->sample[I915_SAMPLE_SEMA], period_ns); in engines_sample()
[all …]
/netbsd-src/external/bsd/libevent/dist/
H A DMakefile.in137 @OPENSSL_TRUE@am__append_7 = sample/le-proxy sample/https-client
140 @OPENSSL_TRUE@ sample/hostcheck.h \
141 @OPENSSL_TRUE@ sample/openssl_hostname_validation.h
187 @OPENSSL_TRUE@am__EXEEXT_2 = sample/le-proxy$(EXEEXT) \
188 @OPENSSL_TRUE@ sample/https-client$(EXEEXT)
189 am__EXEEXT_3 = sample/dns-example$(EXEEXT) \
190 sample/event-read-fifo$(EXEEXT) sample/hello-world$(EXEEXT) \
191 sample/http-server$(EXEEXT) sample/http-connect$(EXEEXT) \
192 sample/signal-test$(EXEEXT) sample/time-test$(EXEEXT) \
336 am_sample_dns_example_OBJECTS = sample/dns-example.$(OBJEXT)
[all …]
/netbsd-src/sys/arch/x68k/usr.bin/bellctrl/
H A DMakefile5 all: bellctrl sample.fm
7 sample.fm: sample_fm.c
8 $(CC) -c -o sample.aout ${.CURDIR}/sample_fm.c
9 strip sample.aout
10 dd bs=1 skip=32 count=52 if=sample.aout of=$@
11 rm sample.aout
17 CLEANFILES+=sample.fm
/netbsd-src/external/bsd/ntp/dist/tests/libntp/
H A Dhumandate.c27 time_t sample = 1276601278; in test_RegularTime() local
31 tm = localtime(&sample); in test_RegularTime()
36 TEST_ASSERT_EQUAL_STRING(expected, humantime(sample)); in test_RegularTime()
44 time_t sample; in test_CurrentTime() local
48 time(&sample); in test_CurrentTime()
50 tm = localtime(&sample); in test_CurrentTime()
55 TEST_ASSERT_EQUAL_STRING(expected, humantime(sample)); in test_CurrentTime()
/netbsd-src/share/examples/racoon/
H A DMakefile10 FILES= psk.txt.sample racoon.conf.sample \
11 racoon.conf.sample-gssapi racoon.conf.sample-inherit \
12 racoon.conf.sample-natt racoon.conf.sample-plainrsa \
/netbsd-src/usr.sbin/tprof/
H A Dtprof_analyze.c204 tprof_sample_t sample; in tprof_analyze()
205 size_t n = fread(&sample, sizeof(sample), 1, f); in tprof_analyze()
216 if (filter_by_pid && (pid_t)sample.s_pid != target_pid) { in tprof_analyze()
219 in_kernel = (sample.s_flags & TPROF_SAMPLE_INKERNEL) != 0; in tprof_analyze()
225 a->addr = (uint64_t)sample.s_pc; in tprof_analyze()
227 a->pid = sample.s_pid; in tprof_analyze()
232 a->lwpid = sample.s_lwpid; in tprof_analyze()
237 a->cpuid = sample.s_cpuid; in tprof_analyze()
251 c = __SHIFTOUT(sample in tprof_analyze()
206 tprof_sample_t sample; tprof_analyze() local
[all...]
/netbsd-src/external/ibm-public/postfix/dist/conf/
H A Dpostfix-files244 $sample_directory/sample-aliases.cf:f:root:-:644:o
245 $sample_directory/sample-auth.cf:f:root:-:644:o
246 $sample_directory/sample-canonical.cf:f:root:-:644:o
247 $sample_directory/sample-compatibility.cf:f:root:-:644:o
248 $sample_directory/sample-debug.cf:f:root:-:644:o
249 $sample_directory/sample-filter.cf:f:root:-:644:o
250 $sample_directory/sample-flush.cf:f:root:-:644:o
251 $sample_directory/sample-ipv6.cf:f:root:-:644:o
252 $sample_directory/sample-ldap.cf:f:root:-:644:o
253 $sample_directory/sample-lmtp.cf:f:root:-:644:o
[all …]
/netbsd-src/sys/external/bsd/drm2/include/linux/
H A Daverage.h50 ewma_##NAME##_add(struct ewma_##NAME *ewma, unsigned long sample) \
55 sample <<= (PREC); \
57 ewma->ewma_state = sample; \
60 ewma->ewma_state = (((state << shift) - state) + sample) >> shift; \
/netbsd-src/external/gpl3/binutils/dist/gprofng/src/
H A DOvw_data.cc161 Sample *sample = (Sample*) packets->getObjValue (PROP_SMPLOBJ, index); in Ovw_data() local
162 extract_data (ovw_item, sample); in Ovw_data()
163 hr2timestruc (&ovw_item->start, sample->get_start_time () - exp_start); in Ovw_data()
164 hr2timestruc (&ovw_item->end, sample->get_end_time () - exp_start); in Ovw_data()
168 ovw_item->number = sample->get_number (); in Ovw_data()
169 ovw_item->start_label = sample->get_start_label (); in Ovw_data()
170 ovw_item->end_label = sample->get_end_label (); in Ovw_data()
190 Ovw_data::extract_data (Ovw_data::Ovw_item *ovw_item, Sample *sample) in extract_data() argument
198 PrUsage *prusage = sample->get_usage (); in extract_data()
/netbsd-src/external/gpl3/binutils.old/dist/gprofng/src/
H A DOvw_data.cc161 Sample *sample = (Sample*) packets->getObjValue (PROP_SMPLOBJ, index); in Ovw_data() local
162 extract_data (ovw_item, sample); in Ovw_data()
163 hr2timestruc (&ovw_item->start, sample->get_start_time () - exp_start); in Ovw_data()
164 hr2timestruc (&ovw_item->end, sample->get_end_time () - exp_start); in Ovw_data()
168 ovw_item->number = sample->get_number (); in Ovw_data()
169 ovw_item->start_label = sample->get_start_label (); in Ovw_data()
170 ovw_item->end_label = sample->get_end_label (); in Ovw_data()
190 Ovw_data::extract_data (Ovw_data::Ovw_item *ovw_item, Sample *sample) in extract_data() argument
198 PrUsage *prusage = sample->get_usage (); in extract_data()
/netbsd-src/external/bsd/am-utils/dist/scripts/
H A DMakefile.am24 sysconf_DATA = amd.conf-sample lostaltmail.conf-sample
43 amd.conf-sample \
44 lostaltmail.conf-sample \
/netbsd-src/sys/lib/libkern/
H A Dentpool.c416 uint8_t sample[1] = {0xff}; in entpool_selftest() local
423 entpool_enter(P, sample, 1); in entpool_selftest()
436 entpool_enter(P, sample, 1); in entpool_selftest()
452 entpool_enter(P, sample, 1); in entpool_selftest()
470 entpool_enter(P, sample, 1); in entpool_selftest()
477 if (!entpool_enter_nostir(P, sample, 1)) in entpool_selftest()
491 if (entpool_enter_nostir(P, sample, 1)) in entpool_selftest()
509 if (entpool_enter_nostir(P, sample, 1)) in entpool_selftest()
528 if (!entpool_enter_nostir(P, sample, 1)) in entpool_selftest()
541 entpool_enter(P, sample, 1); in entpool_selftest()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/FuzzMutate/
H A DRandom.h53 template <typename RangeT> ReservoirSampler &sample(RangeT &&Items) { in sample() function
55 sample(I, 1); in sample()
60 ReservoirSampler &sample(const T &Item, uint64_t Weight) { in sample() function
77 RS.sample(Items); in makeSampler()
85 RS.sample(Item, Weight); in makeSampler()
/netbsd-src/sys/dev/i2c/
H A Dsensirion_voc_algorithm.c315 VocAlgorithmParams* params, fix16_t sample);
327 fix16_t sample);
333 fix16_t sample);
671 VocAlgorithmParams* params, fix16_t sample) { in VocAlgorithm__mean_variance_estimator___sigmoid__process() argument
676 (sample - params->m_Mean_Variance_Estimator___Sigmoid__X0))); in VocAlgorithm__mean_variance_estimator___sigmoid__process()
722 fix16_t sample) { in VocAlgorithm__sigmoid_scaled__process() argument
728 (sample - F16(VocAlgorithm_SIGMOID_X0)))); in VocAlgorithm__sigmoid_scaled__process()
734 if ((sample >= F16(0.))) { in VocAlgorithm__sigmoid_scaled__process()
771 fix16_t sample) { in VocAlgorithm__adaptive_lowpass__process() argument
779 params->m_Adaptive_Lowpass___X1 = sample; in VocAlgorithm__adaptive_lowpass__process()
[all …]
/netbsd-src/external/cddl/dtracetoolkit/dist/Proc/
H A Dthreaded.d54 @sample[pid, execname] = lquantize(tid, 0, 128, 1);
63 printa("\n PID: %-8d CMD: %s\n%@d", @sample);
65 trunc(@sample);

12345678910>>...32