Searched refs:precision (Results 1 - 25 of 434) sorted by relevance

1234567891011>>

/external/oprofile/libutil++/
H A Dstream_util.cpp20 precision(stream.precision()),
29 stream.precision(precision);
H A Dstream_util.h21 * save the stream flags, precision and fill char.
35 std::streamsize precision; member in class:io_state
/external/chromium_org/third_party/angle/src/compiler/translator/
H A DOutputESSL.cpp19 bool TOutputESSL::writeVariablePrecision(TPrecision precision) argument
21 if (precision == EbpUndefined)
25 out << getPrecisionString(precision);
H A DOutputESSL.h23 virtual bool writeVariablePrecision(TPrecision precision);
/external/libcxx/test/input.output/iostreams.base/ios.base/fmtflags.state/
H A Dprecision_streamsize.pass.cpp14 // streamsize precision(streamsize prec);
32 assert(t.precision() == 6);
33 std::streamsize p = t.precision(10);
35 assert(t.precision() == 10);
H A Dprecision.pass.cpp14 // streamsize precision() const;
32 assert(t.precision() == 6);
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/
H A DWebGLShaderPrecisionFormat.cpp34 PassRefPtrWillBeRawPtr<WebGLShaderPrecisionFormat> WebGLShaderPrecisionFormat::create(GLint rangeMin, GLint rangeMax, GLint precision) argument
36 return adoptRefWillBeNoop(new WebGLShaderPrecisionFormat(rangeMin, rangeMax, precision));
49 GLint WebGLShaderPrecisionFormat::precision() const function in class:blink::WebGLShaderPrecisionFormat
54 WebGLShaderPrecisionFormat::WebGLShaderPrecisionFormat(GLint rangeMin, GLint rangeMax, GLint precision) argument
57 , m_precision(precision)
H A DWebGLShaderPrecisionFormat.idl32 readonly attribute long precision;
H A DWebGLShaderPrecisionFormat.h41 static PassRefPtrWillBeRawPtr<WebGLShaderPrecisionFormat> create(GLint rangeMin, GLint rangeMax, GLint precision);
45 GLint precision() const;
50 WebGLShaderPrecisionFormat(GLint rangeMin, GLint rangeMax, GLint precision);
/external/libpcap/
H A Dsf-pcap-ng.h30 u_int precision, char *errbuf, int *err);
H A Dsf-pcap.h35 u_int precision, char *errbuf, int *err);
/external/chromium_org/chrome/common/extensions/docs/examples/apps/calculator/app/
H A Dmodel.js7 function Model(precision) {
8 this.reset_({precision: precision});
60 var overflow = (operand.replace(/[^0-9]/g, '').length > this.precision);
85 var precision = (state && state.precision) || this.precision || 9;
86 this.precision = Math.min(Math.max(precision, 1), 9);
114 * model's precision, o
[all...]
/external/deqp/modules/gles3/performance/
H A Des3pShaderOptimizationTests.cpp369 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 Des2pShaderOptimizationTests.cpp366 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/compiler-rt/lib/builtins/
H A Dfp_trunc.h1 //=== lib/fp_trunc.h - high precision -> low precision conversion *- C -*-===//
10 // Set source and destination precision setting
32 #error Source should be double precision or quad precision!
33 #endif //end source precision
48 #error Destination should be single precision or double precision!
49 #endif //end destination precision
H A Dfp_extend.h1 //===-lib/fp_extend.h - low precision -> high precision conversion -*- C -*-===//
43 #error Source should be single precision or double precision!
44 #endif //end source precision
59 #error Destination should be double precision or quad precision!
60 #endif //end destination precision
/external/libcxx/test/input.output/iostream.format/std.manip/
H A Dsetprecision.pass.cpp30 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 Dvfp-aliases-diagnostics.s34 @ 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 Dsingle-precision-fp.s10 @ 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/chromium_org/third_party/skia/include/gpu/
H A DGrShaderVar.h49 * Defaults to a float with no precision specifier
59 Precision precision = kDefault_Precision)
64 , fPrecision(precision) {
69 Precision precision = kDefault_Precision)
74 , fPrecision(precision) {
79 int arrayCount = kNonArray, Precision precision = kDefault_Precision)
84 , fPrecision(precision) {
102 Precision precision = kDefault_Precision) {
108 fPrecision = precision;
117 Precision precision
[all...]
/external/chromium_org/third_party/skia/src/pathops/
H A DSkDCubicToQuads.cpp30 pick an absolute precision (prec)
56 static double calc_t_div(const SkDCubic& cubic, double precision, double start) { argument
71 double tDiv3 = precision / (adjust * dist);
90 static bool add_simple_ts(const SkDCubic& cubic, double precision, SkTArray<double, true>* ts) { argument
91 double tDiv = calc_t_div(cubic, precision, 0);
102 static void addTs(const SkDCubic& cubic, double precision, double start, double end, argument
104 double tDiv = calc_t_div(cubic, precision, 0);
118 void SkDCubic::toQuadraticTs(double precision, SkTArray<double, true>* ts) const { argument
164 if (inflections == 0 && add_simple_ts(*this, precision, ts)) {
169 addTs(pair.first(), precision,
[all...]
/external/skia/src/pathops/
H A DSkDCubicToQuads.cpp30 pick an absolute precision (prec)
56 static double calc_t_div(const SkDCubic& cubic, double precision, double start) { argument
71 double tDiv3 = precision / (adjust * dist);
90 static bool add_simple_ts(const SkDCubic& cubic, double precision, SkTArray<double, true>* ts) { argument
91 double tDiv = calc_t_div(cubic, precision, 0);
102 static void addTs(const SkDCubic& cubic, double precision, double start, double end, argument
104 double tDiv = calc_t_div(cubic, precision, 0);
118 void SkDCubic::toQuadraticTs(double precision, SkTArray<double, true>* ts) const { argument
164 if (inflections == 0 && add_simple_ts(*this, precision, ts)) {
169 addTs(pair.first(), precision,
[all...]
/external/deqp/modules/gles31/functional/
H A Des31fShaderCommonFunctionTests.cpp124 inline bool supportsSignedZero (glu::Precision precision) argument
128 return precision == glu::PRECISION_HIGHP;
150 static int getMinMantissaBits (glu::Precision precision) argument
159 DE_ASSERT(de::inBounds<int>(precision, 0, DE_LENGTH_OF_ARRAY(bits)));
160 return bits[precision];
163 static int getMaxNormalizedValueExponent (glu::Precision precision) argument
172 DE_ASSERT(de::inBounds<int>(precision, 0, DE_LENGTH_OF_ARRAY(exponent)));
173 return exponent[precision];
176 static int getMinNormalizedValueExponent (glu::Precision precision) argument
185 DE_ASSERT(de::inBounds<int>(precision,
417 getPrecisionPostfix(glu::Precision precision) argument
445 getCommonFuncCaseName(glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument
453 AbsCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument
478 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
490 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
535 SignCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument
560 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
583 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
641 RoundEvenCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument
660 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
690 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
752 ModfCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument
772 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
781 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
818 IsnanCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument
835 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
858 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
901 IsinfCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument
918 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
941 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
985 FloatBitsToUintIntCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType, bool outIsSigned) argument
1008 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
1017 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
1045 FloatBitsToIntCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument
1054 FloatBitsToUintCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument
1113 FloorCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument
1132 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
1148 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
1209 TruncCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument
1228 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
1254 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
1317 RoundCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument
1336 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
1366 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
1445 CeilCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument
1464 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
1481 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
1550 FractCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument
1569 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
1599 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
[all...]
/external/chromium_org/third_party/sqlite/src/src/
H A Dprintf.c39 ** * The %c field now accepts a precision. The character output
40 ** is repeated by the number of times the precision specifies.
104 #define FLAG_STRING 4 /* Allow infinity precision */
236 int precision; /* Precision of the current field */ local
313 /* Get the precision */
315 precision = 0;
318 precision = va_arg(ap,int);
319 if( precision<0 ) precision = -precision;
[all...]
/external/chromium_org/third_party/skia/experimental/Intersection/
H A DCubicToQuadratics.cpp31 pick an absolute precision (prec)
57 static double calcTDiv(const Cubic& cubic, double precision, double start) { argument
72 double tDiv3 = precision / (adjust * dist);
93 int cubic_to_quadratics(const Cubic& cubic, double precision, SkTDArray<Quadratic>& quadratics) { argument
95 cubic_to_quadratics(cubic, precision, ts);
116 static bool addSimpleTs(const Cubic& cubic, double precision, SkTDArray<double>& ts) {
117 double tDiv = calcTDiv(cubic, precision, 0);
128 static void addTs(const Cubic& cubic, double precision, double start, double end,
130 double tDiv = calcTDiv(cubic, precision, 0);
144 void cubic_to_quadratics(const Cubic& cubic, double precision, SkTDArra
[all...]

Completed in 450 milliseconds

1234567891011>>