Searched refs:prec (Results 1 - 25 of 108) sorted by last modified time

12345

/freebsd-10.0-release/include/
H A Dprintf.h48 int prec; member in struct:printf_info
/freebsd-10.0-release/usr.bin/bc/
H A Dbc.y600 | MINUS expression %prec UMINUS
/freebsd-10.0-release/usr.bin/hexdump/
H A Dparse.c155 int prec; local
163 for (bcnt = prec = 0, fmt = fu->fmt; *fmt; ++fmt) {
172 prec = atoi(fmt);
187 bcnt += prec;
210 int nconv, prec; local
214 prec = 0;
252 prec = atoi(p1);
334 pr->bcnt = prec;
/freebsd-10.0-release/usr.bin/m4/
H A Dparser.y85 | '-' expr %prec UMINUS { $$ = -$2; }
86 | '+' expr %prec UPLUS { $$ = $2; }
/freebsd-10.0-release/usr.bin/unifdef/
H A Dunifdef.c933 static int prec(const struct ops *ops) function
954 debug("eval%d !", prec(ops));
965 debug("eval%d (", prec(ops));
973 debug("eval%d number", prec(ops));
981 debug("eval%d defined", prec(ops));
1001 debug("eval%d symbol", prec(ops));
1019 debug("eval%d bad expr", prec(ops));
1024 debug("eval%d = %d", prec(ops), *valp);
1039 debug("eval%d", prec(ops));
1052 debug("eval%d %s", prec(op
[all...]
/freebsd-10.0-release/usr.bin/xlint/lint1/
H A Dcgram.y1121 expr %prec T_COMMA {
1130 init_expr %prec T_COMMA
1454 expr %prec T_COMMA {
1573 | T_SIZEOF term %prec T_SIZEOF {
1577 | T_SIZEOF T_LPARN type_name T_RPARN %prec T_SIZEOF {
1580 | T_LPARN type_name T_RPARN term %prec T_UNOP {
1608 expr %prec T_COMMA {
/freebsd-10.0-release/usr.bin/xlint/lint2/
H A Dchk.c597 int fwidth, prec, left, sign, space, alt, zero; local
615 fwidth = prec = left = sign = space = alt = zero = 0;
665 prec = 1;
697 alt || zero || prec || fwidth) {
785 if (fwidth || prec || sz != NOTSPEC || alt || zero)
790 if (fwidth || prec || alt || zero || sz == LDOUBLE)
/freebsd-10.0-release/usr.bin/jot/
H A Djot.c76 static int prec = -1; variable
126 prec = atoi(optarg);
127 if (prec < 0)
158 if (prec < 0)
167 if (prec < 0)
168 prec = getprec(argv[1]);
169 if (n > prec) /* maximum precision */
170 prec = n;
188 if (prec == -1)
189 prec
[all...]
/freebsd-10.0-release/usr.bin/stat/
H A Dstat.c390 int flags, size, prec, ofmt, hilo, what; local
450 * prec opt. precision
491 prec = -1;
495 prec = 0;
497 prec = (prec * 10) + (*statfmt - '0');
499 if (prec < 0)
559 flags, size, prec, ofmt, hilo, what);
584 int flags, int size, int prec, int ofmt,
899 flags, size, prec,
580 format1(const struct stat *st, const char *file, const char *fmt, int flen, char *buf, size_t blen, int flags, int size, int prec, int ofmt, int hilo, int what) argument
[all...]
/freebsd-10.0-release/crypto/heimdal/appl/ftp/ftp/
H A Dftp.c1446 int prec; local
1461 prec = 2;
1465 prec = 1;
1468 prec = 0;
1472 bytes, direction, s, prec, bs, unit);
/freebsd-10.0-release/crypto/heimdal/lib/roken/
H A Dsnprintf.c143 int width, int prec, int flags, int minusp)
152 if(prec != -1)
155 prec = 1;
169 if(prec == 0 && num == 0) {
194 if(prec <= nlen && nstr[nstart] != '0' && nstr[nstart] != '\0')
195 prec = nlen + 1;
207 if(prec > nlen)
208 width -= prec;
232 if(prec - nlen > width - len - nlen)
233 len += pad(state, prec
141 append_number(struct snprintf_state *state, u_longest num, unsigned base, const char *rep, int width, int prec, int flags, int minusp) argument
256 append_string(struct snprintf_state *state, const unsigned char *arg, int width, int prec, int flags) argument
358 int prec = -1; local
[all...]
/freebsd-10.0-release/sys/contrib/altq/altq/
H A Daltq_rio.c126 * low drop prec: 01
127 * medium drop prec: 10
128 * high drop prec: 01
251 struct dropprec_state *prec = &rp->rio_precstate[i]; local
253 prec->avg = 0;
254 prec->idle = 1;
257 prec->inv_pmax = default_rio_params[i].inv_pmax;
259 prec->inv_pmax = params[i].inv_pmax;
261 prec->th_min = default_rio_params[i].th_min;
263 prec
345 struct dropprec_state *prec; local
[all...]
/freebsd-10.0-release/sys/dev/aic7xxx/aicasm/
H A Daicasm_gram.y657 | '-' expression %prec UMINUS
/freebsd-10.0-release/sys/kern/
H A Dkern_time.c486 sbintime_t sbt, sbtt, prec, tmp; local
501 prec = tmp;
502 prec >>= tc_precexp;
507 sbt, prec, C_ABSOLUTE);
/freebsd-10.0-release/sys/cddl/dev/fbt/
H A Dfbt.c1051 ctf_decl_prec_t prec; local
1068 prec = CTF_PREC_ARRAY;
1076 prec = CTF_PREC_BASE;
1081 prec = CTF_PREC_FUNCTION;
1086 prec = CTF_PREC_POINTER;
1093 prec = cd->cd_qualp;
1098 prec = CTF_PREC_BASE;
1110 if (ctf_list_next(&cd->cd_nodes[prec]) == NULL)
1111 cd->cd_order[prec] = cd->cd_ordp++;
1117 if (prec > c
1151 ctf_decl_prec_t prec, lp, rp; local
[all...]
H A Dfbt_powerpc.c974 ctf_decl_prec_t prec; local
991 prec = CTF_PREC_ARRAY;
999 prec = CTF_PREC_BASE;
1004 prec = CTF_PREC_FUNCTION;
1009 prec = CTF_PREC_POINTER;
1016 prec = cd->cd_qualp;
1021 prec = CTF_PREC_BASE;
1033 if (ctf_list_next(&cd->cd_nodes[prec]) == NULL)
1034 cd->cd_order[prec] = cd->cd_ordp++;
1040 if (prec > c
1074 ctf_decl_prec_t prec, lp, rp; local
[all...]
/freebsd-10.0-release/bin/sh/
H A Darith_yacc.c64 #define ARITH_PRECEDENCE(op, prec) [op - ARITH_BINOP_MIN] = prec
66 static const char prec[ARITH_BINOP_MAX - ARITH_BINOP_MIN] = { variable
115 return prec[op - ARITH_BINOP_MIN];
/freebsd-10.0-release/cddl/contrib/opensolaris/common/ctf/
H A Dctf_decl.c90 ctf_decl_prec_t prec; local
107 prec = CTF_PREC_ARRAY;
115 prec = CTF_PREC_BASE;
120 prec = CTF_PREC_FUNCTION;
125 prec = CTF_PREC_POINTER;
132 prec = cd->cd_qualp;
137 prec = CTF_PREC_BASE;
149 if (ctf_list_next(&cd->cd_nodes[prec]) == NULL)
150 cd->cd_order[prec] = cd->cd_ordp++;
156 if (prec > c
[all...]
H A Dctf_types.c207 ctf_decl_prec_t prec, lp, rp; local
237 for (prec = CTF_PREC_BASE; prec < CTF_PREC_MAX; prec++) {
238 for (cdp = ctf_list_next(&cd.cd_nodes[prec]);
249 if (lp == prec) {
293 if (rp == prec)
/freebsd-10.0-release/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_printf.c1374 int prec = pfd->pfd_prec; local
1436 dtp, recp++, nrecs--, buf, len, &prec) == -1)
1559 if (prec > 0)
1560 f += snprintf(f, sizeof (format), ".%d", prec);
1897 int prec = pfd->pfd_prec; local
1933 if (prec != 0)
1934 f += snprintf(f, sizeof (format), ".%d", prec);
/freebsd-10.0-release/lib/libc/stdio/
H A Dvfprintf.c210 * string representation. If not -1, prec specifies the maximum number of
215 __wcsconv(wchar_t *wcsarg, int prec) argument
225 if (prec < 0) {
237 if (prec < 128)
238 nbytes = prec;
246 nbytes + clen > prec)
317 int prec; /* precision from format; <0 for N/A */ local
354 int dprec; /* a copy of prec if [diouxX], 0 otherwise */
497 prec = -1;
539 GETASTER (prec);
[all...]
H A Dvfwprintf.c278 * string representation. ``prec'' specifies the maximum number of bytes
279 * to output. If ``prec'' is greater than or equal to zero, we can't assume
283 __mbsconv(char *mbsarg, int prec) argument
297 if (prec >= 0) {
305 while (nchars != (size_t)prec) {
399 int prec; /* precision from format; <0 for N/A */ local
434 int dprec; /* a copy of prec if [diouxX], 0 otherwise */
570 prec = -1;
612 GETASTER (prec);
615 prec
[all...]
H A Dxprintf.c292 pi->prec = -1;
318 pi->prec = 0;
327 pi->prec *= 10;
328 pi->prec += to_digit(*fmt);
524 if (pi->prec != -1) fprintf(stderr, " prec %d", pi->prec);
546 pi->prec = args[pi->get_prec].intarg;
H A Dxprintf_float.c150 int prec; /* precision from format; <0 for N/A */ local
169 int dprec; /* a copy of prec if [diouxX], 0 otherwise */
180 prec = pi->prec;
205 if (prec >= 0)
206 prec++;
210 __hldtoa(ld, xdigs, prec,
215 __hdtoa(d, xdigs, prec,
218 if (prec < 0)
219 prec
[all...]
H A Dxprintf_int.c366 if (pi->prec == 0 && !(pi->alt && rdx == 8))
388 if (pi->prec > (pe - p))
389 zext = pi->prec - (pe - p);
390 else if (pi->prec != -1)

Completed in 198 milliseconds

12345