Searched refs:precision (Results 1 - 25 of 179) sorted by relevance

12345678

/macosx-10.10/WebCore-7600.1.25/html/canvas/
H A DWebGLShaderPrecisionFormat.cpp36 PassRefPtr<WebGLShaderPrecisionFormat> WebGLShaderPrecisionFormat::create(GC3Dint rangeMin, GC3Dint rangeMax, GC3Dint precision) argument
38 return adoptRef(new WebGLShaderPrecisionFormat(rangeMin, rangeMax, precision));
51 GC3Dint WebGLShaderPrecisionFormat::precision() const function in class:WebCore::WebGLShaderPrecisionFormat
56 WebGLShaderPrecisionFormat::WebGLShaderPrecisionFormat(GC3Dint rangeMin, GC3Dint rangeMax, GC3Dint precision) argument
59 , m_precision(precision)
H A DWebGLShaderPrecisionFormat.idl33 readonly attribute long precision;
H A DWebGLShaderPrecisionFormat.h38 static PassRefPtr<WebGLShaderPrecisionFormat> create(GC3Dint rangeMin, GC3Dint rangeMax, GC3Dint precision);
42 GC3Dint precision() const;
45 WebGLShaderPrecisionFormat(GC3Dint rangeMin, GC3Dint rangeMax, GC3Dint precision);
/macosx-10.10/libpcap-48/libpcap/
H A Dsf-pcap.h35 u_int precision, char *errbuf, int *err, int isng);
H A Dsf-pcap-ng.h30 u_int precision, char *errbuf, int *err, int isng);
H A Dsavefile.c71 pcap_fopen_offline_internal(FILE *fp, u_int precision,
179 pcap_open_offline_with_tstamp_precision(const char *fname, u_int precision, argument
208 p = pcap_fopen_offline_with_tstamp_precision(fp, precision, errbuf);
224 pcap_t* pcap_hopen_offline_with_tstamp_precision(intptr_t osfd, u_int precision, argument
244 return pcap_fopen_offline_with_tstamp_precision(file, precision,
266 pcap_fopen_offline_with_tstamp_precision(FILE *fp, u_int precision, argument
269 return pcap_fopen_offline_internal(fp, precision, errbuf, 0);
324 pcap_fopen_offline_internal(FILE *fp, u_int precision, argument
360 p = pcap_ng_check_header(magic, fp, precision, errbuf, &err, isng);
377 p = (*check_headers[i])(magic, fp, precision, errbu
[all...]
/macosx-10.10/ruby-106/ruby/ext/date/
H A Ddate_strftime.c61 int precision, flags; local
91 if (precision > 0 || flags & (BIT_OF(LOCALE_E) | BIT_OF(LOCALE_O) | BIT_OF(COLONS))) \
96 if (!(flags & BIT_OF(LEFT)) && precision > (i)) { \
97 NEEDS(precision); \
98 memset(s, padding ? padding : ' ', precision - (i)); \
99 s += precision - (i); \
108 if (precision <= 0) precision = (def_prec); \
109 if (flags & BIT_OF(LEFT)) precision = 1; \
113 precision, (va
[all...]
/macosx-10.10/ruby-106/ruby/ext/bigdecimal/lib/bigdecimal/
H A Dutil.rb30 def to_d(precision=nil)
31 BigDecimal(self, precision || Float::DIG+1)
86 # r.to_d(precision) -> bigdecimal
90 # The required +precision+ parameter is used to determine the amount of
92 # as it is used along with the #denominator and the +precision+ for
99 def to_d(precision)
100 if precision <= 0
101 raise ArgumentError, "negative precision"
104 BigDecimal(num).div(self.denominator, precision)
/macosx-10.10/ruby-106/ruby/test/ruby/
H A Dtest_sprintf_comb.rb125 precision = $7
128 precision = precision.to_i if precision
131 zr = nil if precision
215 if precision
216 if dlen < precision
217 (precision - dlen).times {
292 *FLAGS) {|type, width, precision, sp, hs, pl, mi, zr|
293 format = "%#{sp}#{hs}#{pl}#{mi}#{zr}#{width}#{precision}#{typ
[all...]
/macosx-10.10/tcl-105/tcl_ext/tcllib/tcllib/modules/math/
H A Dbigfloat2.tcl18 # ln(2) with arbitrary precision
20 # Pi with arb. precision
87 set precision [expr {($exp<0)?(-$exp):1}]
89 # 26/07/2005 : changed precision from decimal to binary
91 set piOverTwo [floatRShift [pi $precision 1]]
106 # creating 0 and 1 with the same precision as the entry
107 set fzero [list F 0 -$precision 1]
108 # 1.000 with $precision zeros
109 set fone [list F [expr {1<<$precision}] -$precision
[all...]
H A Dbigfloat.tcl59 # ln(2) with arbitrary precision
61 # Pi with arb. precision
140 set precision [expr {($exp<0)?(-$exp):1}]
142 # 26/07/2005 : changed precision from decimal to binary
144 set piOverTwo [floatRShift [pi $precision 1]]
159 # creating 0 and 1 with the same precision as the entry
162 set fzero [list F $zero -$precision $one]
163 set fone [list F [::math::bignum::lshift 1 $precision] \
164 -$precision $one]
280 error "not enough precision o
[all...]
/macosx-10.10/bind9-45.101/bind9/lib/lwres/
H A Dprint.c78 unsigned long precision; local
115 width = precision = 0;
163 precision = va_arg(ap, int);
167 precision = strtoul(format, &e, 10);
206 if (precision != 0U)
284 if (precision > 2U)
285 precision -= 2;
300 if (precision > 2U)
301 precision -= 2;
307 if (precision !
[all...]
/macosx-10.10/ruby-106/ruby/
H A Dstrftime.c176 int precision, flags, colons; local
213 if (precision > 0) \
218 if (!(flags & BIT_OF(LEFT)) && precision > (i)) { \
219 NEEDS(precision); \
220 memset(s, padding ? padding : ' ', precision - (i)); \
221 s += precision - (i); \
230 if (precision <= 0) precision = (def_prec); \
231 if (flags & BIT_OF(LEFT)) precision = 1; \
234 precision, (va
[all...]
/macosx-10.10/bind9-45.101/bind9/lib/isc/
H A Dprint.c81 unsigned long precision; local
118 width = precision = 0;
165 precision = va_arg(ap, int);
169 precision = strtoul(format, &e, 10);
208 if (precision != 0)
334 if (precision > 2)
335 precision -= 2;
356 if (precision > 2)
357 precision -= 2;
370 if (precision !
[all...]
/macosx-10.10/ntp-92/lib/isc/
H A Dprint.c81 unsigned long precision; local
118 width = precision = 0;
165 precision = va_arg(ap, int);
169 precision = strtoul(format, &e, 10);
208 if (precision != 0)
334 if (precision > 2)
335 precision -= 2;
356 if (precision > 2)
357 precision -= 2;
370 if (precision !
[all...]
/macosx-10.10/gnutar-453/gnutar/lib/
H A Dvasnprintf.c281 size_t precision; local
310 precision = 6;
320 precision = (arg < 0 ? 0 : arg);
326 precision = 0;
329 size_t p1 = 10 * precision + (*digitp++ - '0');
330 precision = ((SIZE_MAX / 10 < precision
331 || p1 < precision)
362 if (tmp_length < precision)
363 tmp_length = precision;
[all...]
/macosx-10.10/bash-94.1.2/bash-3.2/lib/sh/
H A Dsnprintf.c48 * * *M$ width, precision specifications
147 #define PF_DOT 0x00080 /* `.precision' */
148 #define PF_STAR_P 0x00100 /* `*' after precision */
149 #define PF_STAR_W 0x00200 /* `*' before or without precision */
255 int width, precision; member in struct:DATA
312 /* round off to the precision */
315 d - pow_10(-(p)->precision) * 0.5 : \
316 d + pow_10(-(p)->precision) * 0.5
318 /* set default precision */
320 if ((p)->precision
[all...]
/macosx-10.10/apr-32/apr/apr/strings/
H A Dapr_snprintf.c271 * This macro does zero padding so that the precision
274 * to be printed. We don't allow precision to be large
280 #define FIX_PRECISION(adjust, precision, s, s_len) \
282 apr_size_t p = (precision + 1 < NUM_BUF_SIZE) \
283 ? precision : NUM_BUF_SIZE - 1; \
518 boolean_e add_dp, int precision, int *is_negative,
527 p = apr_fcvt(num, precision, &decimal_point, is_negative, buf1);
529 p = apr_ecvt(num, precision + 1, &decimal_point, is_negative, buf1);
544 if (precision > 0) {
555 if (precision >
517 conv_fp(register char format, register double num, boolean_e add_dp, int precision, int *is_negative, char *buf, apr_size_t *len) argument
696 apr_size_t precision = 0; local
[all...]
/macosx-10.10/llvmCore-3425.0.34/lib/Support/
H A DAPFloat.cpp10 // This file implements a class to represent arbitrary precision floating
48 unsigned int precision; member in struct:llvm::fltSemantics
650 unsigned bitsToPreserve = semantics->precision - 1;
658 unsigned QNaNBit = semantics->precision - 2;
674 // For x87 extended precision, we want to make a NaN, not a
738 exponent = ourSemantics.precision - 1;
795 return partCountForBits(semantics->precision + 1);
801 return semantics.precision;
872 on to the full-precision result of the multiplication. Returns the
878 unsigned int partsCount, newPartsCount, precision;
[all...]
/macosx-10.10/shell_cmds-179/seq/
H A Dseq.c413 int precision, width1, width2, places; local
427 precision = decimal_places(buf);
435 precision = MAX(places, precision);
443 if (precision) {
446 precision, precision, (cc) ? cc : 'f');
/macosx-10.10/WTF-7600.1.24/wtf/
H A Ddtoa.h37 WTF_EXPORT_PRIVATE void dtoa(DtoaBuffer result, double dd, bool& sign, int& exponent, unsigned& precision);
38 WTF_EXPORT_PRIVATE void dtoaRoundSF(DtoaBuffer result, double dd, int ndigits, bool& sign, int& exponent, unsigned& precision);
39 WTF_EXPORT_PRIVATE void dtoaRoundDP(DtoaBuffer result, double dd, int ndigits, bool& sign, int& exponent, unsigned& precision);
/macosx-10.10/ncurses-44/ncurses/form/
H A Dfty_int.c49 int precision; member in struct:__anon11201
71 argp->precision = va_arg(*ap, int);
136 int prec = argi->precision;
/macosx-10.10/libxslt-13/libxslt/libexslt/
H A Dmath.c348 * @precision: number
353 * Returns a number value of the given constant with the given precision or
358 exsltMathConstant (xmlChar *name, double precision) { argument
362 if ((name == NULL) || (xmlXPathIsNaN(precision)) || (precision < 1.0)) {
369 if (precision <= len)
370 len = (int)precision;
377 if (precision <= len)
378 len = (int)precision;
385 if (precision <
[all...]
/macosx-10.10/tcpdump-61/tcpdump/
H A Dntp.h82 int precision:8; member in struct:ntpdata
/macosx-10.10/bind9-45.101/bind9/contrib/zkt/
H A Dmisc.h67 extern char *time2str (time_t sec, int precision);
68 extern char *time2isostr (time_t sec, int precision);

Completed in 514 milliseconds

12345678