/freebsd/contrib/ntp/sntp/libevent/sample/ |
H A D | include.am | 1 # 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 …]
|
/freebsd/contrib/libevent/sample/ |
H A D | include.am | 1 # 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 …]
|
/freebsd/contrib/netbsd-tests/usr.bin/mkdep/ |
H A D | t_mkdep.sh | 38 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 …]
|
/freebsd/tools/test/arc4random/ |
H A D | biastest.c | 50 unsigned char *sample; in main() local 74 sample = calloc(threshold, 1); in main() 75 if (sample == NULL) { in main() 80 collect_sample(sample, tries, threshold); in main() 81 analyze_sample(sample, tries, threshold); in main() 99 collect_sample(unsigned char *sample, long long tries, uint32_t threshold) in collect_sample() argument 112 if (sample[x] == UCHAR_MAX) { in collect_sample() 118 sample[x]++; in collect_sample() 127 analyze_sample(const unsigned char *sample, long long tries, uint32_t threshold) in analyze_sample() argument 139 histogram[sample[i]]++; in analyze_sample() [all …]
|
/freebsd/sys/dev/sound/pcm/ |
H A D | pcm.h | 352 pcm_clamp(intpcm32_t sample, uint32_t fmt) in pcm_clamp() argument 358 return ((sample > PCM_S8_MAX) ? PCM_S8_MAX : in pcm_clamp() 359 ((sample < PCM_S8_MIN) ? PCM_S8_MIN : sample)); in pcm_clamp() 361 return ((sample > PCM_S16_MAX) ? PCM_S16_MAX : in pcm_clamp() 362 ((sample < PCM_S16_MIN) ? PCM_S16_MIN : sample)); in pcm_clamp() 364 return ((sample > PCM_S24_MAX) ? PCM_S24_MAX : in pcm_clamp() 365 ((sample < PCM_S24_MIN) ? PCM_S24_MIN : sample)); in pcm_clamp() 367 return ((sample > PCM_S32_MAX) ? PCM_S32_MAX : in pcm_clamp() 368 ((sample < PCM_S32_MIN) ? PCM_S32_MIN : sample)); in pcm_clamp() 376 pcm_clamp_calc(intpcm32_t sample, uint32_t fmt) in pcm_clamp_calc() argument [all …]
|
/freebsd/contrib/ntp/sntp/libevent/ |
H A D | Makefile.in | 29 # sample/include.am for libevent 137 @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/hell [all...] |
/freebsd/contrib/libevent/ |
H A D | Makefile.in | 137 @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 …]
|
/freebsd/sys/dev/adlink/ |
H A D | adlink.c | 96 uint64_t *sample; member 113 uint64_t sample; member 141 sc->sample += sc->p0->chunksize / 2; in adlink_intr() 143 *(pg->sample) = sc->sample; in adlink_intr() 156 *(pg->sample) = 0; in adlink_intr() 199 uint64_t *sample; in adlink_ioctl() local 243 if (sc->nchunks * sizeof (*pg->sample) + in adlink_ioctl() 247 sample = (uint64_t *)(sc->p0 + 1); in adlink_ioctl() 249 (uintptr_t)sample - (uintptr_t)(sc->p0); in adlink_ioctl() 254 pg->sample = sample; in adlink_ioctl() [all …]
|
/freebsd/sys/dev/ow/ |
H A D | owc_gpiobus.c | 261 bool sample; in owc_gpiobus_read_data() local 282 GETPIN(sc, &sample); in owc_gpiobus_read_data() 283 } while (now - then < (t->t_rdv + 2) * SBT_1US && sample == false); in owc_gpiobus_read_data() 323 bool sample; in owc_gpiobus_reset_and_presence() local 334 GETPIN(sc, &sample); in owc_gpiobus_reset_and_presence() 335 if (sample == false) { in owc_gpiobus_reset_and_presence() 352 GETPIN(sc, &sample); in owc_gpiobus_reset_and_presence() 353 *bit = sample; in owc_gpiobus_reset_and_presence() 364 GETPIN(sc, &sample); in owc_gpiobus_reset_and_presence() 365 if (sample == false) { in owc_gpiobus_reset_and_presence()
|
/freebsd/contrib/bearssl/samples/ |
H A D | README.txt | 1 This directory contains sample code for using BearSSL. 5 A sample client code, that connects to a server, performs a SSL 15 A sample SSL server, that serves one client at a time. It reads a 25 in client_basic.c, so the sample client and the sample server can 30 A sample C source file that shows how to write your own client or 35 and anchors used by the sample client and server. They are provided
|
/freebsd/usr.bin/beep/ |
H A D | beep.c | 244 float sample; in main() local 247 sample = a * wave_function_16(p, WAVE_POWER); in main() 250 sample = sample * off / (float)slope; in main() 252 sample = sample * (size - off - 1) / (float)slope; in main() 254 buffer[off] = sample * 0x7fffff00; in main()
|
/freebsd/contrib/ntp/ntpd/ |
H A D | refclock_irig.c | 70 * 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 */ in irig_receive() local 508 irig_rf(struct peer * peer,double sample) irig_rf() argument 587 irig_base(struct peer * peer,double sample) irig_base() argument [all...] |
/freebsd/sys/contrib/device-tree/src/arm/st/ |
H A D | stm32mp15x-mecio1-io.dtsi | 108 st,min-sample-time-ns = <5000>; 114 st,min-sample-time-ns = <5000>; 120 st,min-sample-time-ns = <5000>; 126 st,min-sample-time-ns = <5000>; 132 st,min-sample-time-ns = <5000>; 138 st,min-sample-time-ns = <5000>; 144 st,min-sample-time-ns = <5000>; 150 st,min-sample-time-ns = <5000>; 156 st,min-sample-time-ns = <5000>; 162 st,min-sample-time-ns = <5000>; [all …]
|
H A D | stm32mp15xx-dhcor-testbench.dtsi | 47 st,min-sample-time-ns = <5000>; 51 st,min-sample-time-ns = <5000>; 55 st,min-sample-time-ns = <5000>; 63 st,min-sample-time-ns = <5000>; 67 st,min-sample-time-ns = <5000>; 71 st,min-sample-time-ns = <5000>;
|
/freebsd/etc/mail/ |
H A D | virtusertable.sample | 7 username@a.sample.hostname localuser 8 username@a.sample.hostname specificuser@a.possibly.different.hostname 9 @another.sample.hostname specificuser@a.possibly.different.hostname 10 @yet.another.sample.hostname %1@a.possibly.different.hostname
|
/freebsd/contrib/llvm-project/llvm/include/llvm/FuzzMutate/ |
H A D | Random.h | 53 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()
|
/freebsd/usr.bin/gprof/ |
H A D | gprof.c | 393 intmax_t sample; in readsamples() local 401 fread(&sample, histcounter_size, 1, pfile); in readsamples() 406 samples[i] += *(int8_t *)&sample; in readsamples() 409 samples[i] += *(u_int8_t *)&sample; in readsamples() 412 samples[i] += *(int16_t *)&sample; in readsamples() 415 samples[i] += *(u_int16_t *)&sample; in readsamples() 418 samples[i] += *(int32_t *)&sample; in readsamples() 421 samples[i] += *(u_int32_t *)&sample; in readsamples() 424 samples[i] += *(int64_t *)&sample; in readsamples() 427 samples[i] += *(u_int64_t *)&sample; in readsamples()
|
/freebsd/lib/libc/tests/stdlib/ |
H A D | tsearch_test.c | 95 int sample = i; in ATF_TC_BODY() local 101 if ((sample % NKEYS) > 3) in ATF_TC_BODY() 102 sample = nrand48(random_state) % 3; in ATF_TC_BODY() 104 switch (sample) { in ATF_TC_BODY()
|
/freebsd/contrib/llvm-project/openmp/runtime/src/ |
H A D | kmp_stats.cpp | 80 void statistic::addSample(double sample) { in addSample() argument 81 sample -= offset; in addSample() 82 KMP_DEBUG_ASSERT(std::isfinite(sample)); in addSample() 84 double delta = sample - meanVal; in addSample() 88 m2 = m2 + delta * (sample - meanVal); in addSample() 90 minVal = std::min(minVal, sample); in addSample() 91 maxVal = std::max(maxVal, sample); in addSample() 93 hist.addSample(sample); in addSample() 180 uint32_t logHistogram::findBin(double sample) { in findBin() argument 181 double v = std::fabs(sample); in findBin() [all …]
|
/freebsd/sys/modules/ath_rate/ |
H A D | Makefile | 31 ATH_RATE?= sample # tx rate control algorithm 41 .PATH: ${SRCTOP}/sys/dev/ath/ath_rate/sample 42 SRCS+= sample.c
|
/freebsd/share/examples/etc/ |
H A D | README.examples | 13 csh.cshrc - sample .cshrc (see csh(1)) 14 csh.login - sample .login 15 csh.logout - sample .logout 36 motd - sample Message of the Day 53 rc.resume - sample run command file for APM Resume Event 56 rc.suspend - sample run command file for APM Resume Event
|
/freebsd/sys/contrib/device-tree/Bindings/display/bridge/ |
H A D | ti,tfp410.txt | 21 pclk-sample and bus-width property and a remote-endpoint property as specified 23 - If pclk-sample is not defined, pclk-sample = 0 should be assumed for 52 pclk-sample = <1>;
|
/freebsd/contrib/sendmail/libmilter/ |
H A D | README | 8 through reference to a sample filter which is attached at the end of this 46 The following command presumes that the sample code from the end of this 47 README is saved to a file named 'sample.c' and built in the local platform- 50 cc -I../../include -o sample sample.c libmilter.a ../libsm/libsm.a -pthread 138 To test sendmail with the sample filter, the following might be added (in 141 INPUT_MAIL_FILTER(`sample', `S=local:/var/run/f1.sock') 152 The sample filter takes one argument -p, which indicates the local port 157 % ./sample -p local:/var/run/f1.sock 159 If the sample filter returns immediately to a command line, there was either 183 Subject: testing sample filter [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/iio/adc/ |
H A D | at91-sama5d2_adc.txt | 11 - atmel,min-sample-rate-hz: Minimum sampling rate, it depends on SoC. 12 - atmel,max-sample-rate-hz: Maximum sampling rate, it depends on SoC. 41 atmel,min-sample-rate-hz = <200000>; 42 atmel,max-sample-rate-hz = <20000000>;
|
/freebsd/sys/contrib/device-tree/Bindings/input/touchscreen/ |
H A D | stmpe.txt | 9 0 -> 1 sample 38 - st,sample-time : ADC conversion time in number of clock. 85 st,sample-time = <4>; 90 /* 8 sample average control */
|