Home
last modified time | relevance | path

Searched refs:precision (Results 1 – 25 of 232) sorted by relevance

12345678910

/external/astl/tests/
Dtest_iostream.cpp43 mPassed = std::cout.precision() == 6; in A()
56 EXPECT_TRUE(std::cout.precision() == 6); in testOstream()
57 EXPECT_TRUE(std::cerr.precision() == 6); in testOstream()
59 std::cout.precision(20); in testOstream()
60 std::cerr.precision(20); in testOstream()
62 EXPECT_TRUE(std::cout.precision() == 20); in testOstream()
63 EXPECT_TRUE(std::cerr.precision() == 20); in testOstream()
65 std::cout.precision(6); in testOstream()
66 std::cerr.precision(6); in testOstream()
96 cout.precision(std::numeric_limits<double>::digits10); in testOutputFormat()
Dtest_ios_base.cpp43 EXPECT_TRUE(s.precision() == 6); in testDefaultPrecision()
49 EXPECT_TRUE(s.precision(10) == 6); in testSetPrecision()
50 EXPECT_TRUE(s.precision() == 10); in testSetPrecision()
51 EXPECT_TRUE(s.precision(-1) == 10); // no-op in testSetPrecision()
52 EXPECT_TRUE(s.precision() == 10); in testSetPrecision()
/external/llvm/lib/Target/ARM/
DARMScheduleV6.td192 // RunFast mode so that NFP pipeline is used for single-precision when
198 // Single-precision FP Unary
201 // Double-precision FP Unary
204 // Single-precision FP Compare
207 // Double-precision FP Compare
228 // Single-precision FP ALU
231 // Double-precision FP ALU
234 // Single-precision FP Multiply
237 // Double-precision FP Multiply
240 // Single-precision FP MAC
[all …]
DARMScheduleA8.td247 // RunFast mode so that NFP pipeline is used for single-precision when
254 // Single-precision FP Unary
258 // Double-precision FP Unary
263 // Single-precision FP Compare
267 // Double-precision FP Compare
300 // Single-precision FP ALU
304 // Double-precision FP ALU
309 // Single-precision FP Multiply
313 // Double-precision FP Multiply
318 // Single-precision FP MAC
[all …]
/external/bluetooth/glib/glib/gnulib/
Dvasnprintf.c83 int precision, in print_long_long() argument
152 if (precision != -1) in print_long_long()
154 precision -= (bufferend - pointer) - 1; in print_long_long()
155 if (precision < 0) in print_long_long()
156 precision = 0; in print_long_long()
180 ((flags & FLAG_ZERO) && (precision == -1)))) in print_long_long()
182 count = (precision == -1) ? 0 : precision; in print_long_long()
220 if (precision == -1) in print_long_long()
221 precision = width; in print_long_long()
222 while (precision-- > 0) in print_long_long()
[all …]
/external/stlport/src/
Dnum_put_float.cpp490 int precision) { in __format_float_scientific() argument
506 if (precision != 0 || flags & ios_base::showpoint) { in __format_float_scientific()
511 while (*bp != 0 && precision--) in __format_float_scientific()
515 if (precision > 0) in __format_float_scientific()
516 buf.append(precision, '0'); in __format_float_scientific()
553 int precision) { in __format_float_fixed() argument
554 if ( sign && (decpt > -precision) && (*bp != 0) ) in __format_float_fixed()
569 if ( flags & ios_base::showpoint || precision > 0 ) { in __format_float_fixed()
574 while ( *bp != 0 && --precision >= 0 ) { in __format_float_fixed()
579 if (precision > 0) in __format_float_fixed()
[all …]
/external/oprofile/libutil++/
Dstream_util.cpp20 precision(stream.precision()), in io_state()
29 stream.precision(precision); in ~io_state()
/external/openfst/src/include/fst/script/
Ddraw.h47 const int precision; member
65 int precision, in FstDrawerArgs()
72 fontsize(fontsize), precision(precision), in FstDrawerArgs()
86 args->precision, args->show_weight_one); in DrawFst()
103 int precision,
/external/llvm/lib/Support/
DAPFloat.cpp48 unsigned int precision; member
648 unsigned bitsToPreserve = semantics->precision - 1; in makeNaN()
656 unsigned QNaNBit = semantics->precision - 2; in makeNaN()
736 exponent = ourSemantics.precision - 1; in APFloat()
793 return partCountForBits(semantics->precision + 1); in partCount()
799 return semantics.precision; in semanticsPrecision()
876 unsigned int partsCount, newPartsCount, precision; in multiplySignificand() local
885 precision = semantics->precision; in multiplySignificand()
886 newPartsCount = partCountForBits(precision * 2); in multiplySignificand()
911 extendedPrecision = precision + precision - 1; in multiplySignificand()
[all …]
/external/webkit/Source/ThirdParty/ANGLE/src/compiler/
DTypes.h43 TPrecision precision; variable
55 precision = EbpUndefined;
87 type(t), precision(p), qualifier(q), size(s), matrix(m), array(a), arraySize(0), in type()
92 …type(p.type), precision(p.precision), qualifier(p.qualifier), size(p.size), matrix(p.matrix), arra… in TType()
101 …type(EbtStruct), precision(p), qualifier(EvqTemporary), size(1), matrix(false), array(false), arra… in type()
110 precision = copyOf.precision; in copyType()
162 TPrecision getPrecision() const { return precision; } in getPrecision()
163 void setPrecision(TPrecision p) { precision = p; } in setPrecision()
267 const char* getPrecisionString() const { return ::getPrecisionString(precision); } in getPrecisionString()
276 TPrecision precision; variable
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
DIllegalFormatPrecisionExceptionTest.java42 int precision = 12345; in test_getPrecision() local
44 precision); in test_getPrecision()
45 assertEquals(precision, illegalFormatPrecisionException.getPrecision()); in test_getPrecision()
52 int precision = 12345; in test_getMessage() local
54 precision); in test_getMessage()
/external/apache-harmony/math/src/test/java/org/apache/harmony/tests/java/math/
DBigDecimalConstructorsTest.java101 int precision = 46; in testConstrBigIntegerMathContext() local
103 MathContext mc = new MathContext(precision, rm); in testConstrBigIntegerMathContext()
118 int precision = 46; in testConstrBigIntegerScaleMathContext() local
120 MathContext mc = new MathContext(precision, rm); in testConstrBigIntegerScaleMathContext()
175 int precision = 4; in testConstrCharIntIntMathContext() local
177 MathContext mc = new MathContext(precision, rm); in testConstrCharIntIntMathContext()
199 int precision = 4; in testConstrCharIntIntMathContextException1() local
201 MathContext mc = new MathContext(precision, rm); in testConstrCharIntIntMathContextException1()
216 int precision = 4; in testConstrCharIntIntMathContextException2() local
218 MathContext mc = new MathContext(precision, rm); in testConstrCharIntIntMathContextException2()
[all …]
DBigDecimalCompareTest.java62 int precision = 15; in testAbsMathContextNeg() local
64 MathContext mc = new MathContext(precision, rm); in testAbsMathContextNeg()
78 int precision = 41; in testAbsMathContextPos() local
80 MathContext mc = new MathContext(precision, rm); in testAbsMathContextPos()
373 int precision = 37; in testPlusMathContextPositive() local
375 MathContext mc = new MathContext(precision, rm); in testPlusMathContextPositive()
403 int precision = 46; in testPlusMathContextNegative() local
405 MathContext mc = new MathContext(precision, rm); in testPlusMathContextNegative()
433 int precision = 37; in testNegateMathContextPositive() local
435 MathContext mc = new MathContext(precision, rm); in testNegateMathContextPositive()
[all …]
DBigDecimalArithmeticTest.java1158 int precision = 21; in testDivideBigDecimalScaleMathContextUP() local
1160 MathContext mc = new MathContext(precision, rm); in testDivideBigDecimalScaleMathContextUP()
1178 int precision = 21; in testDivideBigDecimalScaleMathContextDOWN() local
1180 MathContext mc = new MathContext(precision, rm); in testDivideBigDecimalScaleMathContextDOWN()
1198 int precision = 21; in testDivideBigDecimalScaleMathContextCEILING() local
1200 MathContext mc = new MathContext(precision, rm); in testDivideBigDecimalScaleMathContextCEILING()
1218 int precision = 21; in testDivideBigDecimalScaleMathContextFLOOR() local
1220 MathContext mc = new MathContext(precision, rm); in testDivideBigDecimalScaleMathContextFLOOR()
1238 int precision = 21; in testDivideBigDecimalScaleMathContextHALF_UP() local
1240 MathContext mc = new MathContext(precision, rm); in testDivideBigDecimalScaleMathContextHALF_UP()
[all …]
/external/astl/include/
Diomanip47 struct SetPrecision { int precision; };
52 // Sent to a stream, calls 'precision(size_type)' on the instance.
53 inline android::SetPrecision setprecision(int precision) {
55 params.precision = precision;
60 os.precision(params.precision);
65 // Sent to a stream, calls 'precision(size_type)' on the instance.
/external/flac/libFLAC/
Dfloat.c275 FLAC__uint32 FLAC__fixedpoint_log2(FLAC__uint32 x, unsigned fracbits, unsigned precision) in FLAC__fixedpoint_log2() argument
286 if(precision > LOG2_LOOKUP_PRECISION) in FLAC__fixedpoint_log2()
287 precision = LOG2_LOOKUP_PRECISION; in FLAC__fixedpoint_log2()
293 while (x > ONE && k < precision) { in FLAC__fixedpoint_log2()
/external/mksh/src/
Dshf.c764 ssize_t field, precision, len; in shf_vfprintf() local
790 field = precision = 0; in shf_vfprintf()
816 precision = 0; in shf_vfprintf()
822 precision = tmp; in shf_vfprintf()
853 precision = tmp; in shf_vfprintf()
861 if (precision < 0) in shf_vfprintf()
862 precision = 0; in shf_vfprintf()
953 if (precision > len) { in shf_vfprintf()
954 field = precision; in shf_vfprintf()
958 precision = len; in shf_vfprintf()
[all …]
/external/webkit/Source/WebCore/platform/graphics/chromium/
DShaderChromium.cpp84 precision mediump float; in getShaderString()
170 precision mediump float; in getShaderString()
185 precision mediump float; in getShaderString()
200 precision mediump float; in getShaderString()
231 precision mediump float; in getShaderString()
271 precision mediump float; in getShaderString()
272 precision mediump int; in getShaderString()
307 precision mediump float; in getShaderString()
/external/astl/src/
Dios_base.cpp75 streamsize ios_base::precision(streamsize precision) { in precision() function in std::ios_base
77 if (precision >= 0) { // Not sure what a negative precision would mean. in precision()
78 mPrecision = precision; in precision()
/external/webkit/Source/JavaScriptCore/wtf/
Ddtoa.h37 void dtoa(DtoaBuffer result, double dd, bool& sign, int& exponent, unsigned& precision);
38 …RoundSF(DtoaBuffer result, double dd, int ndigits, bool& sign, int& exponent, unsigned& precision);
39 …RoundDP(DtoaBuffer result, double dd, int ndigits, bool& sign, int& exponent, unsigned& precision);
/external/qemu/distrib/sdl-1.2.12/src/audio/bsd/
DSDL_bsdaudio.c273 info.play.precision, in OBSD_Status()
339 info.play.precision = 8; in OBSD_OpenAudio()
343 info.play.precision = 8; in OBSD_OpenAudio()
347 info.play.precision = 16; in OBSD_OpenAudio()
351 info.play.precision = 16; in OBSD_OpenAudio()
355 info.play.precision = 16; in OBSD_OpenAudio()
359 info.play.precision = 16; in OBSD_OpenAudio()
/external/libxml2/
Dtrio.c640 int precision; member
1178 int precision; variable
1259 precision = NO_PRECISION;
1306 precision = TrioGetPosition(format, &index);
1307 if (precision == NO_POSITION)
1311 precision = parameterPosition;
1314 precision = currentParam;
1315 currentParam = precision + 1;
1321 currentParam = precision + 1;
1323 maxParam = precision;
[all …]
/external/mdnsresponder/mDNSShared/
DDebugServices.c1201 unsigned int precision; in DebugSNPrintFVAList() member
1258 { F.precision = va_arg(arg, unsigned int); c = *++fmt; } in DebugSNPrintFVAList()
1260 F.precision = (10 * F.precision) + (c - '0'); in DebugSNPrintFVAList()
1290 F.precision = (sizeof(uintptr_t) == 4) ? 8 : 16; in DebugSNPrintFVAList()
1335 F.precision = F.fieldWidth; in DebugSNPrintFVAList()
1336 if (F.altForm) F.precision -= 2; in DebugSNPrintFVAList()
1337 if (F.sign) --F.precision; in DebugSNPrintFVAList()
1339 if (F.precision < 1) F.precision = 1; in DebugSNPrintFVAList()
1341 if (F.precision > mDNS_VACB_Size - 1) in DebugSNPrintFVAList()
1342 F.precision = mDNS_VACB_Size - 1; in DebugSNPrintFVAList()
[all …]
/external/stlport/stlport/
Dcomplex29 // in the C++ Standard. Single-precision complex numbers
30 // are complex<float>, double-precision are complex<double>, and
31 // quad precision are complex<long double>.
/external/webkit/Source/WebCore/inspector/front-end/
Dutilities.js826 function addSpecifierToken(specifier, precision, substitutionIndex) argument
828 …tokens.push({ type: "specifier", specifier: specifier, precision: precision, substitutionIndex: su… property
855 var precision = -1;
860 precision = parseInt(format.substring(index));
861 if (isNaN(precision))
862 precision = 0;
867 addSpecifierToken(format[index], precision, substitutionIndex);
892 if (substitution && token.precision > -1)
893 substitution = substitution.toFixed(token.precision);
894 …eturn !isNaN(substitution) ? substitution : (token.precision > -1 ? Number(0).toFixed(token.precis…
[all …]

12345678910