/external/chromium_org/third_party/icu/source/test/intltest/ |
H A D | astrotst.cpp | 454 static const double precision = CalendarAstronomer::PI/32; local 465 if(!(got>expectedAge-precision && got<expectedAge+precision)){
|
/external/chromium_org/third_party/icu/source/test/iotest/ |
H A D | iotest.cpp | 578 int32_t precision; local 607 precision=testCase->getInt28("precision", errorCode); 619 uBufferLenReturned = u_sprintf_u(uBuffer, format, precision, dbl); 623 uBufferLenReturned = u_sprintf_u(uBuffer, format, precision, i8); 627 uBufferLenReturned = u_sprintf_u(uBuffer, format, precision, i16); 631 uBufferLenReturned = u_sprintf_u(uBuffer, format, precision, i32); 635 uBufferLenReturned = u_sprintf_u(uBuffer, format, precision, i64); 639 uBufferLenReturned = u_sprintf_u(uBuffer, format, precision, cBuffer); 642 uBufferLenReturned = u_sprintf_u(uBuffer, format, precision, argumen [all...] |
/external/chromium_org/third_party/libxslt/libexslt/ |
H A D | math.c | 348 * @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...] |
/external/deqp/framework/opengl/ |
H A D | gluVarTypeUtil.hpp | 397 Precision precision = curType->getPrecision(); local 412 return VarType(basicType, precision);
|
H A D | gluES3PlusWrapperContext.cpp | 280 else if (line.substr(0, 10) == "precision ") 289 const std::string precision = line.substr(precPos, precEndPos-precPos); local 291 const bool precOk = precision == "lowp" || precision == "mediump" || precision == "highp";
|
/external/deqp/modules/gles2/accuracy/ |
H A D | es2aVaryingInterpolationTests.cpp | 100 InterpolationCase (Context& context, const char* name, const char* desc, glu::Precision precision, const tcu::Vec3& minVal, const tcu::Vec3& maxVal, bool projective); 112 InterpolationCase::InterpolationCase (Context& context, const char* name, const char* desc, glu::Precision precision, const tcu::Vec3& minVal, const tcu::Vec3& maxVal, bool projective) argument 114 , m_precision (precision) 125 static bool isValidFloat (glu::Precision precision, float val) argument 127 if (precision == glu::PRECISION_MEDIUMP) 140 static bool isValidFloatVec (glu::Precision precision, const tcu::Vector<float, Size>& vec) argument 144 if (!isValidFloat(precision, vec[ndx])) 314 for (int precision = glu::PRECISION_LOWP; precision <= glu::PRECISION_HIGHP; precision [all...] |
/external/deqp/modules/gles3/accuracy/ |
H A D | es3aVaryingInterpolationTests.cpp | 103 InterpolationCase (Context& context, const char* name, const char* desc, glu::Precision precision, const tcu::Vec3& minVal, const tcu::Vec3& maxVal, bool projective); 115 InterpolationCase::InterpolationCase (Context& context, const char* name, const char* desc, glu::Precision precision, const tcu::Vec3& minVal, const tcu::Vec3& maxVal, bool projective) argument 117 , m_precision (precision) 128 static bool isValidFloat (glu::Precision precision, float val) argument 130 if (precision == glu::PRECISION_MEDIUMP) 143 static bool isValidFloatVec (glu::Precision precision, const tcu::Vector<float, Size>& vec) argument 147 if (!isValidFloat(precision, vec[ndx])) 321 for (int precision = glu::PRECISION_LOWP; precision <= glu::PRECISION_HIGHP; precision [all...] |
/external/deqp/modules/gles3/functional/ |
H A D | es3fShaderPackingFunctionTests.cpp | 120 static const char* getPrecisionPostfix (glu::Precision precision) argument 129 DE_ASSERT(de::inBounds<int>(precision, 0, DE_LENGTH_OF_ARRAY(s_postfix))); 130 return s_postfix[precision]; 147 PackSnorm2x16Case (Context& context, glu::ShaderType shaderType, glu::Precision precision) argument 148 : ShaderPackingFunctionCase (context, (string("packsnorm2x16") + getPrecisionPostfix(precision) + getShaderTypePostfix(shaderType)).c_str(), "packSnorm2x16", shaderType) 149 , m_precision (precision) 151 m_spec.inputs.push_back(Symbol("in0", glu::VarType(glu::TYPE_FLOAT_VEC2, precision))); 338 PackUnorm2x16Case (Context& context, glu::ShaderType shaderType, glu::Precision precision) argument 339 : ShaderPackingFunctionCase (context, (string("packunorm2x16") + getPrecisionPostfix(precision) + getShaderTypePostfix(shaderType)).c_str(), "packUnorm2x16", shaderType) 340 , m_precision (precision) [all...] |
H A D | es3fFboTestUtil.cpp | 236 const char* precision = "highp"; local 246 src << "uniform " << precision << " " << glu::getDataTypeName(samplerTypes[samplerNdx]) << " u_sampler" << samplerNdx << ";\n"; 247 src << "uniform " << precision << " vec4 u_texScale" << samplerNdx << ";\n"; 248 src << "uniform " << precision << " vec4 u_texBias" << samplerNdx << ";\n"; 252 src << "uniform " << precision << " vec4 u_outScale0;\n" 253 << "uniform " << precision << " vec4 u_outBias0;\n"; local 258 << " " << precision << " vec4 out0 = vec4(0.0);\n"; local
|
H A D | es3fShaderInvarianceTests.cpp | 493 const glu::Precision precision = precisions[precNdx].prec; local 494 tcu::TestCaseGroup* const group = new tcu::TestCaseGroup(m_testCtx, precisionName, "Invariance tests using the given precision."); 634 // shared subexpression of different precision 639 const glu::Precision minPrecision = (precisionOther < (int)precision) ? ((glu::Precision)precisionOther) : (precision); 644 group->addChild(new BasicInvarianceTest(m_context, ("subexpression_precision_" + std::string(unrelatedPrec)).c_str(), "Shader shares subexpression of different precision with an unrelated variable.",
|
H A D | es3fShaderPrecisionTests.cpp | 21 * \brief Shader precision tests. 64 static glu::ShaderProgram* createFloatPrecisionEvalProgram (const glu::RenderContext& context, glu::Precision precision, const char* evalOp, bool isVertexCase) argument 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) argument 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); 236 ShaderFloatPrecisionCase::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) argument 240 , m_precision (precision) 457 ShaderIntPrecisionCase (Context& context, const char* name, const char* desc, const char* op, EvalFunc evalFunc, glu::Precision precision, int bits, const tcu::IVec2& rangeA, const tcu::IVec2& rangeB, bool isVertexCase); 488 ShaderIntPrecisionCase::ShaderIntPrecisionCase (Context& context, const char* name, const char* desc, const char* op, EvalFunc evalFunc, glu::Precision precision, in argument 687 ShaderUintPrecisionCase(Context& context, const char* name, const char* desc, const char* op, EvalFunc evalFunc, glu::Precision precision, int bits, const tcu::UVec2& rangeA, const tcu::UVec2& rangeB, bool isVertexCase) argument 885 glu::Precision precision; member in struct:deqp::gles3::Functional::__anon20070 906 glu::Precision precision; member in struct:deqp::gles3::Functional::__anon20071 932 glu::Precision precision; member in struct:deqp::gles3::Functional::__anon20072 [all...] |
/external/deqp/modules/gles31/functional/ |
H A D | es31fShaderAtomicOpTests.cpp | 68 ShaderAtomicOpCase (Context& context, const char* name, const char* funcName, AtomicOperandType operandType, DataType type, Precision precision, const UVec3& workGroupSize); 96 ShaderAtomicOpCase::ShaderAtomicOpCase (Context& context, const char* name, const char* funcName, AtomicOperandType operandType, DataType type, Precision precision, const UVec3& workGroupSize) argument 101 , m_precision (precision) 258 ShaderAtomicAddCase (Context& context, const char* name, AtomicOperandType operandType, DataType type, Precision precision) argument 259 : ShaderAtomicOpCase(context, name, "atomicAdd", operandType, type, precision, UVec3(3,2,1)) 347 static int getPrecisionNumIntegerBits (glu::Precision precision) argument 349 switch (precision) 366 static bool intEqualsAfterUintCast (deInt32 value, deUint32 casted, glu::Precision precision) argument 375 const int numPreciseBits = getPrecisionNumIntegerBits(precision); 378 // Lowest N bits must match, N = minimum precision [all...] |
H A D | es31fFboTestUtil.cpp | 79 const char* precision = "highp"; local 89 src << "uniform " << precision << " " << glu::getDataTypeName(samplerTypes[samplerNdx]) << " u_sampler" << samplerNdx << ";\n"; 90 src << "uniform " << precision << " vec4 u_texScale" << samplerNdx << ";\n"; 91 src << "uniform " << precision << " vec4 u_texBias" << samplerNdx << ";\n"; 95 src << "uniform " << precision << " vec4 u_outScale0;\n" 96 << "uniform " << precision << " vec4 u_outBias0;\n"; local 101 << " " << precision << " vec4 out0 = vec4(0.0);\n"; local
|
H A D | es31fNegativeStateApiTests.cpp | 268 GLint precision[1]; local 271 deMemset(&precision[0], 0xcd, sizeof(precision)); 274 ctx.glGetShaderPrecisionFormat (-1, GL_MEDIUM_FLOAT, &range[0], &precision[0]); 276 ctx.glGetShaderPrecisionFormat (GL_VERTEX_SHADER, -1, &range[0], &precision[0]); 278 ctx.glGetShaderPrecisionFormat (-1, -1, &range[0], &precision[0]);
|
H A D | es31fShaderPackingFunctionTests.cpp | 120 static const char* getPrecisionPostfix (glu::Precision precision) argument 129 DE_ASSERT(de::inBounds<int>(precision, 0, DE_LENGTH_OF_ARRAY(s_postfix))); 130 return s_postfix[precision]; 151 PackSnorm2x16Case (Context& context, glu::ShaderType shaderType, glu::Precision precision) argument 152 : ShaderPackingFunctionCase (context, (string("packsnorm2x16") + getPrecisionPostfix(precision) + getShaderTypePostfix(shaderType)).c_str(), "packSnorm2x16", shaderType) 153 , m_precision (precision) 155 m_spec.inputs.push_back(Symbol("in0", glu::VarType(glu::TYPE_FLOAT_VEC2, precision))); 342 PackUnorm2x16Case (Context& context, glu::ShaderType shaderType, glu::Precision precision) argument 343 : ShaderPackingFunctionCase (context, (string("packunorm2x16") + getPrecisionPostfix(precision) + getShaderTypePostfix(shaderType)).c_str(), "packUnorm2x16", shaderType) 344 , m_precision (precision) 749 PackSnorm4x8Case(Context& context, glu::ShaderType shaderType, glu::Precision precision) argument 958 PackUnorm4x8Case(Context& context, glu::ShaderType shaderType, glu::Precision precision) argument [all...] |
/external/eigen/unsupported/Eigen/src/SVD/ |
H A D | JacobiSVD.h | 645 // currently we stop when we reach precision 2*epsilon as the last bit of precision can require an unreasonable number of iterations, 646 // only worsening the precision of U and V as we accumulate more rotations 647 const RealScalar precision = RealScalar(2) * NumTraits<Scalar>::epsilon(); local 680 RealScalar threshold = (max)(considerAsZero, precision * (max)(abs(m_workMatrix.coeff(p,p)),
|
/external/icu/icu4c/source/test/iotest/ |
H A D | iotest.cpp | 578 int32_t precision; local 607 precision=testCase->getInt28("precision", errorCode); 619 uBufferLenReturned = u_sprintf_u(uBuffer, format, precision, dbl); 623 uBufferLenReturned = u_sprintf_u(uBuffer, format, precision, i8); 627 uBufferLenReturned = u_sprintf_u(uBuffer, format, precision, i16); 631 uBufferLenReturned = u_sprintf_u(uBuffer, format, precision, i32); 635 uBufferLenReturned = u_sprintf_u(uBuffer, format, precision, i64); 639 uBufferLenReturned = u_sprintf_u(uBuffer, format, precision, cBuffer); 642 uBufferLenReturned = u_sprintf_u(uBuffer, format, precision, argumen [all...] |
/external/kernel-headers/original/uapi/linux/ |
H A D | timex.h | 72 __kernel_long_t precision;/* clock precision (usec) (read only) */ member in struct:timex
|
/external/mksh/src/ |
H A D | 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 [all...] |
/external/strace/ |
H A D | vsprintf.c | 236 * %8.4u - no precision field for integers allowed (ok for strings) 272 int precision; /* # of digits/chars */ member in struct:printf_spec 340 //spec.precision is assumed 0 ("not specified") 342 // if (i > spec.precision) 343 // spec.precision = i; 345 // spec.field_width -= spec.precision; 381 // while (i <= --spec.precision) { 410 len = strnlen(s, spec.precision); 471 * @precision: precision o [all...] |
/external/valgrind/main/none/tests/ppc32/ |
H A D | test_dfp4.c | 456 precision_type_t precision; member in struct:dfp_test 464 precision_type_t precision; member in struct:dfp_one_arg_test 494 if (test_def.precision == LONG_TEST) { 514 if (test_def.precision == QUAD_TEST) { 560 if (test_def.precision == LONG_TEST) { 579 if (test_def.precision == LONG_TEST) {
|
/external/valgrind/main/none/tests/ppc64/ |
H A D | test_dfp4.c | 456 precision_type_t precision; member in struct:dfp_test 464 precision_type_t precision; member in struct:dfp_one_arg_test 494 if (test_def.precision == LONG_TEST) { 514 if (test_def.precision == QUAD_TEST) { 560 if (test_def.precision == LONG_TEST) { 579 if (test_def.precision == LONG_TEST) {
|
/external/chromium_org/cc/output/ |
H A D | gl_renderer_unittest.cc | 72 void TestShadersWithTexCoordPrecision(TexCoordPrecision precision) { argument 73 EXPECT_PROGRAM_VALID(renderer()->GetRenderPassProgram(precision)); 74 EXPECT_PROGRAM_VALID(renderer()->GetRenderPassProgramAA(precision)); 75 EXPECT_PROGRAM_VALID(renderer()->GetRenderPassMaskProgram(precision)); 76 EXPECT_PROGRAM_VALID(renderer()->GetRenderPassMaskProgramAA(precision)); 78 renderer()->GetRenderPassColorMatrixProgram(precision)); 80 renderer()->GetRenderPassMaskColorMatrixProgramAA(precision)); 82 renderer()->GetRenderPassColorMatrixProgramAA(precision)); 84 renderer()->GetRenderPassMaskColorMatrixProgram(precision)); 85 EXPECT_PROGRAM_VALID(renderer()->GetTextureProgram(precision)); 106 TestShadersWithSamplerType(TexCoordPrecision precision, SamplerType sampler) argument 205 TestRenderPassProgram(TexCoordPrecision precision) argument 211 TestRenderPassColorMatrixProgram(TexCoordPrecision precision) argument 218 TestRenderPassMaskProgram(TexCoordPrecision precision) argument 224 TestRenderPassMaskColorMatrixProgram(TexCoordPrecision precision) argument 232 TestRenderPassProgramAA(TexCoordPrecision precision) argument 238 TestRenderPassColorMatrixProgramAA(TexCoordPrecision precision) argument 246 TestRenderPassMaskProgramAA(TexCoordPrecision precision) argument 252 TestRenderPassMaskColorMatrixProgramAA(TexCoordPrecision precision) argument [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/common/ |
H A D | vp9_reconinter.c | 132 enum mv_precision precision, 134 const int is_q4 = precision == MV_PRECISION_Q4; 167 enum mv_precision precision, 169 const int is_q4 = precision == MV_PRECISION_Q4; 283 // mv_precision precision is MV_PRECISION_Q4. 393 // mv_precision precision is MV_PRECISION_Q4. 416 // Co-ordinate of containing block to pixel precision. 420 // Co-ordinate of the block to 1/16th pixel precision. 425 // to 1/16th pixel precision. 439 // Co-ordinate of containing block to pixel precision 126 vp9_build_inter_predictor(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, const MV *src_mv, const struct scale_factors *sf, int w, int h, int ref, const InterpKernel *kernel, enum mv_precision precision, int x, int y) argument 161 vp9_high_build_inter_predictor(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, const MV *src_mv, const struct scale_factors *sf, int w, int h, int ref, const InterpKernel *kernel, enum mv_precision precision, int x, int y, int bd) argument [all...] |
/external/deqp/modules/gles2/functional/ |
H A D | es2fShaderInvarianceTests.cpp | 491 const glu::Precision precision = precisions[precNdx].prec; local 492 tcu::TestCaseGroup* const group = new tcu::TestCaseGroup(m_testCtx, precisionName, "Invariance tests using the given precision."); 632 // shared subexpression of different precision 637 const glu::Precision minPrecision = (precisionOther < (int)precision) ? ((glu::Precision)precisionOther) : (precision); 642 group->addChild(new BasicInvarianceTest(m_context, ("subexpression_precision_" + std::string(unrelatedPrec)).c_str(), "Shader shares subexpression of different precision with an unrelated variable.",
|