Searched refs:prec (Results 1 - 25 of 86) sorted by relevance

1234

/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Basic/
H A DOperatorPrecedence.cpp18 prec::Level getBinOpPrecedence(tok::TokenKind Kind, bool GreaterThanIsOperator,
27 return prec::Relational;
28 return prec::Unknown;
38 return prec::Shift;
39 return prec::Unknown;
41 default: return prec::Unknown;
42 case tok::comma: return prec::Comma;
53 case tok::pipeequal: return prec::Assignment;
54 case tok::question: return prec::Conditional;
55 case tok::pipepipe: return prec
[all...]
/freebsd-9.3-release/lib/libc/stdio/
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_time.c65 int i, prec, nsec, ret; local
71 prec = 6;
76 prec = 9;
81 prec = 0;
84 if (pi->prec >= 0)
85 prec = pi->prec;
86 if (prec == 0)
97 if (tx >= DAY && (t != 0 || prec != 0)) {
101 if (tx >= HOUR && (t != 0 || prec !
[all...]
H A Dxprintf_str.c48 * string representation. If not -1, prec specifies the maximum number of
53 __wcsconv(wchar_t *wcsarg, int prec) argument
63 if (prec < 0) {
75 if (prec < 128)
76 nbytes = prec;
84 (int)(nbytes + clen) > prec)
132 convbuf = __wcsconv(wcp, pi->prec);
143 if (pi->prec >= 0 && pi->prec < l)
144 l = pi->prec;
[all...]
H A Dxprintf_vis.c59 if (pi->prec >= 0)
60 l = pi->prec;
H A Dvfprintf.c209 * string representation. If not -1, prec specifies the maximum number of
214 __wcsconv(wchar_t *wcsarg, int prec) argument
224 if (prec < 0) {
236 if (prec < 128)
237 nbytes = prec;
245 nbytes + clen > prec)
316 int prec; /* precision from format; <0 for N/A */ local
353 int dprec; /* a copy of prec if [diouxX], 0 otherwise */
495 prec = -1;
537 GETASTER (prec);
[all...]
H A Dvfwprintf.c277 * string representation. ``prec'' specifies the maximum number of bytes
278 * to output. If ``prec'' is greater than or equal to zero, we can't assume
282 __mbsconv(char *mbsarg, int prec) argument
296 if (prec >= 0) {
304 while (nchars != (size_t)prec) {
398 int prec; /* precision from format; <0 for N/A */ local
433 int dprec; /* a copy of prec if [diouxX], 0 otherwise */
568 prec = -1;
610 GETASTER (prec);
613 prec
[all...]
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/Basic/
H A DOperatorPrecedence.h26 namespace prec { namespace in namespace:clang
47 prec::Level getBinOpPrecedence(tok::TokenKind Kind, bool GreaterThanIsOperator,
/freebsd-9.3-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...]
/freebsd-9.3-release/tools/regression/lib/msun/
H A Dtest-next.c61 #define testboth(arg1, arg2, ans, ex, prec) do { \
62 test##prec(nextafter##prec((arg1), (arg2)), (ans), (ex)); \
63 test##prec(nexttoward##prec((arg1), (arg2)), (ans), (ex)); \
99 #define ztest(prec) \
100 test##prec(copysign##prec(1.0, nextafter##prec(0.0, -0.0)), -1.0, 0); \
101 test##prec(copysig
[all...]
/freebsd-9.3-release/crypto/heimdal/lib/roken/
H A Dsnprintf.c149 int width, int prec, int flags, int minusp)
158 if(prec != -1)
161 prec = 1;
175 if(prec == 0 && num == 0) {
200 if(prec <= nlen && nstr[nstart] != '0' && nstr[nstart] != '\0')
201 prec = nlen + 1;
213 if(prec > nlen)
214 width -= prec;
238 if(prec - nlen > width - len - nlen)
239 len += pad(state, prec
147 append_number(struct snprintf_state *state, u_longest num, unsigned base, const char *rep, int width, int prec, int flags, int minusp) argument
262 append_string(struct snprintf_state *state, const unsigned char *arg, int width, int prec, int flags) argument
364 int prec = -1; local
[all...]
/freebsd-9.3-release/contrib/ntp/libntp/
H A Dtimetoa.c51 int prec
62 DEBUG_REQUIRE(prec != 0);
68 notneg = (prec < 0);
69 prec_u = abs(prec);
/freebsd-9.3-release/contrib/ntp/include/
H A Dtimetoa.h69 * prec - log10 of units per second (3=milliseconds, 6=microseconds,..)
71 * If prec is < 0, abs(prec) is taken for the precision and secs
81 format_time_fraction(time_t secs, long frac, int prec);
/freebsd-9.3-release/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;
155 if (prec < 0)
156 prec = strlen(pval);
157 if (prec > (int) length) {
158 length = length + prec;
[all...]
/freebsd-9.3-release/sys/contrib/altq/altq/
H A Daltq_rio.c126 * low drop prec: 01
127 * medium drop prec: 10
128 * high drop prec: 01
252 struct dropprec_state *prec = &rp->rio_precstate[i]; local
254 prec->avg = 0;
255 prec->idle = 1;
258 prec->inv_pmax = default_rio_params[i].inv_pmax;
260 prec->inv_pmax = params[i].inv_pmax;
262 prec->th_min = default_rio_params[i].th_min;
264 prec
346 struct dropprec_state *prec; local
[all...]
/freebsd-9.3-release/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-9.3-release/contrib/libpcap/missing/
H A Dsnprintf.c135 int width, int prec, int flags, int minusp)
141 if(prec != -1)
144 prec = 1;
146 if(prec == 0 && num == 0)
154 prec -= len;
155 /* pad with prec zeros */
156 while(prec-- > 0){
225 int prec,
228 if(prec != -1)
229 width -= prec;
133 append_number(struct state *state, unsigned long num, unsigned base, char *rep, int width, int prec, int flags, int minusp) argument
222 append_string(struct state *state, unsigned char *arg, int width, int prec, int flags) argument
297 int prec = -1; local
[all...]
/freebsd-9.3-release/contrib/tcpdump/missing/
H A Dsnprintf.c135 int width, int prec, int flags, int minusp)
141 if(prec != -1)
144 prec = 1;
146 if(prec == 0 && num == 0)
154 prec -= len;
155 /* pad with prec zeros */
156 while(prec-- > 0){
225 int prec,
228 if(prec != -1)
229 width -= prec;
133 append_number(struct state *state, unsigned long num, unsigned base, char *rep, int width, int prec, int flags, int minusp) argument
222 append_string(struct state *state, unsigned char *arg, int width, int prec, int flags) argument
297 int prec = -1; local
[all...]
/freebsd-9.3-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-9.3-release/contrib/file/src/
H A Dvasprintf.c77 %[flag][width][.prec][modifier]type
85 prec: none .0 .n .*
237 * b: when .prec is used, we must not access any extra byte of the
244 static int type_s(xprintf_struct *s, int width, int prec, argument
252 /* hand-made strlen() whitch stops when 'prec' is reached. */
253 /* if 'prec' is -1 then it is never reached. */
255 while (arg_string[string_len] != 0 && (size_t)prec != string_len)
304 int width, prec, modifier, approx_width; local
373 /* .prec */
376 if (*SRCTXT == '*') { /* .prec give
[all...]
/freebsd-9.3-release/contrib/gdtoa/
H A Dprintf.c0576 bround(FPBits *b, int prec, int prec1) /* round to prec hex digits after the "." */
589 m = prec1 - prec;
639 k = prec >> 3;
645 b->ex += 4*prec;
648 if ((j = prec & 7) < 7 && bits[k] >> (j+1)*4)
654 prec -= i;
665 return prec;
690 len, prec, prec1, psign, rv, sign, width;
720 alt=dot=lead0=left=len=prec
[all...]
/freebsd-9.3-release/usr.bin/m4/
H A Dparser.y79 | '-' expr %prec UMINUS { $$ = -$2; }
80 | '+' expr %prec UPLUS { $$ = $2; }
/freebsd-9.3-release/contrib/ncurses/form/
H A Dfty_int.c136 int prec = argi->precision; local
204 sprintf(buf, "%.*ld", (prec > 0 ? prec : 0), val);
/freebsd-9.3-release/contrib/sendmail/libsm/
H A Dvfprintf.c187 int prec; /* precision from format (%.3d), or -1 */ local
192 int dprec; /* a copy of prec if [diouxX], 0 otherwise */
359 prec = -1;
403 prec = n < 0 ? -1 : n;
423 prec = n < 0 ? -1 : n;
525 if (prec >= 0)
535 if (prec > 120)
536 prec = 120;
537 if (prec >= 0)
540 prec, va
[all...]
/freebsd-9.3-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
213 prec = 0;
249 prec = atoi(p1);
331 pr->bcnt = prec;

Completed in 150 milliseconds

1234