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

1234

/freebsd-current/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-current/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.c206 * string representation. If not -1, prec specifies the maximum number of
211 __wcsconv(wchar_t *wcsarg, int prec) argument
221 if (prec < 0) {
233 if (prec < 128)
234 nbytes = prec;
242 nbytes + clen > prec)
313 int prec; /* precision from format; <0 for N/A */ local
353 int dprec; /* a copy of prec if [diouxX], 0 otherwise */
503 prec = -1;
545 GETASTER (prec);
[all...]
H A Dvfwprintf.c272 * string representation. ``prec'' specifies the maximum number of bytes
273 * to output. If ``prec'' is greater than or equal to zero, we can't assume
277 __mbsconv(char *mbsarg, int prec) argument
291 if (prec >= 0) {
299 while (nchars != (size_t)prec) {
393 int prec; /* precision from format; <0 for N/A */ local
428 int dprec; /* a copy of prec if [diouxX], 0 otherwise */
570 prec = -1;
612 GETASTER (prec);
615 prec
[all...]
/freebsd-current/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-current/sys/net/altq/
H A Daltq_rio.c120 * low drop prec: 01
121 * medium drop prec: 10
122 * high drop prec: 01
229 struct dropprec_state *prec = &rp->rio_precstate[i]; local
231 prec->avg = 0;
232 prec->idle = 1;
235 prec->inv_pmax = default_rio_params[i].inv_pmax;
237 prec->inv_pmax = params[i].inv_pmax;
239 prec->th_min = default_rio_params[i].th_min;
241 prec
323 struct dropprec_state *prec; local
[all...]
/freebsd-current/cddl/contrib/opensolaris/common/ctf/
H A Dctf_decl.c90 ctf_decl_prec_t prec; local
110 prec = CTF_PREC_ARRAY;
118 prec = CTF_PREC_BASE;
123 prec = CTF_PREC_FUNCTION;
128 prec = CTF_PREC_POINTER;
135 prec = cd->cd_qualp;
140 prec = CTF_PREC_BASE;
152 if (ctf_list_next(&cd->cd_nodes[prec]) == NULL)
153 cd->cd_order[prec] = cd->cd_ordp++;
159 if (prec > c
[all...]
/freebsd-current/contrib/tcpdump/missing/
H A Dsnprintf.c109 int width, int prec, int flags, int minusp)
115 if(prec != -1)
118 prec = 1;
120 if(prec == 0 && num == 0)
128 prec -= len;
129 /* pad with prec zeros */
130 while(prec-- > 0){
199 int prec,
202 if(prec != -1)
203 width -= prec;
107 append_number(struct state *state, unsigned long num, unsigned base, char *rep, int width, int prec, int flags, int minusp) argument
196 append_string(struct state *state, unsigned char *arg, int width, int prec, int flags) argument
271 int prec = -1; local
[all...]
/freebsd-current/lib/msun/tests/
H A Dnext_test.c59 #define testboth(arg1, arg2, ans, ex, prec) do { \
60 test##prec(nextafter##prec((arg1), (arg2)), (ans), (ex)); \
61 test##prec(nexttoward##prec((arg1), (arg2)), (ans), (ex)); \
97 #define ztest(prec) \
98 test##prec(copysign##prec(1.0, nextafter##prec(0.0, -0.0)), -1.0, 0); \
99 test##prec(copysig
[all...]
/freebsd-current/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-current/contrib/ntp/libntp/
H A Dtimetoa.c51 int prec
62 DEBUG_REQUIRE(prec != 0);
68 notneg = (prec < 0);
69 prec_u = abs(prec);
/freebsd-current/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-current/contrib/ncurses/ncurses/base/
H A Dsafe_sprintf.c81 int prec = -1; local
100 if (prec < 0)
101 prec = 0;
102 prec = (prec * 10) + num;
111 prec = ival;
160 if (prec < 0)
161 prec = (int) strlen(pval);
162 if (prec > (int) length) {
163 length = length + (size_t) prec;
[all...]
/freebsd-current/contrib/file/src/
H A Dvasprintf.c77 %[flag][width][.prec][modifier]type
85 prec: none .0 .n .*
231 * b: when .prec is used, we must not access any extra byte of the
238 static int type_s(xprintf_struct *s, int width, int prec, argument
246 /* hand-made strlen() which stops when 'prec' is reached. */
247 /* if 'prec' is -1 then it is never reached. */
249 while (arg_string[string_len] != 0 && (size_t)prec != string_len)
298 int width, prec, modifier, approx_width; local
367 /* .prec */
370 if (*SRCTXT == '*') { /* .prec give
[all...]
/freebsd-current/usr.bin/jot/
H A Djot.c67 static int prec = -1; variable
133 prec = atoi(optarg);
134 if (prec < 0)
165 if (prec < 0)
174 if (prec < 0)
175 prec = getprec(argv[1]);
176 if (n > prec) /* maximum precision */
177 prec = n;
195 if (prec == -1)
196 prec
[all...]
/freebsd-current/contrib/arm-optimized-routines/math/test/
H A Dmathbench.c164 int prec; member in struct:fun
408 vlen = f->prec == 'd' ? v_double_len() : v_float_len();
410 vlen = f->prec == 'd' ? sv_double_len() : sv_float_len();
412 if (f->prec == 'd' && type == 't' && f->vec == 0)
414 else if (f->prec == 'd' && type == 'l' && f->vec == 0)
416 else if (f->prec == 'f' && type == 't' && f->vec == 0)
418 else if (f->prec == 'f' && type == 'l' && f->vec == 0)
421 else if (f->prec == 'd' && type == 't' && f->vec == 'n')
423 else if (f->prec == 'd' && type == 'l' && f->vec == 'n')
425 else if (f->prec
[all...]
/freebsd-current/usr.bin/m4/
H A Dparser.y77 | '-' expr %prec UMINUS { $$ = -$2; }
78 | '+' expr %prec UPLUS { $$ = $2; }
/freebsd-current/sys/compat/linuxkpi/common/include/linux/
H A Dhrtimer.h72 #define hrtimer_start_range_ns(hrtimer, time, prec, mode) do { \
74 linux_hrtimer_start_range_ns(hrtimer, time, prec); \
/freebsd-current/contrib/ncurses/form/
H A Dfty_int.c170 int prec = argi->precision; local
239 "%.*ld", (prec > 0 ? prec : 0), val);
/freebsd-current/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-current/contrib/byacc/
H A Dmkpar.c98 temp->prec = symbol_prec[symbol];
159 temp->prec = rprec[ruleno];
263 if (pref->prec > 0 && p->prec > 0)
265 if (pref->prec < p->prec)
270 else if (pref->prec > p->prec)
/freebsd-current/usr.bin/hexdump/
H A Dparse.c149 int prec; local
157 for (bcnt = prec = 0, fmt = fu->fmt; *fmt; ++fmt) {
169 prec = atoi(fmt);
184 bcnt += prec;
207 int nconv, prec; local
209 prec = 0;
251 prec = atoi(p1);
336 pr->bcnt = prec;

Completed in 359 milliseconds

1234