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

1234

/freebsd-13-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-13-stable/lib/libc/stdio/
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...]
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_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_vis.c61 if (pi->prec >= 0)
62 l = pi->prec;
H A Dvfprintf.c212 * string representation. If not -1, prec specifies the maximum number of
217 __wcsconv(wchar_t *wcsarg, int prec) argument
227 if (prec < 0) {
239 if (prec < 128)
240 nbytes = prec;
248 nbytes + clen > prec)
319 int prec; /* precision from format; <0 for N/A */ local
357 int dprec; /* a copy of prec if [diouxX], 0 otherwise */
507 prec = -1;
549 GETASTER (prec);
[all...]
H A Dvfwprintf.c280 * string representation. ``prec'' specifies the maximum number of bytes
281 * to output. If ``prec'' is greater than or equal to zero, we can't assume
285 __mbsconv(char *mbsarg, int prec) argument
299 if (prec >= 0) {
307 while (nchars != (size_t)prec) {
401 int prec; /* precision from format; <0 for N/A */ local
436 int dprec; /* a copy of prec if [diouxX], 0 otherwise */
578 prec = -1;
620 GETASTER (prec);
623 prec
[all...]
/freebsd-13-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-13-stable/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-13-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-13-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-13-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-13-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-13-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-13-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-13-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-13-stable/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-13-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-13-stable/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-13-stable/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-13-stable/usr.bin/m4/
H A Dparser.y79 | '-' expr %prec UMINUS { $$ = -$2; }
80 | '+' expr %prec UPLUS { $$ = $2; }
/freebsd-13-stable/contrib/ncurses/form/
H A Dfty_int.c169 int prec = argi->precision; local
238 "%.*ld", (prec > 0 ? prec : 0), val);
/freebsd-13-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-13-stable/contrib/byacc/
H A Dmkpar.c97 temp->prec = symbol_prec[symbol];
158 temp->prec = rprec[ruleno];
261 if (pref->prec > 0 && p->prec > 0)
263 if (pref->prec < p->prec)
268 else if (pref->prec > p->prec)
/freebsd-13-stable/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;

Completed in 175 milliseconds

1234