Searched defs:prec (Results 1 - 25 of 65) sorted by relevance

123

/freebsd-head/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...]
/freebsd-head/contrib/llvm-project/clang/include/clang/Basic/
H A DOperatorPrecedence.h25 namespace prec { namespace in namespace:clang
47 prec::Level getBinOpPrecedence(tok::TokenKind Kind, bool GreaterThanIsOperator,
/freebsd-head/lib/libc/stdio/
H A Dxprintf_str.c50 * string representation. If not -1, prec specifies the maximum number of
55 __wcsconv(wchar_t *wcsarg, int prec) argument
65 if (prec < 0) {
77 if (prec < 128)
78 nbytes = prec;
86 (int)(nbytes + clen) > prec)
134 convbuf = __wcsconv(wcp, pi->prec);
145 if (pi->prec >= 0 && pi->prec < l)
146 l = pi->prec;
[all...]
H A Dxprintf_time.c67 int i, prec, nsec, ret; local
73 prec = 6;
78 prec = 9;
83 prec = 0;
86 if (pi->prec >= 0)
87 prec = pi->prec;
88 if (prec == 0)
99 if (tx >= DAY && (t != 0 || prec != 0)) {
103 if (tx >= HOUR && (t != 0 || prec !
[all...]
H A Dxprintf_float.c152 int prec; /* precision from format; <0 for N/A */ local
171 int dprec; /* a copy of prec if [diouxX], 0 otherwise */
181 prec = pi->prec;
206 if (prec >= 0)
207 prec++;
211 __hldtoa(ld, xdigs, prec,
216 __hdtoa(d, xdigs, prec,
219 if (prec < 0)
220 prec
[all...]
/freebsd-head/contrib/ncurses/form/
H A Dfty_int.c168 int prec = argi->precision; local
237 "%.*ld", (prec > 0 ? prec : 0), val);
H A Dfty_num.c186 int prec = argn->precision; local
275 "%.*f", (prec > 0 ? prec : 0), val);
/freebsd-head/lib/msun/src/
H A Dk_rem_pio2.c18 * __kernel_rem_pio2(x,y,e0,nx,prec)
19 * double x[],y[]; int e0,nx,prec;
68 * prec an integer indicating the precision:
294 __kernel_rem_pio2(double *x, double *y, int e0, int nx, int prec) argument
300 jk = init_jk[prec];
408 switch(prec) {
/freebsd-head/contrib/ncurses/ncurses/base/
H A Dsafe_sprintf.c80 int prec = -1; local
99 if (prec < 0)
100 prec = 0;
101 prec = (prec * 10) + num;
110 prec = ival;
159 if (prec < 0)
160 prec = (int) strlen(pval);
161 if (prec > (int) length) {
162 length = length + (size_t) prec;
[all...]
/freebsd-head/contrib/gdb/gdb/
H A Dexpprint.c53 struct ui_file *stream, enum precedence prec)
55 exp->language_defn->la_exp_desc->print_subexp (exp, pos, stream, prec);
62 struct ui_file *stream, enum precedence prec)
307 if ((int) prec > (int) PREC_COMMA)
318 if ((int) prec > (int) PREC_COMMA)
368 if ((int) prec > (int) PREC_PREFIX)
374 if ((int) prec > (int) PREC_PREFIX)
380 if ((int) prec > (int) PREC_PREFIX)
402 if ((int) prec > (int) PREC_PREFIX)
488 if ((int) myprec < (int) prec)
52 print_subexp(struct expression *exp, int *pos, struct ui_file *stream, enum precedence prec) argument
61 print_subexp_standard(struct expression *exp, int *pos, struct ui_file *stream, enum precedence prec) argument
[all...]
/freebsd-head/contrib/gcc/
H A Ddouble-int.c30 double_int_mask (unsigned prec) argument
35 if (prec > HOST_BITS_PER_WIDE_INT)
37 prec -= HOST_BITS_PER_WIDE_INT;
38 m = ((unsigned HOST_WIDE_INT) 2 << (prec - 1)) - 1;
45 mask.low = ((unsigned HOST_WIDE_INT) 2 << (prec - 1)) - 1;
59 double_int_ext (double_int cst, unsigned prec, bool uns) argument
62 return double_int_zext (cst, prec);
64 return double_int_sext (cst, prec);
70 double_int_zext (double_int cst, unsigned prec) argument
72 double_int mask = double_int_mask (prec);
84 double_int_sext(double_int cst, unsigned prec) argument
[all...]
/freebsd-head/contrib/tcpdump/missing/
H A Dsnprintf.c128 int width, int prec, int flags, int minusp)
134 if(prec != -1)
137 prec = 1;
139 if(prec == 0 && num == 0)
147 prec -= len;
148 /* pad with prec zeros */
149 while(prec-- > 0){
218 int prec,
221 if(prec != -1)
222 width -= prec;
126 append_number(struct state *state, unsigned long num, unsigned base, char *rep, int width, int prec, int flags, int minusp) argument
215 append_string(struct state *state, unsigned char *arg, int width, int prec, int flags) argument
290 int prec = -1; local
[all...]
/freebsd-head/usr.sbin/ip6addrctl/
H A Dip6addrctl.c390 add_policy(char *prefix, char *prec, char *label) argument
399 p.preced = atoi(prec);
/freebsd-head/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-head/sys/net/altq/
H A Daltq_rio.c121 * low drop prec: 01
122 * medium drop prec: 10
123 * high drop prec: 01
230 struct dropprec_state *prec = &rp->rio_precstate[i]; local
232 prec->avg = 0;
233 prec->idle = 1;
236 prec->inv_pmax = default_rio_params[i].inv_pmax;
238 prec->inv_pmax = params[i].inv_pmax;
240 prec->th_min = default_rio_params[i].th_min;
242 prec
324 struct dropprec_state *prec; local
[all...]
/freebsd-head/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-head/usr.bin/hexdump/
H A Dparse.c157 int prec; local
165 for (bcnt = prec = 0, fmt = fu->fmt; *fmt; ++fmt) {
177 prec = atoi(fmt);
192 bcnt += prec;
215 int nconv, prec; local
217 prec = 0;
259 prec = atoi(p1);
341 pr->bcnt = prec;
/freebsd-head/usr.bin/jot/
H A Djot.c81 static int prec = -1; variable
147 prec = atoi(optarg);
148 if (prec < 0)
179 if (prec < 0)
188 if (prec < 0)
189 prec = getprec(argv[1]);
190 if (n > prec) /* maximum precision */
191 prec = n;
209 if (prec == -1)
210 prec
[all...]
/freebsd-head/contrib/tcsh/
H A Dtc.printf.c67 int flush_left = 0, f_width = 0, prec = INF, hash = 0; local
105 prec = va_arg(ap, int);
109 prec = atoi(f);
281 for (i = 0; *Bp && i < prec; i++) {
317 for (i = 0; *bp && i < prec; i++) {
345 flush_left = 0, f_width = 0, prec = INF, hash = 0;
/freebsd-head/contrib/libpcap/missing/
H A Dsnprintf.c132 int width, int prec, int flags, int minusp)
138 if(prec != -1)
141 prec = 1;
143 if(prec == 0 && num == 0)
151 prec -= len;
152 /* pad with prec zeros */
153 while(prec-- > 0){
222 int prec,
225 if(prec != -1)
226 width -= prec;
130 append_number(struct state *state, unsigned long num, unsigned base, char *rep, int width, int prec, int flags, int minusp) argument
219 append_string(struct state *state, unsigned char *arg, int width, int prec, int flags) argument
294 int prec = -1; local
[all...]
/freebsd-head/contrib/file/src/
H A Dvasprintf.c77 %[flag][width][.prec][modifier]type
85 prec: none .0 .n .*
233 * b: when .prec is used, we must not access any extra byte of the
240 static int type_s(xprintf_struct *s, int width, int prec, argument
248 /* hand-made strlen() whitch stops when 'prec' is reached. */
249 /* if 'prec' is -1 then it is never reached. */
251 while (arg_string[string_len] != 0 && (size_t)prec != string_len)
300 int width, prec, modifier, approx_width; local
369 /* .prec */
372 if (*SRCTXT == '*') { /* .prec give
[all...]
/freebsd-head/include/
H A Dprintf.h50 int prec; member in struct:printf_info
/freebsd-head/contrib/ldns/compat/
H A Dsnprintf.c62 * This includes width, precision, flags 0- +, and *(arg for wid,prec).
63 * %f, %g, %m, %p have reduced support, support for wid,prec,flags,*, but
459 print_remainder(char* buf, int max, double r, int prec) argument
464 if(prec > 19) prec = 19; /* max we can do */
465 if(max < prec) return 0;
466 for(i=0; i<prec; i++) {
480 while(len < prec) { /* pad with zeroes, e.g. if 0.0012 */
490 print_float(char* buf, int max, double value, int prec) argument
492 /* as xxx.xxx if prec
525 print_float_g(char* buf, int max, double value, int prec) argument
[all...]
/freebsd-head/contrib/jemalloc/src/
H A Dmalloc_io.c432 int prec = -1; local
494 prec = va_arg(ap, int);
504 prec = (int)uprec;
587 slen = (prec < 0) ? strlen(s) : (size_t)prec;
/freebsd-head/contrib/unbound/compat/
H A Dsnprintf.c63 * This includes width, precision, flags 0- +, and *(arg for wid,prec).
64 * %f, %g, %m, %p have reduced support, support for wid,prec,flags,*, but
460 print_remainder(char* buf, int max, double r, int prec) argument
465 if(prec > 19) prec = 19; /* max we can do */
466 if(max < prec) return 0;
467 for(i=0; i<prec; i++) {
481 while(len < prec) { /* pad with zeroes, e.g. if 0.0012 */
491 print_float(char* buf, int max, double value, int prec) argument
493 /* as xxx.xxx if prec
526 print_float_g(char* buf, int max, double value, int prec) argument
[all...]

Completed in 370 milliseconds

123