/external/libcxx/test/std/input.output/iostreams.base/ios.base/fmtflags.state/ |
H A D | precision_streamsize.pass.cpp | 14 // streamsize precision(streamsize prec); 32 assert(t.precision() == 6); 33 std::streamsize p = t.precision(10); 35 assert(t.precision() == 10);
|
H A D | precision.pass.cpp | 14 // streamsize precision() const; 32 assert(t.precision() == 6);
|
/external/libpcap/ |
H A D | sf-pcap-ng.h | 30 u_int precision, char *errbuf, int *err);
|
H A D | sf-pcap.h | 35 u_int precision, char *errbuf, int *err);
|
/external/deqp/modules/gles3/performance/ |
H A D | es3pShaderOptimizationTests.cpp | 369 const string precision = getShaderPrecision(m_caseShaderType); local 370 const string statements = optimized ? " " + precision + " vec4 valueOrig = value;\n" 371 " " + precision + " vec4 y = sin(cos(sin(valueOrig)));\n" 374 " " + precision + " float x = 3.2*float(i) + 4.6;\n" 379 : " " + precision + " vec4 valueOrig = value;\n" 382 " " + precision + " float x = 3.2*float(i) + 4.6;\n" 383 " " + precision + " vec4 y = sin(cos(sin(valueOrig)));\n" 407 const string precision = getShaderPrecision(m_caseShaderType); local 409 const string maybeFuncDefs = optimized ? "" : funcDefinitions(m_callNestingDepth, precision, expression); 418 static inline string funcDefinitions (int callNestingDepth, const string& precision, cons argument 452 const string precision = getShaderPrecision(m_caseShaderType); local 465 builtinFunctionsCaseStatements(bool optimized, bool constantExpressionsOnly, const string& precision, bool useHeavierWorkload) argument 482 arrayCaseStatements(bool optimized, bool constantExpressionsOnly, const string& precision, bool useHeavierWorkload) argument 510 structCaseStatements(bool optimized, bool constantExpressionsOnly, const string& precision, bool useHeavierWorkload) argument 561 const string precision = getShaderPrecision(m_caseShaderType); local 574 singleStatementCaseStatements(bool optimized, const string& precision, bool useHeavierWorkload) argument 586 multipleStatementsCaseStatements(bool optimized, const string& precision, bool useHeavierWorkload) argument 606 staticBranchCaseStatements(bool optimized, const string& precision, bool useHeavierWorkload) argument 650 loopCaseStatements(bool optimized, const string& precision, bool useHeavierWorkload) argument 702 const string precision = getShaderPrecision(m_caseShaderType); local 739 deadBranchComplexCaseStatements(bool optimized, const string& precision, bool useConst, bool useHeavierWorkload) argument 760 deadBranchFuncCallCaseFuncDefs(bool optimized, const string& precision) argument 780 unusedValueBasicCaseStatements(bool optimized, const string& precision, bool useHeavierWorkload) argument 793 unusedValueLoopCaseStatements(bool optimized, const string& precision, bool useHeavierWorkload) argument 807 unusedValueAfterReturnCaseFuncDefs(bool optimized, const string& precision, bool useHeavierWorkload) argument 833 unusedValueDeadBranchCaseStatements(bool optimized, const string& precision, bool useHeavierWorkload) argument 848 unusedValueMulZeroCaseStatements(bool optimized, const string& precision, bool useHeavierWorkload) argument [all...] |
/external/deqp/modules/gles2/performance/ |
H A D | es2pShaderOptimizationTests.cpp | 366 const string precision = getShaderPrecision(m_caseShaderType); local 367 const string statements = optimized ? " " + precision + " vec4 valueOrig = value;\n" 368 " " + precision + " vec4 y = sin(cos(sin(valueOrig)));\n" 371 " " + precision + " float x = 3.2*float(i) + 4.6;\n" 376 : " " + precision + " vec4 valueOrig = value;\n" 379 " " + precision + " float x = 3.2*float(i) + 4.6;\n" 380 " " + precision + " vec4 y = sin(cos(sin(valueOrig)));\n" 404 const string precision = getShaderPrecision(m_caseShaderType); local 406 const string maybeFuncDefs = optimized ? "" : funcDefinitions(m_callNestingDepth, precision, expression); 415 static inline string funcDefinitions (int callNestingDepth, const string& precision, cons argument 450 const string precision = getShaderPrecision(m_caseShaderType); local 463 builtinFunctionsCaseStatements(bool optimized, bool constantExpressionsOnly, const string& precision, bool useHeavierWorkload) argument 480 arrayCaseStatements(bool optimized, const string& precision, bool useHeavierWorkload) argument 499 structCaseStatements(bool optimized, bool constantExpressionsOnly, const string& precision, bool useHeavierWorkload) argument 550 const string precision = getShaderPrecision(m_caseShaderType); local 563 singleStatementCaseStatements(bool optimized, const string& precision, bool useHeavierWorkload) argument 575 multipleStatementsCaseStatements(bool optimized, const string& precision, bool useHeavierWorkload) argument 595 staticBranchCaseStatements(bool optimized, const string& precision, bool useHeavierWorkload) argument 639 loopCaseStatements(bool optimized, const string& precision, bool useHeavierWorkload) argument 691 const string precision = getShaderPrecision(m_caseShaderType); local 728 deadBranchComplexCaseStatements(bool optimized, const string& precision, bool useConst, bool useHeavierWorkload) argument 749 deadBranchFuncCallCaseFuncDefs(bool optimized, const string& precision) argument 769 unusedValueBasicCaseStatements(bool optimized, const string& precision, bool useHeavierWorkload) argument 782 unusedValueLoopCaseStatements(bool optimized, const string& precision, bool useHeavierWorkload) argument 796 unusedValueAfterReturnCaseFuncDefs(bool optimized, const string& precision, bool useHeavierWorkload) argument 822 unusedValueDeadBranchCaseStatements(bool optimized, const string& precision, bool useHeavierWorkload) argument 837 unusedValueMulZeroCaseStatements(bool optimized, const string& precision, bool useHeavierWorkload) argument [all...] |
/external/libcxx/test/std/input.output/iostream.format/std.manip/ |
H A D | setprecision.pass.cpp | 30 assert(is.precision() == 10); 36 assert(os.precision() == 10); 42 assert(is.precision() == 10); 48 assert(os.precision() == 10);
|
/external/llvm/test/MC/ARM/ |
H A D | vfp-aliases-diagnostics.s | 34 @ CHECK: error: VFP/Neon double precision register expected 37 @ CHECK: error: VFP/Neon double precision register expected 40 @ CHECK: error: VFP/Neon double precision register expected 43 @ CHECK: error: VFP/Neon double precision register expected 46 @ CHECK: error: VFP/Neon single precision register expected 49 @ CHECK: error: VFP/Neon single precision register expected 52 @ CHECK: error: VFP/Neon single precision register expected 55 @ CHECK: error: VFP/Neon single precision register expected 59 @ CHECK: error: VFP/Neon single precision register expected 62 @ CHECK: error: VFP/Neon single precision registe [all...] |
H A D | single-precision-fp.s | 10 @ CHECK-ERRORS: error: instruction requires: double precision VFP 12 @ CHECK-ERRORS: error: instruction requires: double precision VFP 14 @ CHECK-ERRORS: error: instruction requires: double precision VFP 16 @ CHECK-ERRORS: error: instruction requires: double precision VFP 18 @ CHECK-ERRORS: error: instruction requires: double precision VFP 29 @ CHECK-ERRORS: error: instruction requires: double precision VFP 31 @ CHECK-ERRORS: error: instruction requires: double precision VFP 33 @ CHECK-ERRORS: error: instruction requires: double precision VFP 35 @ CHECK-ERRORS: error: instruction requires: double precision VFP 37 @ CHECK-ERRORS: error: instruction requires: double precision VF [all...] |
/external/skia/include/gpu/ |
H A D | GrShaderVar.h | 38 * Defaults to a float with no precision specifier 48 GrSLPrecision precision = kDefault_GrSLPrecision) 53 , fPrecision(precision) { 54 SkASSERT(kDefault_GrSLPrecision == precision || GrSLTypeIsFloatType(type)); 59 GrSLPrecision precision = kDefault_GrSLPrecision) 64 , fPrecision(precision) { 65 SkASSERT(kDefault_GrSLPrecision == precision || GrSLTypeIsFloatType(type)); 70 int arrayCount = kNonArray, GrSLPrecision precision = kDefault_GrSLPrecision) 75 , fPrecision(precision) { 76 SkASSERT(kDefault_GrSLPrecision == precision || GrSLTypeIsFloatTyp [all...] |
/external/deqp/modules/gles31/functional/ |
H A D | es31fShaderCommonFunctionTests.cpp | 127 inline bool supportsSignedZero (glu::Precision precision) argument 131 return precision == glu::PRECISION_HIGHP; 153 static int getMinMantissaBits (glu::Precision precision) argument 162 DE_ASSERT(de::inBounds<int>(precision, 0, DE_LENGTH_OF_ARRAY(bits))); 163 return bits[precision]; 166 static int getMaxNormalizedValueExponent (glu::Precision precision) argument 175 DE_ASSERT(de::inBounds<int>(precision, 0, DE_LENGTH_OF_ARRAY(exponent))); 176 return exponent[precision]; 179 static int getMinNormalizedValueExponent (glu::Precision precision) argument 188 DE_ASSERT(de::inBounds<int>(precision, 192 makeFloatRepresentable(float f, glu::Precision precision) argument 463 getPrecisionPostfix(glu::Precision precision) argument 491 getCommonFuncCaseName(glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument 499 AbsCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument 524 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local 536 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local 581 SignCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument 606 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local 629 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local 687 RoundEvenCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument 706 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local 736 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local 798 ModfCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument 818 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local 827 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local 864 IsnanCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument 881 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local 904 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local 947 IsinfCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument 964 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local 987 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local 1031 FloatBitsToUintIntCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType, bool outIsSigned) argument 1054 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local 1063 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local 1091 FloatBitsToIntCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument 1100 FloatBitsToUintCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument 1159 FloorCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument 1178 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local 1194 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local 1255 TruncCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument 1274 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local 1300 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local 1363 RoundCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument 1382 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local 1412 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local 1491 CeilCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument 1510 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local 1527 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local 1596 FractCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument 1615 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local 1645 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local [all...] |
H A D | es31fShaderIntegerFunctionTests.cpp | 111 inline int getShaderUintBitCount (glu::ShaderType shaderType, glu::Precision precision) argument 117 return bitCounts[precision]; 137 static void generateRandomInputData (de::Random& rnd, glu::ShaderType shaderType, glu::DataType dataType, glu::Precision precision, deUint32* dst, int numValues) argument 140 const deUint32 integerLength = (deUint32)getShaderUintBitCount(shaderType, precision); 322 static const char* getPrecisionPostfix (glu::Precision precision) argument 331 DE_ASSERT(de::inBounds<int>(precision, 0, DE_LENGTH_OF_ARRAY(s_postfix))); 332 return s_postfix[precision]; 350 static std::string getIntegerFuncCaseName (glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument 352 return string(glu::getDataTypeName(baseType)) + getPrecisionPostfix(precision) + getShaderTypePostfix(shaderType); 358 UaddCarryCase (Context& context, glu::DataType baseType, glu::Precision precision, gl argument 372 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local 426 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local 454 UsubBorrowCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument 468 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local 520 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local 548 UmulExtendedCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument 638 ImulExtendedCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument 729 BitfieldExtractCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument 743 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local 792 BitfieldInsertCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument 807 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local 830 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local 869 BitfieldReverseCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument 881 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local 890 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local 915 BitCountCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument 930 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local 939 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local 975 FindLSBCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument 990 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local 999 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local 1053 FindMSBCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument 1068 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local 1077 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local [all...] |
/external/compiler-rt/lib/builtins/ |
H A D | fp_trunc.h | 1 //=== lib/fp_trunc.h - high precision -> low precision conversion *- C -*-===// 10 // Set source and destination precision setting 38 #error Source should be double precision or quad precision! 39 #endif //end source precision 60 #error Destination should be single precision or double precision! 61 #endif //end destination precision
|
/external/skia/src/gpu/gl/ |
H A D | GrGLShaderVar.h | 31 * Defaults to a float with no precision specifier 40 GrSLPrecision precision = kDefault_GrSLPrecision) 41 : GrShaderVar(name, type, arrayCount, precision) 50 int arrayCount = kNonArray, GrSLPrecision precision = kDefault_GrSLPrecision) 51 : GrShaderVar(name, type, typeModifier, arrayCount, precision) 86 GrSLPrecision precision = kDefault_GrSLPrecision, 90 SkASSERT(kDefault_GrSLPrecision == precision || GrSLTypeIsFloatType(type)); 91 INHERITED::set(type, name, typeModifier, precision); 102 GrSLPrecision precision = kDefault_GrSLPrecision, 106 SkASSERT(kDefault_GrSLPrecision == precision || GrSLTypeIsFloatTyp [all...] |
/external/deqp/modules/gles3/functional/ |
H A D | es3fShaderCommonFunctionTests.cpp | 123 inline bool supportsSignedZero (glu::Precision precision) argument 127 return precision == glu::PRECISION_HIGHP; 149 static int getMinMantissaBits (glu::Precision precision) argument 158 DE_ASSERT(de::inBounds<int>(precision, 0, DE_LENGTH_OF_ARRAY(bits))); 159 return bits[precision]; 390 static const char* getPrecisionPostfix (glu::Precision precision) argument 399 DE_ASSERT(de::inBounds<int>(precision, 0, DE_LENGTH_OF_ARRAY(s_postfix))); 400 return s_postfix[precision]; 414 static std::string getCommonFuncCaseName (glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument 416 return string(glu::getDataTypeName(baseType)) + getPrecisionPostfix(precision) 422 AbsCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument 447 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local 459 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local 504 SignCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument 529 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local 552 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local 610 RoundEvenCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument 629 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local 659 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local 721 ModfCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument 741 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local 750 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local 787 IsnanCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument 804 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local 827 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local 868 IsinfCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument 885 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local 908 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local 949 FloatBitsToUintIntCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType, bool outIsSigned) argument 972 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local 981 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local 1009 FloatBitsToIntCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument 1018 FloatBitsToUintCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument 1077 FloorCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument 1096 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local 1112 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local 1173 TruncCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument 1192 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local 1218 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local 1281 RoundCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument 1300 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local 1330 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local 1409 CeilCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument 1428 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local 1445 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local 1514 FractCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument 1533 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local 1563 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local [all...] |
/external/openfst/src/include/fst/script/ |
H A D | draw.h | 48 const int precision; member in struct:fst::script::FstDrawerArgs 66 int precision, 73 fontsize(fontsize), precision(precision), 87 args->precision, args->show_weight_one); 104 int precision, 53 FstDrawerArgs(const FstClass &fst, const SymbolTable *isyms, const SymbolTable *osyms, const SymbolTable *ssyms, bool accep, const string &title, float width, float height, bool portrait, bool vertical, float ranksep, float nodesep, int fontsize, int precision, bool show_weight_one, ostream *ostrm, const string &dest) argument
|
/external/deqp/modules/gles2/scripts/ |
H A D | gen-swizzles.py | 85 for (inputType, dataType, precision) in combinations.iterate(): 87 print inputType, precision, dataType 109 precision mediump float; 129 precision mediump float; 130 precision mediump int; 145 def __init__(self, name, precision, dataType, swizzle, inputs, outputs): 147 self.precision = precision 228 # \todo [petri] Uses fixed precision. 231 precision variable [all...] |
/external/deqp/modules/gles3/scripts/ |
H A D | gen-swizzles.py | 85 for (inputType, dataType, precision) in combinations.iterate(): 87 print inputType, precision, dataType 111 precision mediump float; 133 precision mediump float; 134 precision mediump int; 149 def __init__(self, name, precision, dataType, swizzle, inputs, outputs): 151 self.precision = precision 232 # \todo [petri] Uses fixed precision. 235 precision variable [all...] |
/external/openfst/src/script/ |
H A D | draw.cc | 39 int precision, 45 fontsize, precision, show_weight_one, ostrm, dest); 26 DrawFst(const FstClass &fst, const SymbolTable *isyms, const SymbolTable *osyms, const SymbolTable *ssyms, bool accep, const string &title, float width, float height, bool portrait, bool vertical, float ranksep, float nodesep, int fontsize, int precision, bool show_weight_one, ostream *ostrm, const string &dest) argument
|
/external/skia/tests/ |
H A D | PathOpsTestCommon.cpp | 16 static double calc_t_div(const SkDCubic& cubic, double precision, double start) { argument 31 double tDiv3 = precision / (adjust * dist); 39 static bool add_simple_ts(const SkDCubic& cubic, double precision, SkTArray<double, true>* ts) { argument 40 double tDiv = calc_t_div(cubic, precision, 0); 51 static void addTs(const SkDCubic& cubic, double precision, double start, double end, argument 53 double tDiv = calc_t_div(cubic, precision, 0); 63 static void toQuadraticTs(const SkDCubic* cubic, double precision, SkTArray<double, true>* ts) { argument 109 if (inflections == 0 && add_simple_ts(*cubic, precision, ts)) { 114 addTs(pair.first(), precision, 0, inflectT[0], ts); 115 addTs(pair.second(), precision, inflect 133 CubicToQuads(const SkDCubic& cubic, double precision, SkTArray<SkDQuad, true>& quads) argument [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_snprintf.c | 42 * precision specifications; fix various floating point conversion bugs; 45 * check for integer overflow of the field width, precision, and return 479 int precision = -1; local 566 if (precision == -1) 567 precision = 0; 570 if (precision > (INT_MAX - ch) / 10) { 574 precision = 10 * precision + ch; 578 * C99 says: "A negative precision argument is 579 * taken as if the precision wer 861 fmtstr(char *str, size_t *len, size_t size, const char *value, int width, int precision, int flags) argument 895 fmtint(char *str, size_t *len, size_t size, INTMAX_T value, int base, int width, int precision, int flags) argument 996 fmtflt(char *str, size_t *len, size_t size, LDOUBLE fvalue, int width, int precision, int flags, int *overflow) argument [all...] |
/external/eigen/Eigen/src/Eigen2Support/ |
H A D | MathFunctions.h | 30 template<typename T> inline T precision () { return NumTraits<T>::dummy_precision(); } function in namespace:Eigen 36 typename NumTraits<Scalar>::Real precision = NumTraits<Scalar>::dummy_precision()) 38 return internal::isMuchSmallerThan(x, y, precision); 43 typename NumTraits<Scalar>::Real precision = NumTraits<Scalar>::dummy_precision()) 45 return internal::isApprox(x, y, precision); 50 typename NumTraits<Scalar>::Real precision = NumTraits<Scalar>::dummy_precision()) 52 return internal::isApproxOrLessThan(x, y, precision);
|
/external/bison/lib/ |
H A D | vasnprintf.c | 421 If m>=n=1, perform a single-precision division: 428 If m>=n>1, perform a multiple-precision division: 515 /* n=1: single precision division. 548 /* n>1: multiple precision division. 967 precision. */ 1507 is_borderline (const char *digits, size_t precision) argument 1509 for (; precision > 0; precision--, digits++) 1536 size_t precision, int pad_ourselves) 1564 if (tmp_length < precision) 1534 MAX_ROOM_NEEDED(const arguments *ap, size_t arg_index, FCHAR_T conversion, arg_type type, int flags, size_t width, int has_precision, size_t precision, int pad_ourselves) argument 1947 size_t precision; local 2425 size_t precision; local 2945 size_t precision; local 3452 size_t precision; local 4614 size_t precision; local [all...] |
/external/flac/libFLAC/include/private/ |
H A D | float.h | 86 * 'precision' roughly limits the number of iterations that are done; 87 * use (unsigned)(-1) for maximum precision. 94 FLAC__uint32 FLAC__fixedpoint_log2(FLAC__uint32 x, unsigned fracbits, unsigned precision);
|
/external/libcxx/test/std/input.output/iostream.format/input.streams/iostreamclass/iostream.assign/ |
H A D | member_swap.pass.cpp | 51 assert(is1.precision() == 6); 59 assert(is2.precision() == 6); 74 assert(is1.precision() == 6); 82 assert(is2.precision() == 6);
|