/src/usr.bin/audiocfg/ |
main.c | 48 fprintf(stderr, " %s set <index> [p|r] <enc> <prec> <ch> <freq>\n", 154 unsigned int prec; local in function:main 203 /* audiocfg set <index> [p|r] <enc> <prec> <ch> <freq> */ 230 prec = strtoul(argv[5], NULL, 10); 244 if (audiodev_set_param(adev, mode, enc, prec, ch, freq) == -1) {
|
/src/usr.bin/time/ |
time.c | 70 int ch, status, prec; local in function:main 82 prec = 1; 108 prec = 3; 153 prusage1(stderr, fmt, prec, &null_ru, &ru, &after, &before);
|
/src/libexec/ld.elf_so/ |
xprintf.c | 59 int size, prec; local in function:xvsnprintf 70 prec = -1; 73 prec = va_arg(ap, int); 183 if (prec < 0) 186 len = prec;
|
/src/sys/arch/sparc/sparc/ |
timer.c | 201 u_int prec = 0, t0; local in function:timerattach 221 prec |= (t0 ^ t1) | (*cntreg ^ *cntreg); 235 if ((1 << t0) & prec)
|
/src/usr.bin/hexdump/ |
parse.c | 171 int prec; local in function:size 179 for (bcnt = prec = 0, fmt = fu->fmt; *fmt; ++fmt) { 188 prec = atoi(fmt); 203 bcnt += prec; 226 int nconv, prec; local in function:rewrite 228 prec = 0; 263 prec = atoi(p1); 357 pr->bcnt = prec;
|
/src/usr.bin/jot/ |
jot.c | 74 static int prec = -1; variable in typeref:typename:int 162 prec = strtol(optarg, &ep, 0); 163 if (*ep != 0 || prec < 0) 199 if (prec < 0) 208 if (prec < 0) 209 prec = getprec(argv[1]); 210 if (n > prec) /* maximum precision */ 211 prec = n; 230 if (prec == -1) 231 prec = 0 [all...] |
/src/bin/sh/ |
arithmetic.c | 78 #define ARITH_PRECEDENCE(op, prec) [op - ARITH_BINOP_MIN] = prec 80 static const char prec[ARITH_BINOP_MAX - ARITH_BINOP_MIN] = { variable in typeref:typename:const char[] 147 return prec[op - ARITH_BINOP_MIN];
|
/src/lib/libc/stdio/ |
vsnprintf_ss.c | 128 int prec; /* precision from format (%.3d), or -1 */ local in function:__weak_alias 133 int dprec; /* a copy of prec if [diouxX], 0 otherwise */ 179 prec = -1; 216 prec = n < 0 ? -1 : n; 224 prec = n < 0 ? -1 : n; 325 if (prec >= 0) { 328 * NUL in the first `prec' characters, and 331 char *p = memchr(cp, 0, (size_t)prec); 336 if (size > prec) 337 size = prec; [all...] |
vfwprintf.c | 415 * string representation. ``prec'' specifies the maximum number of bytes 416 * to output. If ``prec'' is greater than or equal to zero, we can't assume 420 __mbsconv(char *mbsarg, int prec, locale_t loc) 435 if (prec >= 0) { 443 while (nchars != (size_t)prec) { 491 * string representation. If not -1, prec specifies the maximum number of 496 __wcsconv(wchar_t *wcsarg, int prec, locale_t loc) 506 if (prec < 0) { 518 if (prec < 128) 519 nbytes = prec; 629 int prec; \/* precision from format; <0 for N\/A *\/ local in function:WDECL [all...] |
/src/sbin/dmesg/ |
dmesg.c | 83 int prec; local in function:fmtydhmsf 121 prec = 3; 123 while (prec > 0 && (nsec % 10) == 0) 124 --prec, nsec /= 10; 127 APPENDS(s, prec, nsec);
|
/src/tools/compat/ |
snprintf.c | 151 int width, int prec, int flags, int minusp) 158 if(prec != -1) 161 prec = 1; 163 if(prec == 0 && n == 0) 170 prec -= len; 171 /* pad with prec zeros */ 172 while(prec-- > 0){ 236 int prec, 244 if(prec != -1) 245 width -= prec; 336 int prec = -1; local in function:xyzprintf [all...] |
/src/usr.bin/sort/ |
msort.c | 371 RECHEADER *crec, *prec, *trec; local in function:order 382 prec = malloc(offsetof(RECHEADER, data[DEFLLEN])); 383 prec_end = prec->data + DEFLLEN; 386 if (get(fp, prec, prec_end, ftbl) != 0) 389 if (0 < (c = cmp(prec, crec))) { 404 * to by prec and new record is read to place pointed to by 407 trec = prec; 408 prec = crec;
|
/src/sys/altq/ |
altq_rio.c | 131 * low drop prec: 01 132 * medium drop prec: 10 133 * high drop prec: 11 256 struct dropprec_state *prec = &rp->rio_precstate[i]; local in function:rio_alloc 258 prec->avg = 0; 259 prec->idle = 1; 262 prec->inv_pmax = default_rio_params[i].inv_pmax; 264 prec->inv_pmax = params[i].inv_pmax; 266 prec->th_min = default_rio_params[i].th_min; 268 prec->th_min = params[i].th_min 337 struct dropprec_state *prec; local in function:rio_addq [all...] |
/src/usr.bin/seq/ |
seq.c | 78 unsigned prec; local in function:get_precision 82 prec = strlen(number) - (p - number); 83 if (prec > 0) 84 prec -= 1; 85 if (prec > MAXPRECISION) 86 prec = MAXPRECISION; 88 prec = 0; 90 return prec < minprec ? minprec : prec; 104 unsigned prec; local in function:main [all...] |
/src/usr.bin/xlint/lint2/ |
chk.c | 605 bool fwidth, prec, left, sign, space, alt, zero; local in function:printflike 623 fwidth = prec = left = sign = space = alt = zero = false; 673 prec = true; 707 alt || zero || prec || fwidth) { 795 if (fwidth || prec || sz != NO_TSPEC || alt || zero) 800 if (fwidth || prec || alt || zero || sz == LDOUBLE)
|
/src/bin/ksh/ |
expr.c | 51 enum prec { enum 72 enum prec prec; /* precedence: lower is higher */ member in struct:opinfo 139 static struct tbl *evalexpr ARGS((Expr_state *es, enum prec prec)); 284 evalexpr(es, prec) 286 enum prec prec; 292 if (prec == P_PRIMARY) { 331 vl = evalexpr(es, ((int) prec) - 1) [all...] |
/src/sys/dev/sbus/ |
dbrivar.h | 95 volatile uint32_t *prec; /* pointer to received fixed data */ member in struct:dbri_pipe
|
/src/sys/kern/ |
subr_prf.c | 457 int n, prec; local in function:addtstamp 460 prec = log_ts_prec; 461 if (prec < 0) { 462 prec = 0; 463 log_ts_prec = prec; 464 } else if (prec > 9) { 465 prec = 9; 466 log_ts_prec = prec; 471 for (n = prec, fsec = ts.tv_nsec; n < 8; n++) 477 (intmax_t)ts.tv_sec, prec, fsec) 1261 int prec; \/* precision from format (%.3d), or -1 *\/ local in function:kprintf [all...] |
/src/usr.bin/stat/ |
stat.c | 390 int flags, size, prec, ofmt, hilo, what; local in function:output 455 * prec opt. precision 497 prec = -1; 501 prec = 0; 503 prec = (prec * 10) + (*statfmt - '0'); 505 if (prec < 0) 565 flags, size, prec, ofmt, hilo, what, quiet); 658 int flags, int size, int prec, int ofmt, 1057 flags, (size - 1) / 2, prec, [all...] |
/src/sbin/ping/ |
ping.c | 1040 const unsigned int prec = (pingflags & F_TIMING64) != 0 ? 6 : 3; local in function:pr_pack_sub 1042 (void)printf(" time=%.*f ms", prec, triptime*1000.0); 1416 const unsigned int prec = (pingflags & F_TIMING64) != 0 ? 6 : 3; local in function:summary 1422 prec, tmin * 1000.0, 1423 prec, avg * 1000.0, 1424 prec, tmax * 1000.0, 1425 prec, sqrt(variance) * 1000.0);
|
/src/sys/dev/usb/ |
uaudio.c | 2089 int format, chan __unused, prec, bps, enc, terminal; local in function:uaudio_process_as 2278 prec = asf1d->v1.bBitResolution; 2284 prec = asf1d->v2.bBitResolution; 2292 if ((prec != 8 && prec != 16 && prec != 24 && prec != 32) || (bps < 1 || bps > 4)) { 2294 "ignored setting with precision %d bps %d\n", prec, bps); 2303 if (prec == 8) { 2305 } else if (prec == 16) [all...] |
/src/tests/dev/audio/ |
audiotest.c | 6109 int prec = (j == 0) ? 4 : j * 8; local in function:xp_getenc 6116 XP_EQ(prec, pr->precision); 6140 int prec = (j == 0) ? 4 : j * 8; local in function:getenc_check_encodings 6148 ai.play.precision = prec; 6150 ai.record.precision = prec; 6153 encoding_names[i], prec);
|