Searched defs:sample (Results 1 - 25 of 26) sorted by relevance

12

/freebsd-head/contrib/netbsd-tests/usr.bin/xlint/lint1/
H A Dd_c99_decls_after_stmt.c1 void sample(void) function
H A Dd_c99_decls_after_stmt3.c1 void sample(int i) function
/freebsd-head/contrib/apr-util/crypto/
H A Dapr_passwd.c85 char sample[200]; local
93 if (_crypt_blowfish_rn(passwd, hash, sample, sizeof(sample)) == NULL)
100 apr_md5_encode(passwd, hash, sample, sizeof(sample));
103 apr_sha1_base64(passwd, (int)strlen(passwd), sample); local
183 return (strcmp(sample, hash) == 0) ? APR_SUCCESS : APR_EMISMATCH;
/freebsd-head/contrib/ntp/scripts/monitoring/
H A Dlr.pl32 ;# sample(x, y, tag); enter sample
55 sub sample($$) subroutine
/freebsd-head/sys/contrib/octeon-sdk/
H A Dcvmx-profiler.c165 * Add new sample to the buffer and increment the head pointer and
166 * global sample count(i.e sum total of samples collected on all cores)
195 cvmx_sample_entry_t *sample = (cvmx_sample_entry_t *) cpu_buf->pcpu_blk_info.data; local
196 sample->pc = epc;
197 sample->core = cpu;
204 /* Increment the global sample count i.e sum total of samples on all cores*/
207 PRINTF("the core%d:pc 0x%016lx, sample_count=%ld\n", cpu, sample->pc, cpu_buf->pcpu_blk_info.sample_count);
H A Dcvmx-smix-defs.h211 uint64_t sample_hi : 5; /**< When to sample read data (extended bits) */
217 of MDC. This is edge2. Octeon can sample the
219 0=[SAMPLE_HI,SAMPLE] specify the sample time
221 1=[SAMPLE_HI,SAMPLE] specify the sample time
229 uint64_t sample : 4; /**< When to sample read data member in struct:cvmx_smix_clk::cvmx_smix_clk_s
238 uint64_t sample : 4;
252 uint64_t sample_hi : 5; /**< When to sample read data (extended bits) */
258 of MDC. This is edge2. Octeon can sample the
260 0=[SAMPLE_HI,SAMPLE] specify the sample tim
267 uint64_t sample : 4; /**< When to sample read data member in struct:cvmx_smix_clk::cvmx_smix_clk_cn30xx
[all...]
/freebsd-head/lib/libc/tests/stdlib/
H A Dtsearch_test.c98 int sample = i; local
104 if ((sample % NKEYS) > 3)
105 sample = nrand48(random_state) % 3;
107 switch (sample) {
/freebsd-head/contrib/llvm-project/llvm/include/llvm/FuzzMutate/
H A DRandom.h53 template <typename RangeT> ReservoirSampler &sample(RangeT &&Items) { function in class:llvm::ReservoirSampler
55 sample(I, 1);
60 ReservoirSampler &sample(const T &Item, uint64_t Weight) { function in class:llvm::ReservoirSampler
77 RS.sample(Items);
85 RS.sample(Item, Weight);
/freebsd-head/sys/dev/ow/
H A Dowc_gpiobus.c251 * |<tLOWR>< sample > |
262 bool sample; local
283 GETPIN(sc, &sample);
284 } while (now - then < (t->t_rdv + 2) * SBT_1US && sample == false);
324 bool sample; local
335 GETPIN(sc, &sample);
336 if (sample == false) {
353 GETPIN(sc, &sample);
354 *bit = sample;
365 GETPIN(sc, &sample);
[all...]
/freebsd-head/usr.bin/gprof/
H A Dgprof.c318 printf( "[openpfile] sample rate %ld\n" , hz );
412 intmax_t sample; local
417 errx(0, "no room for %d sample pc's", nsamples);
420 fread(&sample, histcounter_size, 1, pfile);
425 samples[i] += *(int8_t *)&sample;
428 samples[i] += *(u_int8_t *)&sample;
431 samples[i] += *(int16_t *)&sample;
434 samples[i] += *(u_int16_t *)&sample;
437 samples[i] += *(int32_t *)&sample;
440 samples[i] += *(u_int32_t *)&sample;
[all...]
/freebsd-head/sys/dev/adlink/
H A Dadlink.c41 * One channel active (ie: 2 bytes per sample = 10MB/sec) on a 660MHz
98 uint64_t *sample; member in struct:pgstat
115 uint64_t sample; member in struct:softc
143 sc->sample += sc->p0->chunksize / 2;
145 *(pg->sample) = sc->sample;
158 *(pg->sample) = 0;
201 uint64_t *sample; local
245 if (sc->nchunks * sizeof (*pg->sample) +
249 sample
[all...]
/freebsd-head/sys/arm/mv/
H A Dmv_thermal.c201 int64_t sample, rv; local
210 sample = sign_extend(reg, fls(STATUS_TEMP_MASK) - 1);
212 sample = reg;
214 *temp = ((sample * sc->config->calib_mul) - sc->config->calib_add) /
/freebsd-head/contrib/ntp/ntpd/
H A Drefclock_irig.c70 * the codec sample frequency error less than 250 PPM (.025 percent).
140 * frequency vernier for broken codec sample frequency.
155 #define SECOND 8000 /* nominal sample rate (Hz) */
157 #define OFFSET 128 /* companded sample offset */
210 l_fp timestamp; /* audio sample timestamp */
211 l_fp tick; /* audio sample increment */
246 double lastsig; /* last carrier sample */
248 int decim; /* sample decimation factor */
417 double sample; /* codec sample */ local
[all...]
H A Drefclock_chu.c225 #define SECOND 8000 /* nominal sample rate (Hz) */
227 #define OFFSET 128 /* companded sample offset */
306 double shift[12]; /* sample shift register */
308 double dist; /* sample distance */
376 int clipcnt; /* sample clip count */
382 l_fp tick; /* audio sample increment */
659 double sample; /* codec sample */ local
677 sample = up->comp[~*dpt++ & 0xff];
684 if (sample > MAXAM
[all...]
H A Drefclock_wwv.c84 #define WWV_SEC 8000 /* second epoch (sample rate) (Hz) */
86 #define OFFSET 128 /* companded sample offset */
512 l_fp timestamp; /* audio sample timestamp */
513 l_fp tick; /* audio sample increment */
530 int clipcnt; /* sample clipped count */
544 int rphase; /* second sample counter */
545 long mphase; /* minute sample counter */
781 * track the A/D sample clock by dropping or duplicating codec samples.
797 double sample; /* codec sample */ local
[all...]
/freebsd-head/contrib/ntp/lib/isc/
H A Dentropy.c151 isc_entropysamplesource_t sample; member in union:isc_entropysource::__anon229
158 #define ENTROPY_SOURCETYPE_SAMPLE 1 /*%< Type is a sample source */
744 samplequeue_release(ent, &source->sources.sample.samplequeue);
798 * Here, detach non-sample sources.
967 sq = &source->sources.sample.samplequeue;
1003 * Add a sample, and return ISC_R_SUCCESS if the queue has become full,
1008 addsample(sample_queue_t *sq, isc_uint32_t sample, isc_uint32_t extra) { argument
1012 sq->samples[sq->nsamples] = sample;
1023 isc_entropy_addsample(isc_entropysource_t *source, isc_uint32_t sample, argument
1037 sq = &source->sources.sample
1050 isc_entropy_addcallbacksample(isc_entropysource_t *source, isc_uint32_t sample, isc_uint32_t extra) argument
1195 isc_uint32_t sample; local
[all...]
/freebsd-head/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_stats.cpp78 void statistic::addSample(double sample) { argument
79 sample -= offset;
80 KMP_DEBUG_ASSERT(std::isfinite(sample));
82 double delta = sample - meanVal;
86 m2 = m2 + delta * (sample - meanVal);
88 minVal = std::min(minVal, sample);
89 maxVal = std::max(maxVal, sample);
91 hist.addSample(sample);
177 // Which bin does this sample belong in ?
178 uint32_t logHistogram::findBin(double sample) { argument
193 addSample(double sample) argument
[all...]
/freebsd-head/sys/netgraph/
H A Dng_pptpgre.c834 long sample; local
847 sample = ng_pptpgre_time() - hpriv->timeSent[index];
848 diff = sample - hpriv->rtt;
/freebsd-head/sys/dev/bwn/
H A Dif_bwn_phy_lp.c2377 bwn_phy_lp_calc_rx_iq_comp(struct bwn_mac *mac, uint16_t sample) argument
2407 ret = bwn_phy_lp_rx_iq_est(mac, sample, 32, &ie);
3578 bwn_phy_lp_rx_iq_est(struct bwn_mac *mac, uint16_t sample, uint8_t time, argument
3584 BWN_PHY_WRITE(mac, BWN_PHY_IQ_NUM_SMPLS_ADDR, sample);
/freebsd-head/sys/dev/cxgbe/tom/
H A Dt4_tom.c623 uint8_t sample = 0; local
627 sample |= TS_RTO;
629 sample |= TS_DUPACKS;
631 sample |= TS_FASTREXMT;
637 sample |= TS_SND_BACKLOGGED; /* for whatever reason. */
643 sample |= TS_CWND_LIMITED; /* maybe due to CWND */
654 sample |= TS_ECN_ECE;
662 sample |= TS_ECN_CWR;
665 te->te_sample[te->te_pidx] = sample;
/freebsd-head/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXAsmPrinter.cpp1046 unsigned sample = CI->getZExtValue(); local
1051 addr = ((sample & __CLK_ADDRESS_MASK) >> __CLK_ADDRESS_BASE);
1074 switch ((sample & __CLK_FILTER_MASK) >> __CLK_FILTER_BASE) {
1087 if (!((sample & __CLK_NORMALIZED_MASK) >> __CLK_NORMALIZED_BASE)) {
/freebsd-head/contrib/llvm-project/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp74 // Hint for common error of forgetting --sample for sample profiles.
75 Hint = "Perhaps you forgot to use the --sample option?";
89 enum ProfileKinds { instr, sample }; enumerator in enum:__anon3046::ProfileKinds
643 clEnumVal(sample, "Sample profile")));
653 "GCC encoding (only meaningful for -sample)")));
1029 << "sample profile in extbinary format and is "
1134 // We intentionally compare the maximum sample count in a function with this
1144 std::vector<std::string> ColumnTitle{"Total sample (%)", "Max sample",
[all...]
/freebsd-head/sys/geom/raid/
H A Dmd_ddf.c567 ddf_meta_create(struct g_raid_disk *disk, struct ddf_meta *sample) argument
580 if (sample->hdr == NULL)
581 sample = NULL;
590 meta->bigendian = sample ? sample->bigendian : mdi->mdio_bigendian;
597 if (sample) {
598 memcpy(meta->hdr, sample->hdr, sizeof(struct ddf_header));
599 if (ss != sample->sectorsize) {
601 howmany(GET32(sample, hdr->WorkSpace_Length) *
602 sample
845 ddf_vol_meta_create(struct ddf_vol_meta *meta, struct ddf_meta *sample) argument
[all...]
/freebsd-head/sys/dev/sound/pci/
H A Demu10k1.c711 u_int32_t sample, i; local
718 sample = v->b16 ? 0x00000000 : 0x80808080;
721 emu_wrptr(sc, v->vnum, EMU_CHAN_CD0 + i, sample);
1256 "sample rate tracker lock status change\n");
/freebsd-head/sys/dev/wpi/
H A Dif_wpi.c3744 struct wpi_power_sample *sample; local
3767 for (sample = group->samples; sample < &group->samples[3]; sample++)
3768 if (pwr > sample[1].power)
3771 idx = interpolate(pwr, sample[0].power, sample[0].index,
3772 sample[1].power, sample[1].index, 19);

Completed in 270 milliseconds

12