Home
last modified time | relevance | path

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

12345678910>>...35

/netbsd/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
24 sample/https-client.c \
25 sample/hostcheck.c \
[all …]
/netbsd/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
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
73 atf_check touch sample.c
[all …]
/netbsd/sys/arch/shark/shark/
H A Dprofile.c617 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()
652 sample = first; in profEnter()
659 if (sample != first) in profEnter()
678 if (sample->pc == lr) in profEnter()
681 sample->counts[count]++; in profEnter()
706 i, sample->pc, sample->next, sample->counts[0], in displayTable()
[all …]
/netbsd/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/sys/external/bsd/drm2/dist/drm/i915/
H A Di915_pmu.c264 sample->cur += val; in add_sample()
476 switch (sample) { in engine_event_status()
522 u8 sample; in engine_event_init() local
598 val = engine->pmu.sample[sample].cur; in __i915_pmu_event_read()
691 GEM_BUG_ON(sample >= ARRAY_SIZE(engine->pmu.sample)); in i915_pmu_enable()
694 engine->pmu.enable |= BIT(sample); in i915_pmu_enable()
729 GEM_BUG_ON(sample >= ARRAY_SIZE(engine->pmu.sample)); in i915_pmu_disable()
870 .sample = (__sample), \
937 engine_events[i].sample)) in create_event_attributes()
990 engine_events[i].sample)) in create_event_attributes()
[all …]
/netbsd/external/bsd/libevent/dist/
H A DMakefile.in191 sample/http-server$(EXEEXT) sample/http-connect$(EXEEXT) \
192 sample/signal-test$(EXEEXT) sample/time-test$(EXEEXT) \
353 sample/hostcheck.c sample/openssl_hostname_validation.c
1202 SAMPLES = sample/dns-example sample/event-read-fifo sample/hello-world \
1203 sample/http-server sample/http-connect sample/signal-test \
1584 sample/time-test.$(OBJEXT): sample/$(am__dirstamp) \
1889 sample/https_client-hostcheck.o: sample/hostcheck.c
1896 sample/https_client-hostcheck.obj: sample/hostcheck.c
1917 sample/le_proxy-le-proxy.o: sample/le-proxy.c
1924 sample/le_proxy-le-proxy.obj: sample/le-proxy.c
[all …]
/netbsd/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/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/external/mpl/bind/dist/bin/tests/system/dyndb/driver/
H A DMakefile.in41 SO_TARGETS = lib/sample.@SO@
50 lib/sample.@SO@: sample.@SO@
52 ${LIBTOOL_MODE_INSTALL} ${INSTALL} sample.@SO@ `pwd`/lib
54 sample.@SO@: ${OBJS} ${DNSDEPLIBS} ${ISCDEPLIBS}
60 rm -f ${OBJS} sample.so lib/sample.so
/netbsd/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/usr.sbin/tprof/
H A Dtprof_analyze.c206 tprof_sample_t sample; in tprof_analyze() local
207 size_t n = fread(&sample, sizeof(sample), 1, f); in tprof_analyze()
218 if (filter_by_pid && (pid_t)sample.s_pid != target_pid) { in tprof_analyze()
221 in_kernel = (sample.s_flags & TPROF_SAMPLE_INKERNEL) != 0; in tprof_analyze()
227 a->addr = (uint64_t)sample.s_pc; in tprof_analyze()
229 a->pid = sample.s_pid; in tprof_analyze()
234 a->lwpid = sample.s_lwpid; in tprof_analyze()
239 a->cpuid = sample.s_cpuid; in tprof_analyze()
253 c = __SHIFTOUT(sample.s_flags, TPROF_SAMPLE_COUNTER_MASK); in tprof_analyze()
/netbsd/external/bsd/tcpdump/dist/tests/
H A Dsflow_multiple_counter_30_pdus.out3 expanded counter sample (4), length 172, seqnum 87096, type 0, idx 55, records 2
15 expanded counter sample (4), length 172, seqnum 87096, type 0, idx 56, records 2
27 expanded counter sample (4), length 172, seqnum 87099, type 0, idx 57, records 2
39 expanded counter sample (4), length 172, seqnum 87096, type 0, idx 60, records 2
51 expanded counter sample (4), length 172, seqnum 87016, type 0, idx 61, records 2
63 expanded counter sample (4), length 172, seqnum 87096, type 0, idx 62, records 2
75 expanded counter sample (4), length 172, seqnum 87096, type 0, idx 63, records 2
89 expanded counter sample (4), length 172, seqnum 2007195, type 0, idx 1, records 2
101 expanded counter sample (4), length 172, seqnum 2006745, type 0, idx 2, records 2
865 counter sample (2), length 424, seqnum 304697, type 2, idx 1, records 6
[all …]
/netbsd/external/ibm-public/postfix/dist/conf/
H A Dpostfix-files245 $sample_directory/sample-auth.cf:f:root:-:644:o
248 $sample_directory/sample-debug.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
255 $sample_directory/sample-mime.cf:f:root:-:644:o
256 $sample_directory/sample-misc.cf:f:root:-:644:o
262 $sample_directory/sample-rate.cf:f:root:-:644:o
270 $sample_directory/sample-smtp.cf:f:root:-:644:o
[all …]
/netbsd/external/bsd/ntp/dist/ntpd/
H A Drefclock_irig.c419 double sample; /* codec sample */ in irig_receive() local
437 sample = up->comp[~*dpt++ & 0xff]; in irig_receive()
453 irig_rf(peer, sample); in irig_receive()
454 irig_rf(peer, sample); in irig_receive()
456 irig_rf(peer, sample); in irig_receive()
459 sample = fabs(sample); in irig_receive()
460 if (sample > up->signal) in irig_receive()
461 up->signal = sample; in irig_receive()
537 up->bpf[0] = sample - irig_b; in irig_rf()
558 up->lpf[0] = sample - irig_e; in irig_rf()
[all …]
/netbsd/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/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/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/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/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/sys/dev/i2c/
H A Dsensirion_voc_algorithm.c315 VocAlgorithmParams* params, fix16_t sample);
333 fix16_t sample);
671 VocAlgorithmParams* params, fix16_t sample) { in VocAlgorithm__mean_variance_estimator___sigmoid__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()
780 params->m_Adaptive_Lowpass___X2 = sample; in VocAlgorithm__adaptive_lowpass__process()
781 params->m_Adaptive_Lowpass___X3 = sample; in VocAlgorithm__adaptive_lowpass__process()
787 (fix16_mul(params->m_Adaptive_Lowpass__A1, sample))); in VocAlgorithm__adaptive_lowpass__process()
[all …]
/netbsd/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);
/netbsd/external/cddl/dtracetoolkit/dist/Bin/
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);
/netbsd/external/gpl3/gdb/dist/gdb/nat/
H A Dlinux-btrace.c253 perf_event_sample_ok (const struct perf_event_sample *sample) in perf_event_sample_ok() argument
255 if (sample->header.type != PERF_RECORD_SAMPLE) in perf_event_sample_ok()
258 if (sample->header.size != sizeof (*sample)) in perf_event_sample_ok()
282 struct perf_event_sample sample; in perf_event_read_bts() local
296 read = sizeof (sample) - 1; in perf_event_read_bts()
298 for (; read < size; read += sizeof (sample)) in perf_event_read_bts()
303 start -= sizeof (sample); in perf_event_read_bts()
319 if (missing == sizeof (sample)) in perf_event_read_bts()
327 stack = (uint8_t *) &sample; in perf_event_read_bts()
331 memcpy (stack + missing, begin, sizeof (sample) - missing); in perf_event_read_bts()
[all …]
/netbsd/external/gpl3/gdb.old/dist/gdb/nat/
H A Dlinux-btrace.c253 perf_event_sample_ok (const struct perf_event_sample *sample) in perf_event_sample_ok() argument
255 if (sample->header.type != PERF_RECORD_SAMPLE) in perf_event_sample_ok()
258 if (sample->header.size != sizeof (*sample)) in perf_event_sample_ok()
282 struct perf_event_sample sample; in perf_event_read_bts() local
296 read = sizeof (sample) - 1; in perf_event_read_bts()
298 for (; read < size; read += sizeof (sample)) in perf_event_read_bts()
303 start -= sizeof (sample); in perf_event_read_bts()
319 if (missing == sizeof (sample)) in perf_event_read_bts()
327 stack = (uint8_t *) &sample; in perf_event_read_bts()
331 memcpy (stack + missing, begin, sizeof (sample) - missing); in perf_event_read_bts()
[all …]
/netbsd/crypto/dist/ipsec-tools/src/setkey/
H A DMakefile.am21 EXTRA_DIST = ${man8_MANS} sample-policy01.cf sample-policy02.cf sample.cf

12345678910>>...35