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

12345

/freebsd-11-stable/contrib/llvm-project/clang/lib/Basic/
H A DOperatorPrecedence.cpp17 prec::Level getBinOpPrecedence(tok::TokenKind Kind, bool GreaterThanIsOperator,
26 return prec::Relational;
27 return prec::Unknown;
37 return prec::Shift;
38 return prec::Unknown;
40 default: return prec::Unknown;
41 case tok::comma: return prec::Comma;
52 case tok::pipeequal: return prec::Assignment;
53 case tok::question: return prec::Conditional;
54 case tok::pipepipe: return prec
[all...]
/freebsd-11-stable/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 */
179 prec = pi->prec;
204 if (prec >= 0)
205 prec++;
209 __hldtoa(ld, xdigs, prec,
214 __hdtoa(d, xdigs, prec,
217 if (prec < 0)
218 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.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
355 int dprec; /* a copy of prec if [diouxX], 0 otherwise */
505 prec = -1;
547 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 */
576 prec = -1;
618 GETASTER (prec);
621 prec
[all...]
/freebsd-11-stable/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-11-stable/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-11-stable/lib/msun/tests/
H A Dnext_test.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-11-stable/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-11-stable/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-11-stable/contrib/ntp/libntp/
H A Dtimetoa.c51 int prec
62 DEBUG_REQUIRE(prec != 0);
68 notneg = (prec < 0);
69 prec_u = abs(prec);
/freebsd-11-stable/sys/net/altq/
H A Daltq_rio.c124 * low drop prec: 01
125 * medium drop prec: 10
126 * high drop prec: 01
249 struct dropprec_state *prec = &rp->rio_precstate[i]; local
251 prec->avg = 0;
252 prec->idle = 1;
255 prec->inv_pmax = default_rio_params[i].inv_pmax;
257 prec->inv_pmax = params[i].inv_pmax;
259 prec->th_min = default_rio_params[i].th_min;
261 prec
343 struct dropprec_state *prec; local
[all...]
/freebsd-11-stable/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-11-stable/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-11-stable/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-11-stable/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 = strlen(pval);
161 if (prec > (int) length) {
162 length = length + prec;
[all...]
/freebsd-11-stable/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-11-stable/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-11-stable/usr.bin/m4/
H A Dparser.y79 | '-' expr %prec UMINUS { $$ = -$2; }
80 | '+' expr %prec UPLUS { $$ = $2; }
/freebsd-11-stable/sys/compat/linuxkpi/common/include/linux/
H A Dhrtimer.h73 #define hrtimer_start_range_ns(hrtimer, time, prec, mode) do { \
75 linux_hrtimer_start_range_ns(hrtimer, time, prec); \
/freebsd-11-stable/contrib/ncurses/form/
H A Dfty_int.c168 int prec = argi->precision; local
237 "%.*ld", (prec > 0 ? prec : 0), val);
/freebsd-11-stable/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-11-stable/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 154 milliseconds

12345