Searched refs:samples (Results 26 - 50 of 79) sorted by relevance

1234

/freebsd-current/sys/contrib/openzfs/cmd/zpool/zpool.d/
H A Dhealth36 # If you set $samples to a directory containing smartctl output text files,
39 # $samples is set, and additional 'file' column is added to the zpool output
41 samples=
81 if [ -b "$somepath" ] && PATH="/usr/sbin:$PATH" command -v smartctl > /dev/null || [ -n "$samples" ] ; then
82 if [ -n "$samples" ] ; then
85 file=$(get_filename_from_dir "$samples")
87 raw_out=$(cat "$samples/$file")
/freebsd-current/contrib/dialog/package/freebsd/
H A DMakefile40 @${FIND} ${WRKSRC}/samples/ -type f -exec ${REINPLACE_CMD} -i "" "s|dialog|cdialog|g" {} \;
44 cd ${WRKSRC}/samples && ${FIND} . | \
/freebsd-current/usr.bin/gprof/
H A Dgprof.c188 * assign samples to procedures
349 * dump the samples
351 if (fwrite(samples, histcounter_size, nsamples, sfile) != nsamples)
395 if (samples == 0) {
396 samples = (double *) calloc(nsamples, sizeof(double));
397 if (samples == NULL)
406 samples[i] += *(int8_t *)&sample;
409 samples[i] += *(u_int8_t *)&sample;
412 samples[i] += *(int16_t *)&sample;
415 samples[
[all...]
/freebsd-current/contrib/dialog/
H A Drun_test.sh37 CONFIG=samples
H A Dmakefile.in231 $(RM) samples/install/makefile
238 $(SHELL) -c "DIALOG=./$(PROG) ./run_test.sh $(srcdir)/samples"
/freebsd-current/share/examples/tests/tests/googletest/
H A DMakefile22 .PATH: ${SRCTOP}/contrib/googletest/googletest/samples
/freebsd-current/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-current/sys/arm64/rockchip/
H A Drk_i2s.c397 uint8_t *samples; local
405 samples = (uint8_t*)sndbuf_getbuf(play_buf);
408 val = (samples[readyptr++ % size] << 0);
409 val |= (samples[readyptr++ % size] << 8);
410 val |= (samples[readyptr++ % size] << 16);
411 val |= (samples[readyptr++ % size] << 24);
422 uint8_t *samples; local
427 samples = (uint8_t*)sndbuf_getbuf(rec_buf);
434 samples[freeptr++ % size] = val & 0xff;
435 samples[freept
[all...]
/freebsd-current/sys/contrib/zstd/lib/dictBuilder/
H A Dfastcover.c36 * There are 32bit indexes used to ref samples, so limit samples size to 4GB
104 unsigned finalize; /* Percentage of training samples used for ZDICT_finalizeDictionary */
128 const BYTE *samples; member in struct:__anon151
181 const size_t idx = FASTCOVER_hashPtrToIndex(ctx->samples + activeSegment.end, f, d);
193 const size_t delIndex = FASTCOVER_hashPtrToIndex(ctx->samples + activeSegment.begin, f, d);
211 const size_t delIndex = FASTCOVER_hashPtrToIndex(ctx->samples + activeSegment.begin, f, d);
220 const size_t i = FASTCOVER_hashPtrToIndex(ctx->samples + pos, f, d);
281 * Calculate for frequency of hash value of each dmer in ctx->samples
297 const size_t dmerIndex = FASTCOVER_hashPtrToIndex(ctx->samples
319 const BYTE* const samples = (const BYTE*)samplesBuffer; local
[all...]
H A Dcover.h94 const size_t *samplesSizes, const BYTE *samples,
H A Dcover.c44 * There are 32bit indexes used to ref samples, so limit samples size to 4GB
221 const BYTE *samples; member in struct:__anon144
261 return memcmp(ctx->samples + lhs, ctx->samples + rhs, ctx->d);
268 U64 const lhs = MEM_readLE64(ctx->samples + *(U32 const *)lp) & mask;
269 U64 const rhs = MEM_readLE64(ctx->samples + *(U32 const *)rp) & mask;
362 /* Count the number of samples this dmer shows up in */
552 const BYTE *const samples = (const BYTE *)samplesBuffer; local
554 /* Split samples int
795 COVER_checkTotalCompressedSize(const ZDICT_cover_params_t parameters, const size_t *samplesSizes, const BYTE *samples, size_t *offsets, size_t nbTrainSamples, size_t nbSamples, BYTE *const dict, size_t dictBufferCapacity) argument
[all...]
/freebsd-current/sys/arm/ti/
H A Dti_adcvar.h65 int32_t samples; /* samples average */ member in struct:ti_adc_input
H A Dti_adc.c227 /* Set the samples average. */
229 val |= input->samples << ADC_STEP_AVG_SHIFT;
358 int error, samples, i; local
365 if (input->samples > nitems(ti_adc_samples))
366 input->samples = nitems(ti_adc_samples);
367 samples = ti_adc_samples[input->samples];
369 error = sysctl_handle_int(oidp, &samples, 0, req);
374 if (samples != ti_adc_samples[input->samples]) {
[all...]
/freebsd-current/sys/dev/sound/pci/
H A Dhdspe-pcm.c444 unsigned int samples, unsigned int slots, unsigned int channels)
448 for (; samples > 0; samples--) {
459 unsigned int pos, unsigned int samples, unsigned int adat_width,
479 buffer_mux_write(dma, pcm, pos, samples, 2, channels);
481 buffer_mux_write(dma, pcm, pos, samples, 4, channels);
483 buffer_mux_write(dma, pcm, pos, samples, 8, channels);
485 buffer_mux_write(dma, pcm, pos, samples, slots, channels);
490 unsigned int samples, unsigned int slots, unsigned int channels)
494 for (; samples >
443 buffer_mux_write(uint32_t *dma, uint32_t *pcm, unsigned int pos, unsigned int samples, unsigned int slots, unsigned int channels) argument
458 buffer_mux_port(uint32_t *dma, uint32_t *pcm, uint32_t subset, uint32_t ports, unsigned int pos, unsigned int samples, unsigned int adat_width, unsigned int pcm_width) argument
489 buffer_demux_read(uint32_t *dma, uint32_t *pcm, unsigned int pos, unsigned int samples, unsigned int slots, unsigned int channels) argument
504 buffer_demux_port(uint32_t *dma, uint32_t *pcm, uint32_t subset, uint32_t ports, unsigned int pos, unsigned int samples, unsigned int adat_width, unsigned int pcm_width) argument
[all...]
H A Dhdsp-pcm.c474 unsigned int pos, unsigned int samples, unsigned int channels)
492 buffer_mux_write(dma, pcm, pos, pos + samples, 1, channels);
494 buffer_mux_write(dma, pcm, pos, pos + samples, 2, channels);
496 buffer_mux_write(dma, pcm, pos, pos + samples, 4, channels);
498 buffer_mux_write(dma, pcm, pos, pos + samples, 8, channels);
500 buffer_mux_write(dma, pcm, pos, pos + samples, width, channels);
519 unsigned int pos, unsigned int samples, unsigned int channels)
537 buffer_demux_read(dma, pcm, pos, pos + samples, 1, channels);
539 buffer_demux_read(dma, pcm, pos, pos + samples, 2, channels);
541 buffer_demux_read(dma, pcm, pos, pos + samples,
473 buffer_mux_port(uint32_t *dma, uint32_t *pcm, uint32_t subset, uint32_t slots, unsigned int pos, unsigned int samples, unsigned int channels) argument
518 buffer_demux_port(uint32_t *dma, uint32_t *pcm, uint32_t subset, uint32_t slots, unsigned int pos, unsigned int samples, unsigned int channels) argument
[all...]
/freebsd-current/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);
/freebsd-current/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...]
/freebsd-current/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-current/sys/kern/
H A Dsubr_prof.c52 caddr_t samples; member in struct:profil_args
80 upp->pr_base = uap->samples;
/freebsd-current/sys/arm/allwinner/
H A Daw_i2s.c527 uint8_t *samples; local
536 samples = (uint8_t*)sndbuf_getbuf(play_buf);
541 val = (samples[readyptr++ % size] << 16);
542 val |= (samples[readyptr++ % size] << 24);
552 uint8_t *samples; local
561 samples = (uint8_t*)sndbuf_getbuf(rec_buf);
568 samples[freeptr++ % size] = (val >> 16) & 0xff;
569 samples[freeptr++ % size] = (val >> 24) & 0xff;
/freebsd-current/sys/netinet/
H A Dip_dummynet.h217 int samples_no; /* actual len of samples[] */
218 int samples[ED_MAX_SAMPLES_NO]; /* may be shorter */ member in struct:dn_profile
/freebsd-current/contrib/ntp/scripts/monitoring/
H A Dntploopwatch24 undef($samples);
35 $F -P[<printer>] [-s<samples>]
46 -s +samples[=<samples>]
123 (/^-s(\d*)$/ || /^\+samples=?(\d*)$/) &&
124 (($samples = ($1 eq "") ? (shift || die($usage)): $1), next);
151 defined($samples) &&
152 print "WARNING: your samples value may be shadowed by config file settings\n";
295 ($c eq 'samples') && (!defined($PrintIt) || !defined($samples))
[all...]
/freebsd-current/tools/test/stress2/misc/
H A Dldt2.sh91 mplayer -vc rv40win -geometry $pos:$pos /root/samples/Real_Media.rm < \
/freebsd-current/contrib/tcsh/
H A Dsh.hist.c437 generateHashes(int nChars, unsigned nWords, unsigned samples, unsigned *hashes, argument
471 unsigned timeLimit = !samples;
472 if (samples == 0)
473 samples = 1000000000;
476 for (i = 0; i < samples; i++) {
498 if (i >= samples)
501 samples = i; /* number we actually did */
504 samples, nChars, w+1, hashFcnName, (int)((sec/samples)*1e9),
505 (int)((double)samples*nChar
[all...]
/freebsd-current/sys/netpfil/ipfw/
H A Dip_dn_glue.c264 int *samples; member in struct:dn_pipe8
270 int samples[ED_MAX_SAMPLES_NO]; member in struct:dn_pipe_max8
485 p8->samples = &(((struct dn_pipe_max8 *)p8)->samples[0]);
492 bcopy(p8->samples, pf->samples, sizeof(pf->samples));

Completed in 570 milliseconds

1234