/external/oprofile/libutil++/ |
stream_util.cpp | 20 precision(stream.precision()), 29 stream.precision(precision);
|
stream_util.h | 21 * save the stream flags, precision and fill char. 35 std::streamsize precision; member in class:io_state
|
/libcore/luni/src/main/java/java/util/ |
Formattable.java | 49 * @param precision 52 * before the width padding is applied. If the precision 57 void formatTo(Formatter formatter, int flags, int width, int precision)
|
Formatter.java | 52 * argument index, optional flags, an optional width, an optional precision, and a mandatory 54 * In the example, {@code "%s"} has no flags, no width, and no precision, while 55 * {@code "%03d"} has the flag {@code 0}, the width 3, and no precision. 57 * Not all combinations of argument index, flags, width, precision, and conversion type 120 * truncate a field, only to make it wider: see precision for control over the maximum width. 122 * <i>Precision</i>. The precision is a {@code .} followed by a decimal integer, giving the minimum 1149 private int precision = UNSET; field in class:Formatter.FormatToken 1613 int precision = formatToken.getPrecision(); local 2094 final int precision = formatToken.getPrecision(); local 2127 int precision = formatToken.getPrecision(); local [all...] |
/libcore/luni/src/main/java/java/math/ |
MathContext.java | 27 * precision for the numerical operations provided by class {@link BigDecimal}. 34 * decimal precision format: 34 digit precision and 41 * precision format: 7 digit precision and {@link RoundingMode#HALF_EVEN} 48 * precision format: 16 digit precision and {@link RoundingMode#HALF_EVEN} 54 * A {@code MathContext} for unlimited precision with 61 * this precision. 63 private final int precision; field in class:MathContext [all...] |
/external/astl/include/ |
iomanip | 47 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/astl/tests/ |
test_iostream.cpp | 43 mPassed = std::cout.precision() == 6; 56 EXPECT_TRUE(std::cout.precision() == 6); 57 EXPECT_TRUE(std::cerr.precision() == 6); 59 std::cout.precision(20); 60 std::cerr.precision(20); 62 EXPECT_TRUE(std::cout.precision() == 20); 63 EXPECT_TRUE(std::cerr.precision() == 20); 65 std::cout.precision(6); 66 std::cerr.precision(6); 96 cout.precision(std::numeric_limits<double>::digits10) [all...] |
test_ios_base.cpp | 43 EXPECT_TRUE(s.precision() == 6); 49 EXPECT_TRUE(s.precision(10) == 6); 50 EXPECT_TRUE(s.precision() == 10); 51 EXPECT_TRUE(s.precision(-1) == 10); // no-op 52 EXPECT_TRUE(s.precision() == 10);
|
test_iomanip.cpp | 45 EXPECT_TRUE(s.precision() == 6); 47 EXPECT_TRUE(s.precision() == 20);
|
/external/webkit/Source/JavaScriptCore/wtf/ |
dtoa.h | 37 void dtoa(DtoaBuffer result, double dd, bool& sign, int& exponent, unsigned& precision); 38 void dtoaRoundSF(DtoaBuffer result, double dd, int ndigits, bool& sign, int& exponent, unsigned& precision); 39 void dtoaRoundDP(DtoaBuffer result, double dd, int ndigits, bool& sign, int& exponent, unsigned& precision);
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
IllegalFormatPrecisionExceptionTest.java | 42 int precision = 12345; local 44 precision); 45 assertEquals(precision, illegalFormatPrecisionException.getPrecision()); 52 int precision = 12345; local 54 precision); 70 assertEquals("Precision", initEx.getPrecision(), desrEx
|
/external/webkit/Tools/Scripts/webkitpy/python24/ |
versioning.py | 58 to the precision of the given target version. For 74 precision = len(target_version.split(".")) 78 current_version_info_to_compare = sysmodule.version_info[:precision]
|
/external/astl/src/ |
ios_base.cpp | 75 streamsize ios_base::precision(streamsize precision) { function in class:std::ios_base 77 if (precision >= 0) { // Not sure what a negative precision would mean. 78 mPrecision = precision;
|
/external/mesa3d/src/glsl/ |
ast_type.cpp | 52 is_array(false), array_size(NULL), precision(ast_precision_high)
|
/external/bluetooth/glib/glib/gnulib/ |
vasnprintf.c | 83 int precision, 151 /* Adjust precision */ 152 if (precision != -1) 154 precision -= (bufferend - pointer) - 1; 155 if (precision < 0) 156 precision = 0; 180 ((flags & FLAG_ZERO) && (precision == -1)))) 182 count = (precision == -1) ? 0 : precision; 220 if (precision == -1 392 unsigned int precision; local 848 int precision; local [all...] |
/external/webkit/Source/ThirdParty/ANGLE/src/compiler/ |
Types.h | 43 TPrecision precision; member in class:TPublicType 55 precision = EbpUndefined; 87 type(t), precision(p), qualifier(q), size(s), matrix(m), array(a), arraySize(0), 92 type(p.type), precision(p.precision), qualifier(p.qualifier), size(p.size), matrix(p.matrix), array(p.array), arraySize(p.arraySize), 101 type(EbtStruct), precision(p), qualifier(EvqTemporary), size(1), matrix(false), array(false), arraySize(0), 110 precision = copyOf.precision; 162 TPrecision getPrecision() const { return precision; } 163 void setPrecision(TPrecision p) { precision = p; 276 TPrecision precision; member in class:TType [all...] |
/external/flac/libFLAC/include/private/ |
float.h | 85 * 'precision' roughly limits the number of iterations that are done; 86 * use (unsigned)(-1) for maximum precision. 93 FLAC__uint32 FLAC__fixedpoint_log2(FLAC__uint32 x, unsigned fracbits, unsigned precision);
|
/external/stlport/src/ |
num_put_float.cpp | 403 // If long double value can be safely converted to double without losing precision 443 // If long double value can be safely converted to double without losing precision 481 // according to the specified precision and format flags. This is 490 int precision) { 506 if (precision != 0 || flags & ios_base::showpoint) { 511 while (*bp != 0 && precision--) 515 if (precision > 0) 516 buf.append(precision, '0'); 553 int precision) { 554 if ( sign && (decpt > -precision) && (*bp != 0) 761 snprintf(_STLP_ARRAY_AND_SIZE(static_buf), fmtbuf, precision, x); local [all...] |
/ndk/sources/cxx-stl/stlport/src/ |
num_put_float.cpp | 402 // If long double value can be safely converted to double without losing precision 442 // If long double value can be safely converted to double without losing precision 480 // according to the specified precision and format flags. This is 489 int precision) { 505 if (precision != 0 || flags & ios_base::showpoint) { 510 while (*bp != 0 && precision--) 514 if (precision > 0) 515 buf.append(precision, '0'); 552 int precision) { 553 if ( sign && (decpt > -precision) && (*bp != 0) 760 snprintf(_STLP_ARRAY_AND_SIZE(static_buf), fmtbuf, precision, x); local [all...] |
/external/llvm/lib/Support/ |
APFloat.cpp | 10 // This file implements a class to represent arbitrary precision floating 47 unsigned int precision; member in struct:llvm::fltSemantics 647 unsigned bitsToPreserve = semantics->precision - 1; 655 unsigned QNaNBit = semantics->precision - 2; 671 // For x87 extended precision, we want to make a NaN, not a 735 exponent = ourSemantics.precision - 1; 792 return partCountForBits(semantics->precision + 1); 798 return semantics.precision; 869 on to the full-precision result of the multiplication. Returns the 875 unsigned int partsCount, newPartsCount, precision; [all...] |
/external/webkit/Source/WebCore/platform/graphics/chromium/ |
ShaderChromium.cpp | 84 precision mediump float; 170 precision mediump float; 185 precision mediump float; 200 precision mediump float; 231 precision mediump float; 271 precision mediump float; 272 precision mediump int; 307 precision mediump float;
|
/libcore/luni/src/test/java/libcore/java/math/ |
BigDecimalTest.java | 45 // test these special cases because we know precision() uses longs internally 54 assertEquals("Unexpected precision for parsed value " + value, 55 expectedPrecision, parsed.precision()); 58 assertEquals("Unexpected precision for computed value " + value, 59 expectedPrecision, computed.precision());
|
/external/apache-harmony/math/src/test/java/org/apache/harmony/tests/java/math/ |
BigDecimalConstructorsTest.java | 101 int precision = 46; local 103 MathContext mc = new MathContext(precision, rm); 118 int precision = 46; local 120 MathContext mc = new MathContext(precision, rm); 175 int precision = 4; local 177 MathContext mc = new MathContext(precision, rm); 199 int precision = 4; local 201 MathContext mc = new MathContext(precision, rm); 216 int precision = 4; local 218 MathContext mc = new MathContext(precision, rm) 291 int precision = 21; local 354 int precision = 21; local 381 int precision = 5; local 675 int precision = 5; local [all...] |
BigDecimalCompareTest.java | 62 int precision = 15; local 64 MathContext mc = new MathContext(precision, rm); 78 int precision = 41; local 80 MathContext mc = new MathContext(precision, rm); 373 int precision = 37; local 375 MathContext mc = new MathContext(precision, rm); 403 int precision = 46; local 405 MathContext mc = new MathContext(precision, rm); 433 int precision = 37; local 435 MathContext mc = new MathContext(precision, rm) 463 int precision = 46; local [all...] |
/external/qemu/distrib/sdl-1.2.12/src/audio/bsd/ |
SDL_bsdaudio.c | 260 "precision : %i-bit\n" 273 info.play.precision, 339 info.play.precision = 8; 343 info.play.precision = 8; 347 info.play.precision = 16; 351 info.play.precision = 16; 355 info.play.precision = 16; 359 info.play.precision = 16;
|