/external/libpng/contrib/libtests/ |
tarith.c | 79 double max_error_abs=17; /* Used when precision is DBL_DIG */ 83 int precision = 5; local 121 fprintf(stderr, "%.*g %d\n", DBL_DIG, test, precision); 126 png_ascii_from_fp(0, buffer, precision+10, test, precision); 131 if (buffer[precision+7] != 71) 134 precision, buffer, (unsigned long)strlen(buffer)); 150 precision, buffer); 154 else if (!png_check_fp_number(buffer, precision+10, &state, &index) || 158 precision, buffer, buffer[index]) [all...] |
/cts/suite/cts/deviceTests/opengl/assets/fragment/ |
water | 14 precision mediump float;
|
/external/chromium_org/third_party/angle/src/compiler/translator/ |
InfoSink.h | 68 // Make sure floats are written with correct precision. 71 // does not have a fractional part, the default precision format does 76 stream.precision(1); 81 stream.precision(8);
|
/external/chromium_org/third_party/angle/tests/compiler_tests/ |
CollectVariables_test.cpp | 61 "precision mediump float;\n" 77 EXPECT_GLENUM_EQ(GL_MEDIUM_FLOAT, outputVariable.precision); 87 "precision mediump float;\n" 103 EXPECT_GLENUM_EQ(GL_MEDIUM_FLOAT, outputVariable.precision); 128 EXPECT_GLENUM_EQ(GL_HIGH_FLOAT, attribute.precision); 163 EXPECT_GLENUM_EQ(GL_HIGH_FLOAT, field.precision); 200 EXPECT_GLENUM_EQ(GL_HIGH_FLOAT, field.precision); 249 EXPECT_GLENUM_EQ(GL_HIGH_FLOAT, member.precision); 293 EXPECT_GLENUM_EQ(GL_HIGH_FLOAT, member.precision); 337 EXPECT_GLENUM_EQ(GL_HIGH_FLOAT, member.precision); [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/common/ |
vp9_reconinter.h | 39 enum mv_precision precision, 49 enum mv_precision precision,
|
/external/libcxx/test/input.output/iostream.format/input.streams/iostreamclass/iostream.cons/ |
move.pass.cpp | 58 assert(is.precision() == 6); 74 assert(is.precision() == 6);
|
/external/libcxx/test/input.output/iostream.format/input.streams/istream/istream.cons/ |
move.pass.cpp | 58 assert(is.precision() == 6); 74 assert(is.precision() == 6);
|
/external/libcxx/test/input.output/iostream.format/output.streams/ostream.cons/ |
move.pass.cpp | 56 assert(os.precision() == 6); 70 assert(os.precision() == 6);
|
/external/openfst/src/bin/ |
fstdraw.cc | 29 DEFINE_int32(precision, 5, "Set precision (number of char/float)"); 76 ostrm->precision(FLAGS_precision);
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/ |
lp_test_arit.c | 86 * Required precision in bits. 88 double precision; member in struct:unary_test_t 330 double error, precision; local 334 precision = error ? -log2(error/fabs(ref)) : FLT_MANT_DIG; 336 pass = precision >= test->precision; 343 printf("%s(%.9g): ref = %.9g, out = %.9g, precision = %f bits, %s\n", 344 test->name, in[i], ref, out[i], precision,
|
/external/libpcap/ |
savefile.c | 174 pcap_open_offline_with_tstamp_precision(const char *fname, u_int precision, 203 p = pcap_fopen_offline_with_tstamp_precision(fp, precision, errbuf); 219 pcap_t* pcap_hopen_offline_with_tstamp_precision(intptr_t osfd, u_int precision, 239 return pcap_fopen_offline_with_tstamp_precision(file, precision, 261 pcap_fopen_offline_with_tstamp_precision(FILE *fp, u_int precision, 296 p = (*check_headers[i])(magic, fp, precision, errbuf, &err);
|
/external/llvm/test/MC/ARM/ |
directive-arch_extension-simd.s | 136 @ CHECK-V8: error: instruction requires: double precision VFP FPARMv8 139 @ CHECK-V8: error: instruction requires: double precision VFP FPARMv8 149 @ CHECK-V8: error: instruction requires: double precision VFP FPARMv8 152 @ CHECK-V8: error: instruction requires: double precision VFP FPARMv8 161 @ CHECK-V8: error: instruction requires: double precision VFP FPARMv8 164 @ CHECK-V8: error: instruction requires: double precision VFP FPARMv8 173 @ CHECK-V8: error: instruction requires: double precision VFP FPARMv8 176 @ CHECK-V8: error: instruction requires: double precision VFP FPARMv8 185 @ CHECK-V8: error: instruction requires: double precision VFP FPARMv8 188 @ CHECK-V8: error: instruction requires: double precision VFP FPARMv [all...] |
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_test_arit.c | 86 * Required precision in bits. 88 double precision; member in struct:unary_test_t 330 double error, precision; local 334 precision = error ? -log2(error/fabs(ref)) : FLT_MANT_DIG; 336 pass = precision >= test->precision; 343 printf("%s(%.9g): ref = %.9g, out = %.9g, precision = %f bits, %s\n", 344 test->name, in[i], ref, out[i], precision,
|
/external/deqp/modules/gles31/functional/ |
es31fShaderAtomicOpTests.cpp | 68 ShaderAtomicOpCase (Context& context, const char* name, const char* funcName, AtomicOperandType operandType, DataType type, Precision precision, const UVec3& workGroupSize); 82 const Precision m_precision; 96 ShaderAtomicOpCase::ShaderAtomicOpCase (Context& context, const char* name, const char* funcName, AtomicOperandType operandType, DataType type, Precision precision, const UVec3& workGroupSize) 101 , m_precision (precision) 258 ShaderAtomicAddCase (Context& context, const char* name, AtomicOperandType operandType, DataType type, Precision precision) 259 : ShaderAtomicOpCase(context, name, "atomicAdd", operandType, type, precision, UVec3(3,2,1)) 347 static int getPrecisionNumIntegerBits (glu::Precision precision [all...] |
es31fShaderSharedVarTests.cpp | 73 SharedBasicVarCase (Context& context, const char* name, DataType basicType, Precision precision, const tcu::UVec3& workGroupSize); 85 const Precision m_precision; 91 static std::string getBasicCaseDescription (DataType basicType, Precision precision, const tcu::UVec3& workGroupSize) 94 if (precision != PRECISION_LAST) 95 str << getPrecisionName(precision) << " "; 100 SharedBasicVarCase::SharedBasicVarCase (Context& context, const char* name, DataType basicType, Precision precision, const tcu::UVec3& workGroupSize) 101 : TestCase (context, name, getBasicCaseDescription(basicType, precision, workGroupSize).c_str() [all...] |
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_printf.cc | 98 static int AppendString(char **buff, const char *buff_end, int precision, 104 if (precision >= 0 && result >= precision) 143 int precision = -1; local 146 precision = va_arg(args, int); 155 // Only %s supports precision for now 156 CHECK(!(precision >= 0 && *cur != 's')); 182 result += AppendString(&buff, buff_end, precision, va_arg(args, char*));
|
/external/llvm/lib/Support/ |
APFloat.cpp | 10 // This file implements a class to represent arbitrary precision floating 55 unsigned int precision; member in struct:llvm::fltSemantics 634 unsigned bitsToPreserve = semantics->precision - 1; 642 unsigned QNaNBit = semantics->precision - 2; 658 // For x87 extended precision, we want to make a NaN, not a 704 semantics->precision - 1) == 0); 727 PartCount*integerPartWidth - semantics->precision + 1; 749 PartCount*integerPartWidth - semantics->precision + 1; 797 exponent = ourSemantics.precision - 1; 840 return partCountForBits(semantics->precision + 1) [all...] |
/external/chromium_org/third_party/WebKit/Source/wtf/dtoa/ |
double-conversion.cc | 260 DoubleToAscii(value, PRECISION, requested_digits + 1, 286 int precision, 292 if (precision < kMinPrecisionDigits || precision > kMaxPrecisionDigits) { 304 DoubleToAscii(value, PRECISION, precision, 307 ASSERT(decimal_rep_length <= precision); 320 (decimal_point - precision + extra_zero > 322 // Fill buffer to contain 'precision' digits. 325 for (int i = decimal_rep_length; i < precision; ++i) [all...] |
/external/mksh/src/ |
shf.c | 767 ssize_t field, precision, len; local 798 field = precision = 0; 824 precision = 0; 830 precision = tmp; 865 precision = tmp; 873 if (precision < 0) 874 precision = 0; 979 if (precision > len) { 980 field = precision; 984 precision = len [all...] |
/external/deqp/modules/gles3/functional/ |
es3fShaderDerivateTests.cpp | 222 static int getNumMantissaBits (const glu::Precision precision) 224 switch (precision) 235 static int getMinExponent (const glu::Precision precision) 237 switch (precision) 326 static inline tcu::Vec4 getDerivateThreshold (const glu::Precision precision, const tcu::Vec4& valueMin, const tcu::Vec4& valueMax, const tcu::Vec4& expectedDerivate) 328 const int baseBits = getNumMantissaBits(precision); 440 glu::Precision precision 1436 glu::Precision precision; member in struct:deqp::gles3::Functional::FunctionSpec 1691 const glu::Precision precision = glu::Precision(precNdx); local 1721 const glu::Precision precision = glu::Precision(precNdx); local 1755 const glu::Precision precision = glu::Precision(precNdx); local 1787 const glu::Precision precision = glu::Precision(precNdx); local [all...] |
es3fShaderPrecisionTests.cpp | 21 * \brief Shader precision tests. 64 static glu::ShaderProgram* createFloatPrecisionEvalProgram (const glu::RenderContext& context, glu::Precision precision, const char* evalOp, bool isVertexCase) 70 const char* precName = glu::getPrecisionName(precision); 124 static glu::ShaderProgram* createIntUintPrecisionEvalProgram (const glu::RenderContext& context, glu::DataType type, glu::Precision precision, const char* evalOp, bool isVertexCase) 127 const char* precName = glu::getPrecisionName(precision); 182 ShaderFloatPrecisionCase (Context& context, const char* name, const char* desc, const char* op, EvalFunc evalFunc, glu::Precision precision, const tcu::Vec2& rangeA, const tcu::Vec2& rangeB, bool isVertexCase); 220 glu::Precision m_precision 885 glu::Precision precision; member in struct:deqp::gles3::Functional::__anon24688 906 glu::Precision precision; member in struct:deqp::gles3::Functional::__anon24689 932 glu::Precision precision; member in struct:deqp::gles3::Functional::__anon24690 [all...] |
/external/eigen/Eigen/src/Eigen2Support/Geometry/ |
AngleAxis.h | 139 /** \returns \c true if \c *this is approximately equal to \a other, within the precision 143 bool isApprox(const AngleAxis& other, typename NumTraits<Scalar>::Real prec = precision<Scalar>()) const 148 * single precision angle-axis type */ 151 * double precision angle-axis type */ 161 if (n2 < precision<Scalar>()*precision<Scalar>())
|
/external/deqp/framework/delibs/decpp/ |
deStringUtil.cpp | 109 std::string floatToString (float val, int precision) 112 s << std::fixed << std::setprecision(precision) << val;
|
/external/e2fsprogs/intl/ |
vasnprintf.c | 278 size_t precision; local 302 precision = 6; 312 precision = (arg < 0 ? 0 : arg); 318 precision = 0; 320 precision = xsum (xtimes (precision, 10), *digitp++ - '0'); 431 tmp_length = xsum (tmp_length, precision); 438 tmp_length = xsum (tmp_length, precision);
|
/external/libcxx/test/input.output/iostreams.base/ios.base/fmtflags.state/ |
Android.mk | 27 test_name := input.output/iostreams.base/ios.base/fmtflags.state/precision 28 test_src := precision.pass.cpp
|