Searched refs:precision (Results 1 - 25 of 121) sorted by relevance

12345

/freebsd-current/contrib/libpcap/
H A Dsf-pcap.h35 u_int precision, char *errbuf, int *err);
H A Dsf-pcapng.h30 u_int precision, char *errbuf, int *err);
H A Dsavefile.c349 pcap_open_offline_with_tstamp_precision(const char *fname, u_int precision, argument
394 p = pcap_fopen_offline_with_tstamp_precision(fp, precision, errbuf);
410 pcap_t* pcap_hopen_offline_with_tstamp_precision(intptr_t osfd, u_int precision, argument
433 return pcap_fopen_offline_with_tstamp_precision(file, precision,
482 pcap_fopen_offline_with_tstamp_precision(FILE *fp, u_int precision, argument
528 p = (*check_headers[i])(magic, fp, precision, errbuf, &err);
/freebsd-current/contrib/llvm-project/clang/include/clang/AST/
H A DOptionalDiagnostic.h51 // FIXME: Force the precision of the source value down so we don't
57 unsigned precision = llvm::APFloat::semanticsPrecision(F.getSemantics()); local
58 precision = (precision * 59 + 195) / 196;
60 F.toString(Buffer, precision);
/freebsd-current/contrib/ldns/compat/
H A Dsnprintf.c62 * This includes width, precision, flags 0- +, and *(arg for wid,prec).
238 print_num(char** at, size_t* left, int* ret, int minw, int precision, argument
248 if(precision == 0 && zero) numw = 0;
249 if(numw < precision) numw = precision;
256 if(precision == 0 && zero) {
259 if(w < precision)
260 print_pad(at, left, ret, '0', precision - w);
270 if(precision == 0 && zero) numw = 0;
271 if(numw < precision) num
295 print_num_d(char** at, size_t* left, int* ret, int value, int minw, int precision, int prgiven, int zeropad, int minus, int plus, int space) argument
310 print_num_ld(char** at, size_t* left, int* ret, long value, int minw, int precision, int prgiven, int zeropad, int minus, int plus, int space) argument
325 print_num_lld(char** at, size_t* left, int* ret, long long value, int minw, int precision, int prgiven, int zeropad, int minus, int plus, int space) argument
340 print_num_u(char** at, size_t* left, int* ret, unsigned int value, int minw, int precision, int prgiven, int zeropad, int minus, int plus, int space) argument
354 print_num_lu(char** at, size_t* left, int* ret, unsigned long value, int minw, int precision, int prgiven, int zeropad, int minus, int plus, int space) argument
368 print_num_llu(char** at, size_t* left, int* ret, unsigned long long value, int minw, int precision, int prgiven, int zeropad, int minus, int plus, int space) argument
382 print_num_x(char** at, size_t* left, int* ret, unsigned int value, int minw, int precision, int prgiven, int zeropad, int minus, int plus, int space) argument
396 print_num_lx(char** at, size_t* left, int* ret, unsigned long value, int minw, int precision, int prgiven, int zeropad, int minus, int plus, int space) argument
410 print_num_llx(char** at, size_t* left, int* ret, unsigned long long value, int minw, int precision, int prgiven, int zeropad, int minus, int plus, int space) argument
424 print_num_llp(char** at, size_t* left, int* ret, void* value, int minw, int precision, int prgiven, int zeropad, int minus, int plus, int space) argument
508 print_num_f(char** at, size_t* left, int* ret, double value, int minw, int precision, int prgiven, int zeropad, int minus, int plus, int space) argument
553 print_num_g(char** at, size_t* left, int* ret, double value, int minw, int precision, int prgiven, int zeropad, int minus, int plus, int space) argument
583 print_str(char** at, size_t* left, int* ret, char* s, int minw, int precision, int prgiven, int minus) argument
635 int conv, minw, precision, prgiven, zeropad, minus, plus, space, length; local
[all...]
/freebsd-current/contrib/unbound/compat/
H A Dsnprintf.c63 * This includes width, precision, flags 0- +, and *(arg for wid,prec).
239 print_num(char** at, size_t* left, int* ret, int minw, int precision, argument
249 if(precision == 0 && zero) numw = 0;
250 if(numw < precision) numw = precision;
257 if(precision == 0 && zero) {
260 if(w < precision)
261 print_pad(at, left, ret, '0', precision - w);
271 if(precision == 0 && zero) numw = 0;
272 if(numw < precision) num
296 print_num_d(char** at, size_t* left, int* ret, int value, int minw, int precision, int prgiven, int zeropad, int minus, int plus, int space) argument
311 print_num_ld(char** at, size_t* left, int* ret, long value, int minw, int precision, int prgiven, int zeropad, int minus, int plus, int space) argument
326 print_num_lld(char** at, size_t* left, int* ret, long long value, int minw, int precision, int prgiven, int zeropad, int minus, int plus, int space) argument
341 print_num_u(char** at, size_t* left, int* ret, unsigned int value, int minw, int precision, int prgiven, int zeropad, int minus, int plus, int space) argument
355 print_num_lu(char** at, size_t* left, int* ret, unsigned long value, int minw, int precision, int prgiven, int zeropad, int minus, int plus, int space) argument
369 print_num_llu(char** at, size_t* left, int* ret, unsigned long long value, int minw, int precision, int prgiven, int zeropad, int minus, int plus, int space) argument
383 print_num_x(char** at, size_t* left, int* ret, unsigned int value, int minw, int precision, int prgiven, int zeropad, int minus, int plus, int space) argument
397 print_num_lx(char** at, size_t* left, int* ret, unsigned long value, int minw, int precision, int prgiven, int zeropad, int minus, int plus, int space) argument
411 print_num_llx(char** at, size_t* left, int* ret, unsigned long long value, int minw, int precision, int prgiven, int zeropad, int minus, int plus, int space) argument
425 print_num_llp(char** at, size_t* left, int* ret, void* value, int minw, int precision, int prgiven, int zeropad, int minus, int plus, int space) argument
509 print_num_f(char** at, size_t* left, int* ret, double value, int minw, int precision, int prgiven, int zeropad, int minus, int plus, int space) argument
554 print_num_g(char** at, size_t* left, int* ret, double value, int minw, int precision, int prgiven, int zeropad, int minus, int plus, int space) argument
584 print_str(char** at, size_t* left, int* ret, char* s, int minw, int precision, int prgiven, int minus) argument
636 int conv, minw, precision, prgiven, zeropad, minus, plus, space, length; local
[all...]
/freebsd-current/contrib/ncurses/form/
H A Dfty_num.c60 int precision; member in struct:__anon5116
69 int precision; member in struct:__anon5117
96 argn->precision = args->precision;
123 arg.precision = va_arg(*ap, int);
188 int prec = argn->precision;
H A Dfty_int.c50 int precision; member in struct:__anon5114
58 int precision; member in struct:__anon5115
104 arg.precision = va_arg(*ap, int);
170 int prec = argi->precision;
/freebsd-current/contrib/llvm-project/libcxx/include/__chrono/
H A Dhh_mm_ss.h51 using precision = duration<typename __CommonType::rep, ratio<1, __pow10(fractional_width)>>;
60 __f_(chrono::duration_cast<precision>(chrono::abs(__d) - hours() - minutes() - seconds())) {}
66 _LIBCPP_HIDE_FROM_ABI constexpr precision subseconds() const noexcept { return __f_; }
68 _LIBCPP_HIDE_FROM_ABI constexpr precision to_duration() const noexcept {
73 _LIBCPP_HIDE_FROM_ABI constexpr explicit operator precision() const noexcept { return to_duration(); }
80 precision __f_;
/freebsd-current/sys/compat/linuxkpi/common/src/
H A Dlinux_hrtimer.c47 nstosbt(hrtimer->expires), nstosbt(hrtimer->precision), 0);
127 hrtimer->precision = nsec;
139 nstosbt(hrtimer->precision), hrtimer_call_handler, hrtimer, 0);
/freebsd-current/contrib/llvm-project/compiler-rt/lib/builtins/
H A Dfp_trunc.h1 //=== lib/fp_trunc.h - high precision -> low precision conversion *- C -*-===//
9 // Set source and destination precision setting
49 #error Source should be double precision or quad precision!
50 #endif // end source precision
108 #error Destination should be single precision or double precision!
109 #endif // end destination precision
H A Dfp_extend.h1 //===-lib/fp_extend.h - low precision -> high precision conversion -*- C
85 #error Source should be half, single, or double precision!
86 #endif // end source precision
119 #error Destination should be single, double, or quad precision!
120 #endif // end destination precision
/freebsd-current/contrib/ntp/ntpsnmpd/
H A DntpSnmpSubagentObject.c412 * not known nor exposed by ntpd, only the measured precision (time to
415 * Logically the resolution must be at least the precision, so report
427 int precision; local
433 if (!read_ntp_value("precision", ntpvalue,
436 if (1 != sscanf(ntpvalue, "%d", &precision))
438 if (precision >= 0)
440 precision = max(precision, -31);
441 resolution = 1 << -precision;
459 * "The entity's precision i
470 int precision; local
[all...]
/freebsd-current/contrib/ntp/sntp/tests/
H A DpacketHandling.c121 double offset, precision, synch_distance; local
123 rpkt.precision = -16; /* 0,000015259 */
152 offset_calculation(&rpkt, LEN_PKT_NOMAC, &dst, &offset, &precision, &synch_distance);
155 TEST_ASSERT_EQUAL_DOUBLE(1. / ULOGTOD(16), precision);
167 double offset, precision, synch_distance; local
169 rpkt.precision = -1;
199 offset_calculation(&rpkt, LEN_PKT_NOMAC, &dst, &offset, &precision, &synch_distance);
202 TEST_ASSERT_EQUAL_DOUBLE(1. / ULOGTOD(1), precision);
/freebsd-current/contrib/llvm-project/clang/lib/AST/
H A DOSLog.cpp84 auto &precision = FS.getPrecision(); variable
85 switch (precision.getHowSpecified()) {
89 ArgsData.back().Size = precision.getConstantAmount();
92 ArgsData.back().Count = Args[precision.getArgIndex()];
100 auto &precision = FS.getPrecision(); variable
101 switch (precision.getHowSpecified()) {
105 ArgsData.back().Size = precision.getConstantAmount();
108 ArgsData.back().Count = Args[precision.getArgIndex()];
/freebsd-current/contrib/ntp/libntp/
H A Dsnprintf.c56 * precision specifications; fix various floating point conversion bugs;
59 * check for integer overflow of the field width, precision, and return
573 int precision = -1; local
660 if (precision == -1)
661 precision = 0;
664 if (precision > (INT_MAX - ch) / 10) {
668 precision = 10 * precision + ch;
672 * C99 says: "A negative precision argument is
673 * taken as if the precision wer
957 fmtstr(char *str, size_t *len, size_t size, const char *value, int width, int precision, int flags) argument
991 fmtint(char *str, size_t *len, size_t size, INTMAX_T value, int base, int width, int precision, int flags) argument
1092 fmtflt(char *str, size_t *len, size_t size, LDOUBLE fvalue, int width, int precision, int flags, int *overflow) argument
[all...]
/freebsd-current/usr.bin/seq/
H A Dseq.c292 /* precision */
468 int precision, width1, width2, places; local
482 precision = decimal_places(buf);
490 precision = MAX(places, precision);
498 if (precision) {
501 precision, precision, (cc) ? cc : 'f');
/freebsd-current/contrib/llvm-project/llvm/lib/Support/
H A DAPFloat.cpp9 // This file implements a class to represent arbitrary precision floating
110 unsigned int precision; member in struct:llvm::fltSemantics
123 precision <= S.precision;
293 return semantics.precision;
328 return Dst.precision >= Src.precision;
900 fill_storage = APInt::getZero(semantics->precision - 1);
902 fill_storage = APInt::getAllOnes(semantics->precision - 1);
915 unsigned bitsToPreserve = semantics->precision
[all...]
/freebsd-current/contrib/ntp/sntp/
H A Dmain.h27 double *precision, double *root_dispersion);
/freebsd-current/contrib/ntp/ntpd/
H A Drefclock_shm.c52 #define PRECISION (-1) /* precision assumed (0.5 s) */
102 int precision; member in struct:shmTime
239 up->shm->precision = PRECISION;
240 peer->precision = up->shm->precision;
371 int precision; member in struct:shm_stat_t
506 shm_stat->precision = shmcopy.precision;
636 peer->precision = shm_stat.precision;
[all...]
H A Drefclock_local.c63 #define PRECISION (-7) /* about 10 ms precision */
119 peer->precision = sys_precision;
/freebsd-current/contrib/ntp/util/
H A Dsht.c40 int precision; member in struct:shmTime
133 printf (" pnnnn set precision to -nnn\n");
158 p->precision=-atoi(argp+1);
177 printf (" leap=%d, precision=%d, nsamples=%d, valid=%d\n",
178 p->leap, p->precision, p->nsamples, p->valid);
/freebsd-current/contrib/ntp/ntpdate/
H A Dntpdate.h22 s_char precision; /* server's clock precision */ member in struct:server
55 * so that time outs are done with reasonable precision.
84 #define NTPDATE_PRECISION (-6) /* use this precision */
100 #define DEFPRECISION (-5) /* the precision we claim */
/freebsd-current/sys/compat/linuxkpi/common/include/linux/
H A Dhrtimer.h51 s64 precision; /* in nanoseconds */ member in struct:hrtimer
/freebsd-current/sys/dev/bhnd/nvram/
H A Dbhnd_nvram_value_prf.c133 * %[repeat][flags][width][.precision][length modifier][specifier]
172 * - .digits field precision.
173 * - .* read the field precision from the next variadic argument
238 size_t precision, width, delim_len; local
253 precision = 1;
384 /* Parse precision */
398 /* Negative precision argument is interpreted
400 * precision */
406 precision = arg;
408 /* Implicit precision o
[all...]

Completed in 188 milliseconds

12345