Searched refs:samples (Results 1 - 25 of 40) sorted by last modified time

12

/freebsd-11-stable/sys/dev/sound/pcm/
H A Ddsp.c1906 * interruption. (I.e., record unplayed samples with intent to
1930 * OSSv4 docs: "This ioctl call discards all unplayed samples in the
1932 * before the point where the device is currently reading the samples."
1960 * returns, this driver is about 32K samples behind whereas
1961 * 4Front's is about 8K samples behind. Should determine source
1979 oc->samples = (sndbuf_gettotal(b) + tmp) / sndbuf_getalign(b);
1982 oc->samples = sndbuf_gettotal(bs) / sndbuf_getalign(bs);
3096 * operates with 44100Hz/16bit/signed samples).
/freebsd-11-stable/contrib/llvm-project/compiler-rt/include/sanitizer/
H A Dnetbsd_syscall_hooks.h255 #define __sanitizer_syscall_pre_profil(samples, size, offset, scale) \
256 __sanitizer_syscall_pre_impl_profil((long long)(samples), (long long)(size), \
258 #define __sanitizer_syscall_post_profil(res, samples, size, offset, scale) \
259 __sanitizer_syscall_post_impl_profil(res, (long long)(samples), \
2929 void __sanitizer_syscall_pre_impl_profil(long long samples, long long size,
2931 void __sanitizer_syscall_post_impl_profil(long long res, long long samples,
/freebsd-11-stable/usr.bin/gprof/
H A Dgprof.h191 * and then an array of ncnt samples representing the
206 * a count of the number of samples in its range
208 EXTERN double *samples; variable
214 EXTERN unsigned sampbytes; /* number of bytes of samples */
215 EXTERN int nsamples; /* number of samples */
220 EXTERN double scale; /* scale factor converting samples to pc
H A Dgprof.c202 * assign samples to procedures
363 * dump the samples
365 if (fwrite(samples, histcounter_size, nsamples, sfile) != nsamples)
409 if (samples == 0) {
410 samples = (double *) calloc(nsamples, sizeof(double));
411 if (samples == NULL)
420 samples[i] += *(int8_t *)&sample;
423 samples[i] += *(u_int8_t *)&sample;
426 samples[i] += *(int16_t *)&sample;
429 samples[
[all...]
/freebsd-11-stable/contrib/tcpdump/
H A Dprint-sflow.c52 * | num samples in datagram |
64 uint8_t samples[4]; member in struct:sflow_datagram_t
914 nsamples=EXTRACT_32BITS(sflow_datagram->samples);
915 ND_PRINT((ndo, "sFlowv%u, %s agent %s, agent-id %u, seqnum %u, uptime %u, samples %u, length %u",
/freebsd-11-stable/contrib/tcsh/
H A Dsh.hist.c427 generateHashes(int nChars, unsigned nWords, unsigned samples, unsigned *hashes, argument
461 unsigned timeLimit = !samples;
462 if (samples == 0)
463 samples = 1000000000;
466 for (i = 0; i < samples; i++) {
488 if (i >= samples)
491 samples = i; /* number we actually did */
494 samples, nChars, w+1, hashFcnName, (int)((sec/samples)*1e9),
495 (int)((double)samples*nChar
[all...]
/freebsd-11-stable/sys/dev/iwn/
H A Dif_iwn.c2237 /* Read samples for each TX power group. */
2241 /* Read voltage at which samples were taken. */
2248 /* Print samples. */
2273 chans[0].samples[c][j].temp,
2274 chans[0].samples[c][j].gain,
2275 chans[0].samples[c][j].power,
2276 chans[0].samples[c][j].pa_det);
2284 chans[1].samples[c][j].temp,
2285 chans[1].samples[c][j].gain,
2286 chans[1].samples[
[all...]
/freebsd-11-stable/sys/dev/wpi/
H A Dif_wpivar.h109 struct wpi_power_sample samples[WPI_SAMPLES_COUNT]; member in struct:wpi_power_group
/freebsd-11-stable/contrib/ntp/sntp/libevent/
H A Dconfigure1472 --disable-samples, skip building of sample programs
5099 # Check whether --enable-samples was given.
/freebsd-11-stable/sys/netpfil/ipfw/
H A Dip_dn_io.c571 * number of bits for the given data rate. The samples are
584 bits = div64((uint64_t)pf->samples[index] * s->link.bandwidth, 1000);
/freebsd-11-stable/sys/compat/freebsd32/
H A Dfreebsd32_systrace_args.c304 uarg[0] = (intptr_t) p->samples; /* caddr_t */
/freebsd-11-stable/sys/sys/
H A Dsysproto.h192 char samples_l_[PADL_(caddr_t)]; caddr_t samples; char samples_r_[PADR_(caddr_t)]; member in struct:profil_args
/freebsd-11-stable/sbin/ipfw/
H A Ddummynet.c532 printf("\t profile: name \"%s\" loss %f samples %d\n",
721 * samples N
722 * the number of samples used in the internal
744 * specified in the "samples" line. ipfw will sort and interpolate
750 samples 100
761 * samples, and when it is time to transmit a packet we will
767 #define ED_TOK_SAMPLES "samples"
875 int samples = -1; local
916 if (samples > 0)
917 errx(ED_EFMT("duplicate ``samples'' lin
[all...]
/freebsd-11-stable/usr.sbin/pmcstat/
H A Dpmcpl_calltree.c30 * Process hwpmc(4) samples as calltree.
159 * Initialize a samples.
163 pmcpl_ct_samples_init(struct pmcpl_ct_sample *samples) argument
166 samples->npmcs = 0;
167 samples->sb = NULL;
171 * Free a samples.
175 pmcpl_ct_samples_free(struct pmcpl_ct_sample *samples) argument
178 samples->npmcs = 0;
179 free(samples->sb);
180 samples
188 pmcpl_ct_samples_grow(struct pmcpl_ct_sample *samples) argument
211 pmcpl_ct_samples_root(struct pmcpl_ct_sample *samples) argument
[all...]
/freebsd-11-stable/sys/kern/
H A Dsystrace_args.c301 uarg[0] = (intptr_t) p->samples; /* caddr_t */
/freebsd-11-stable/contrib/ntp/libntp/
H A Daudio.c513 "audio: samples %d, eof %d, pause %d, error %d, waiting %d, balance %d\n",
514 info.record.samples, info.record.eof,
/freebsd-11-stable/sys/arm/ti/
H A Dti_adc.c230 /* Set the samples average. */
232 val |= input->samples << ADC_STEP_AVG_SHIFT;
361 int error, samples, i; local
368 if (input->samples > nitems(ti_adc_samples))
369 input->samples = nitems(ti_adc_samples);
370 samples = ti_adc_samples[input->samples];
372 error = sysctl_handle_int(oidp, &samples, 0, req);
377 if (samples != ti_adc_samples[input->samples]) {
[all...]
H A Dti_adcvar.h67 int32_t samples; /* samples average */ member in struct:ti_adc_input
/freebsd-11-stable/tools/tools/ath/athsurvey/
H A Dathsurvey.c89 * Skip samples with no cycle count
91 if (hs->samples[i].cycle_count == 0)
98 cycle_count = hs->samples[i].cycle_count;
105 tx = (float) hs->samples[i].tx_busy * 100.0 /
106 hs->samples[i].cycle_count;
107 rx = (float) hs->samples[i].rx_busy * 100.0 /
108 hs->samples[i].cycle_count;
109 cc = (float) hs->samples[i].chan_busy * 100.0 /
110 hs->samples[i].cycle_count;
111 cext = (float) hs->samples[
[all...]
/freebsd-11-stable/gnu/usr.bin/groff/tmac/
H A DMakefile15 MLINKS+= groff_mdoc.7 mdoc.samples.7
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/ustack/
H A Dtst.spin.ksh47 * Toss out the first 100 samples to wait for the program to enter
101 die "too few samples (\$count)\n" unless \$count >= 1000;
/freebsd-11-stable/contrib/ntp/lib/isc/
H A Dentropy.c78 * Size of the input event queue in samples.
118 isc_uint32_t nsamples; /*%< number of samples filled in */
119 isc_uint32_t *samples; /*%< the samples */ member in struct:__anon4815
120 isc_uint32_t *extra; /*%< extra samples added in */
195 REQUIRE(sq->samples != NULL);
198 isc_mem_put(ent->mctx, sq->samples, RND_EVENTQSIZE * 4);
200 sq->samples = NULL;
206 sq->samples = isc_mem_get(ent->mctx, RND_EVENTQSIZE * 4);
207 if (sq->samples
[all...]
/freebsd-11-stable/contrib/ntp/util/
H A Dtg.c64 #define SECOND 8000 /* one second of 125-us samples */
230 void delay(int); /* delay samples */
641 int delay /* delay in samples */
644 int samples; /* samples remaining */ local
646 samples = delay;
648 while (samples >= BUFLNG) {
650 samples -= BUFLNG;
652 write(fd, buffer, samples);
H A Dtg2.c102 * showed 8000 samples/sec, now as specified on command line.
238 #define SECOND (8000) /* one second of 125-us samples */
499 void delay(int); /* delay samples */
2376 int Delay /* delay in samples */
2379 int samples; /* samples remaining */ local
2381 samples = Delay;
2383 while (samples >= BUFLNG) {
2385 samples -= BUFLNG;
2387 write(fd, buffer, samples);
[all...]
/freebsd-11-stable/contrib/ntp/ntpd/
H A Drefclock_msfees.c199 /* Limits on things. Reduce the number of samples to SAMPLEREDUCE by median
254 u_char nsamples; /* number of samples we've collected */
266 u_char usealldata; /* Use ALL samples */
1239 /* ees_process - process a pile of samples from the clock */
1252 int samples = ees->nsamples; local
1254 int samplereduce = (samples + 1) / 2;
1261 samplelog = (samples < 2) ? 0 :
1262 (samples < 5) ? 1 :
1263 (samples < 9) ? 2 :
1264 (samples < 1
[all...]

Completed in 305 milliseconds

12