Searched refs:prec (Results 26 - 50 of 114) sorted by relevance

12345

/macosx-10.10/bind9-45.101/bind9/contrib/query-loc-0.4.0/
H A Dloc_ntoa.c233 precsize_ntoa(prec)
234 u_int8_t prec;
240 mantissa = (int)((prec >> 4) & 0x0f) % 10;
241 exponent = (int)((prec >> 0) & 0x0f) % 10;
/macosx-10.10/tcl-105/tcl_ext/tkimg/tkimg/tests/visualtests/utils/
H A DtestUtil.tcl27 proc PF { floatVal { prec 4 } } {
28 set fmtStr "%.${prec}f"
/macosx-10.10/BerkeleyDB-21/db/dbinc/
H A Dclock.h108 #define DB_TIMESPEC_TO_TIMEOUT(t, vvp, prec) \
113 if (prec) \
/macosx-10.10/Libc-1044.1.2/stdio/FreeBSD/
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, locale_t loc) argument
298 if (prec >= 0) {
306 while (nchars != (size_t)prec) {
400 int prec; /* precision from format; <0 for N/A */ local
440 int dprec; /* a copy of prec if [diouxX], 0 otherwise */
581 prec = -1;
631 GETASTER (prec);
634 prec
[all...]
H A Dvfprintf.c216 * string representation. If not -1, prec specifies the maximum number of
221 __wcsconv(wchar_t *wcsarg, int prec, locale_t loc) argument
231 if (prec < 0) {
243 if (prec < 128)
244 nbytes = prec;
252 nbytes + clen > prec)
324 int prec; /* precision from format; <0 for N/A */ local
366 int dprec; /* a copy of prec if [diouxX], 0 otherwise */
512 prec = -1;
562 GETASTER (prec);
[all...]
H A Dxprintf_int.c384 if (pi->prec == 0 && !(pi->alt && rdx == 8))
406 if (pi->prec > (pe - p))
407 zext = pi->prec - (pe - p);
408 else if (pi->prec != -1)
/macosx-10.10/ruby-106/ruby/
H A Dsprintf.c449 int width, prec, flags = FNONE; local
506 width = prec = -1;
621 prec = 0;
624 GETASTER(prec);
625 if (prec < 0) { /* ignore negative precision */
632 GETNUM(prec, precision);
712 if ((flags&FPREC) && (prec < slen)) {
714 prec, enc);
715 slen = prec;
928 prec
1100 fmt_setup(char *buf, size_t size, int c, int flags, int width, int prec) argument
[all...]
/macosx-10.10/tcsh-65/tcsh/
H A Dtc.printf.c70 int flush_left = 0, f_width = 0, prec = INF, hash = 0; local
107 prec = va_arg(ap, int);
111 prec = atoi(f);
264 for (i = 0; *Bp && i < prec; i++) {
292 for (i = 0; *bp && i < prec; i++) {
314 flush_left = 0, f_width = 0, prec = INF, hash = 0;
/macosx-10.10/xnu-2782.1.97/osfmk/kern/
H A Dprintf.c227 int prec; local
253 prec = -1;
303 prec = 0;
305 prec = 10 * prec + Ctod(c);
310 prec = va_arg(argp, int);
413 if (prec == -1)
414 prec = 0x7fffffff; /* MAXINT */
425 for (; *p != '\0' && n < prec; p++)
439 while ((n < prec)
[all...]
/macosx-10.10/shell_cmds-179/hexdump/
H A Dparse.c160 int prec; local
168 for (bcnt = prec = 0, fmt = (unsigned char *)fu->fmt; *fmt; ++fmt) {
177 prec = atoi((const char *)fmt);
192 bcnt += prec;
215 int nconv, prec = 0; local
253 prec = atoi((const char *)p1);
338 pr->bcnt = prec;
/macosx-10.10/curl-83.1.2/curl/lib/
H A Dmprintf.c598 long prec; local
655 prec = (long)vto[p->precision].data.num.as_signed;
660 prec = p->precision;
662 prec = -1;
723 if(prec == -1)
724 prec = 1;
733 prec -= (long)(workend - w);
735 if(is_alt && base == 8 && prec <= 0) {
740 if(prec > 0) {
741 width -= prec;
[all...]
/macosx-10.10/ncurses-44/ncurses/form/
H A Dfty_num.c152 int prec = argn->precision; local
240 sprintf(buf, "%.*f", (prec > 0 ? prec : 0), val);
/macosx-10.10/CPANInternal-159.1/Parse-Yapp-1.05/lib/Parse/Yapp/
H A DParse.pm33 my($input,$lexlevel,@lineno,$nberr,$prec,$labelno);
374 'prec' => 65
574 $$term{$symbol} = [ $_[1][0], $prec ];
576 ++$prec;
765 'prec', 2,
932 $$input=~/\G%(prec)/gc
1038 $prec=0;
1072 undef($prec);
/macosx-10.10/cups-408/cups/cups/
H A Ddebug.c99 prec; /* Number of characters of precision */ local
175 prec = va_arg(ap, int);
177 snprintf(tptr, sizeof(tformat) - (size_t)(tptr - tformat), "%d", prec);
182 prec = 0;
189 prec = prec * 10 + *format++ - '0';
/macosx-10.10/awk-20/src/
H A Dawkgram.y200 | ppattern '?' ppattern ':' ppattern %prec '?'
202 | ppattern bor ppattern %prec BOR
204 | ppattern and ppattern %prec AND
214 | ppattern term %prec CAT { $$ = op2(CAT, $1, $2); }
221 | pattern '?' pattern ':' pattern %prec '?'
223 | pattern bor pattern %prec BOR
225 | pattern and pattern %prec AND
247 | pattern term %prec CAT { $$ = op2(CAT, $1, $2); }
360 | '-' term %prec UMINUS { $$ = op1(UMINUS, $2); }
361 | '+' term %prec UMINU
[all...]
/macosx-10.10/tcl-105/tcl_ext/tkimg/tkimg/compat/libjpeg/
H A Djcmarker.c150 int prec; local
156 prec = 0;
159 prec = 1;
166 prec ? cinfo->lim_Se * 2 + 2 + 1 + 2 : cinfo->lim_Se + 1 + 1 + 2);
168 emit_byte(cinfo, index + (prec<<4));
173 if (prec)
181 return prec;
512 int ci, prec; local
519 prec = 0;
522 prec
[all...]
/macosx-10.10/emacs-93/emacs/lisp/calc/
H A Dcalccomp.el71 ;; math-comp-vector-prec is local to math-compose-expr, but is used by
74 (defvar math-comp-vector-prec)
84 (defun math-compose-expr (a prec)
93 (list 'tag a (math-compose-expr a prec))))
109 (nth 2 aa)) prec))
130 (math-format-number a prec)
133 (math-compose-expr (nth 1 a) prec)
142 (math-format-number a prec)
143 (let ((s (math-format-number a prec))
170 (math-compose-expr temp prec))
[all...]
H A Dcalc-arith.el1315 (math-with-extra-prec 2
1652 (math-with-extra-prec 1
1655 (math-with-extra-prec 2
1955 (math-with-extra-prec 2
2068 (math-with-extra-prec 2
2089 (math-with-extra-prec 2
2097 (math-with-extra-prec 2
2365 ;; The variable math-trunc-prec is local to math-trunc in calc-misc.el,
2367 (defvar math-trunc-prec)
2398 (math-map-vec (function (lambda (x) (math-trunc x math-trunc-prec)))
[all...]
/macosx-10.10/CPANInternal-159.1/Parse-Yapp-1.05/
H A DCalc.yp39 | '-' exp %prec NEG { -$_[2] }
/macosx-10.10/ppp-786.1.1/Helpers/pppd/
H A Dutils.c200 int width, prec, fillch; local
229 prec = -1;
247 prec = va_arg(args, int);
250 prec = 0;
252 prec = prec * 10 + c - '0';
352 if (fillch == '0' && prec >= 0) {
353 n = prec;
356 if (prec >= 0 && n > prec)
[all...]
/macosx-10.10/tcl-105/tcl_ext/tkimg/tkimg/compat/libtiff/tools/
H A Dppm2tiff.c83 unsigned int w, h, prec, row; local
187 if (fscanf(in, " %u %u %u", &w, &h, &prec) != 3)
189 if (fgetc(in) != '\n' || prec != 255)
/macosx-10.10/ruby-106/ruby/test/bigdecimal/
H A Dtest_bigdecimal.rb913 prec, maxprec = x.precs
914 assert_match(/^#<BigDecimal:[0-9a-f]+,'0.12345678E4',#{prec}\(#{maxprec}\)>$/, x.inspect)
1279 prec = 20
1280 assert_in_epsilon(Math.exp(20), BigMath.exp(BigDecimal("20"), prec))
1281 assert_in_epsilon(Math.exp(40), BigMath.exp(BigDecimal("40"), prec))
1282 assert_in_epsilon(Math.exp(-20), BigMath.exp(BigDecimal("-20"), prec))
1283 assert_in_epsilon(Math.exp(-40), BigMath.exp(BigDecimal("-40"), prec))
1287 prec = 20
1288 assert_in_epsilon(Math.exp(20), BigMath.exp(20.0, prec))
1289 assert_in_epsilon(Math.exp(40), BigMath.exp(40.0, prec))
[all...]
/macosx-10.10/ksh-23/ksh/src/lib/libast/misc/
H A Dglob.c317 regex_t* prec = 0; local
501 if (!prec)
505 prec = &rec;
509 gp->re_flags = regstat(prec)->re_flags;
512 pre = prec;
564 if (prec)
565 regfree(prec);
/macosx-10.10/ksh-23/ksh/src/lib/libast/tm/
H A Dtmxfmt.c111 int prec; local
157 prec = 0;
198 prec = prec * 10 + (c - '0');
531 if (prec && n >= prec)
532 n = prec + 1;
/macosx-10.10/network_cmds-457/ip6addrctl.tproj/
H A Dip6addrctl.c397 add_policy(prefix, prec, label)
398 char *prefix, *prec, *label;
407 p.preced = atoi(prec);

Completed in 1537 milliseconds

12345