Searched refs:precision (Results 151 - 175 of 473) sorted by relevance

1234567891011>>

/external/mesa3d/src/compiler/glsl/
H A Dglsl_symbol_table.h75 bool add_default_precision_qualifier(const char *type_name, int precision);
/external/python/cpython3/Python/
H A Dformatter_unicode.c133 Py_ssize_t precision; member in struct:__anon20268
149 printf("internal format spec: precision %zd\n", format->precision);
186 format->precision = -1;
257 /* Parse field precision */
261 consumed = get_integer(format_spec, &pos, end, &format->precision);
266 /* Not having a precision after a dot is an error. */
269 "Format specifier missing precision");
459 /* not all fields of format are used. for example, precision is
798 && (format->precision
1024 int precision, default_precision = 6; local
1176 int precision, default_precision = 6; local
[all...]
/external/skia/tests/
H A DPathOpsTestCommon.h32 void CubicToQuads(const SkDCubic& cubic, double precision, SkTArray<SkDQuad, true>& quads);
/external/skqp/tests/
H A DPathOpsTestCommon.h32 void CubicToQuads(const SkDCubic& cubic, double precision, SkTArray<SkDQuad, true>& quads);
/external/curl/docs/cmdline-opts/
H A Dmax-time.d11 timeout increases in decimal precision.
/external/libcxx/test/std/input.output/iostream.format/input.streams/iostreamclass/iostream.cons/
H A Dmove.pass.cpp57 assert(is.precision() == 6);
73 assert(is.precision() == 6);
/external/libcxx/test/std/input.output/iostream.format/input.streams/istream/istream.cons/
H A Dmove.pass.cpp55 assert(is.precision() == 6);
71 assert(is.precision() == 6);
/external/swiftshader/src/OpenGL/compiler/
H A DInfoSink.h75 // Make sure floats are written with correct precision.
78 // does not have a fractional part, the default precision format does
83 stream.precision(1);
88 stream.precision(8);
H A DTypes.h245 type(t), precision(EbpUndefined), qualifier(EvqGlobal),
252 type(t), precision(p), qualifier(q),
259 type(EbtStruct), precision(p), qualifier(EvqTemporary),
267 : type(EbtInterfaceBlock), precision(EbpUndefined), qualifier(qualifierIn),
278 TPrecision getPrecision() const { return precision; }
279 void setPrecision(TPrecision p) { precision = p; }
494 const char* getPrecisionString() const { return ::getPrecisionString(precision); }
535 TPrecision precision = EbpUndefined; member in class:TType
568 TPrecision precision; member in struct:TPublicType
582 precision
[all...]
/external/python/cpython3/Lib/
H A Dtimeit.py22 -v/--verbose: print raw timing results; repeat for more digits precision
277 precision = 3
302 precision += 1
322 print(msg.format(num=number, secs=time_taken, prec=precision))
335 print("raw times:", " ".join(["%.*g" % (precision, x) for x in r]))
346 print("best of %d: %.*g %s per loop" % (repeat, precision,
357 (precision, usec/scale, time_unit),
/external/deqp/modules/gles31/functional/
H A Des31fShaderAtomicOpTests.cpp68 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...]
/external/python/cpython2/Objects/stringlib/
H A Dformatter.h138 Py_ssize_t precision; member in struct:__anon19589
155 printf("internal format spec: precision %zd\n", format->precision);
191 format->precision = -1;
249 /* Parse field precision */
253 consumed = get_integer(&ptr, end, &format->precision);
258 /* Not having a precision after a dot is an error. */
261 "Format specifier missing precision");
433 /* not all fields of format are used. for example, precision is
705 /* if precision i
939 Py_ssize_t precision; local
1094 Py_ssize_t precision; local
[all...]
/external/valgrind/none/tests/ppc32/
H A Dtest_dfp3.c785 precision_type_t precision; member in struct:dfp_test
793 precision_type_t precision; member in struct:dfp_one_arg_test
823 if (test_def.precision == LONG_TEST) {
831 if (test_def.precision == QUAD_TEST) {
842 if (test_def.precision == LONG_TEST) {
884 if (test_def.precision == LONG_TEST) {
897 if (test_def.precision == QUAD_TEST) {
907 if (test_def.precision == LONG_TEST) {
950 if (test_def.precision == LONG_TEST) {
958 if (test_def.precision
[all...]
H A Dtest_dfp5.c389 precision_type_t precision; member in struct:dfp_one_arg_test
397 precision_type_t precision; member in struct:dfp_one_arg_bcd_test
422 if (test_def.precision == LONG_TEST) {
439 if (test_def.precision == LONG_TEST) {
471 if (test_def.precision == LONG_TEST)
492 if (test_def.precision == LONG_TEST) {
506 if (test_def.precision == LONG_TEST) {
543 if (test_def.precision == LONG_TEST) {
569 if (test_def.precision == LONG_TEST) {
/external/valgrind/none/tests/ppc64/
H A Dtest_dfp3.c785 precision_type_t precision; member in struct:dfp_test
793 precision_type_t precision; member in struct:dfp_one_arg_test
823 if (test_def.precision == LONG_TEST) {
831 if (test_def.precision == QUAD_TEST) {
842 if (test_def.precision == LONG_TEST) {
884 if (test_def.precision == LONG_TEST) {
897 if (test_def.precision == QUAD_TEST) {
907 if (test_def.precision == LONG_TEST) {
950 if (test_def.precision == LONG_TEST) {
958 if (test_def.precision
[all...]
H A Dtest_dfp5.c389 precision_type_t precision; member in struct:dfp_one_arg_test
397 precision_type_t precision; member in struct:dfp_one_arg_bcd_test
422 if (test_def.precision == LONG_TEST) {
439 if (test_def.precision == LONG_TEST) {
471 if (test_def.precision == LONG_TEST)
492 if (test_def.precision == LONG_TEST) {
506 if (test_def.precision == LONG_TEST) {
543 if (test_def.precision == LONG_TEST) {
569 if (test_def.precision == LONG_TEST) {
/external/tensorflow/tensorflow/contrib/coder/kernels/
H A Drange_coder_ops_test.cc82 Status RunEncodeOp(int precision, gtl::ArraySlice<Tensor> input, argument
87 .Attr("precision", precision)
106 Status RunDecodeOp(int precision, gtl::ArraySlice<Tensor> input, argument
112 .Attr("precision", precision)
131 void TestEncodeAndDecode(int precision, const Tensor& data, argument
134 TF_ASSERT_OK(RunEncodeOp(precision, {data, cdf}, &encoded));
143 TF_ASSERT_OK(RunDecodeOp(precision, {encoded, shape, cdf}, &decoded));
335 .Attr("precision", 1
404 CreateRangeEncodeFullBroadcastGraph(const TensorShape& shape, int precision) argument
442 CreateRangeDecodeFullBroadcastGraph(const TensorShape& shape, int precision) argument
[all...]
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_printf.cc98 static int AppendString(char **buff, const char *buff_end, int precision, argument
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/skia/src/gpu/vk/
H A DGrVkUniformHandler.cpp180 GrSLPrecision precision,
192 SkASSERT(kDefault_GrSLPrecision == precision || GrSLTypeIsFloatType(type));
210 uni.fVariable.setPrecision(precision);
239 GrSLPrecision precision,
254 info.fVariable.setPrecision(precision);
267 GrSLPrecision precision,
282 info.fVariable.setPrecision(precision);
177 internalAddUniformArray( uint32_t visibility, GrSLType type, GrSLPrecision precision, const char* name, bool mangleName, int arrayCount, const char** outName) argument
236 addSampler(uint32_t visibility, GrSwizzle swizzle, GrSLType type, GrSLPrecision precision, const char* name) argument
266 addTexelBuffer(uint32_t visibility, GrSLPrecision precision, const char* name) argument
/external/skqp/src/gpu/vk/
H A DGrVkUniformHandler.cpp182 GrSLPrecision precision,
194 SkASSERT(kDefault_GrSLPrecision == precision || GrSLTypeIsFloatType(type));
212 uni.fVariable.setPrecision(precision);
241 GrSLPrecision precision,
256 info.fVariable.setPrecision(precision);
269 GrSLPrecision precision,
284 info.fVariable.setPrecision(precision);
179 internalAddUniformArray( uint32_t visibility, GrSLType type, GrSLPrecision precision, const char* name, bool mangleName, int arrayCount, const char** outName) argument
238 addSampler(uint32_t visibility, GrSwizzle swizzle, GrSLType type, GrSLPrecision precision, const char* name) argument
268 addTexelBuffer(uint32_t visibility, GrSLPrecision precision, const char* name) argument
/external/llvm/lib/Support/
H A DAPFloat.cpp10 // This file implements a class to represent arbitrary precision floating
55 unsigned int precision; member in struct:llvm::fltSemantics
639 unsigned bitsToPreserve = semantics->precision - 1;
647 unsigned QNaNBit = semantics->precision - 2;
663 // For x87 extended precision, we want to make a NaN, not a
709 semantics->precision - 1) == 0);
732 PartCount*integerPartWidth - semantics->precision + 1;
754 PartCount*integerPartWidth - semantics->precision + 1;
805 exponent = ourSemantics.precision - 1;
848 return partCountForBits(semantics->precision
[all...]
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
H A DvktShaderRenderDerivateTests.cpp191 static int getNumMantissaBits (const glu::Precision precision) argument
193 switch (precision)
204 static int getMinExponent (const glu::Precision precision) argument
206 switch (precision)
295 static inline tcu::Vec4 getDerivateThreshold (const glu::Precision precision, const tcu::Vec4& valueMin, const tcu::Vec4& valueMax, const tcu::Vec4& expectedDerivate) argument
297 const int baseBits = getNumMantissaBits(precision);
404 glu::Precision precision,
420 const int numBits = getNumMantissaBits(precision);
421 const int minExponent = getMinExponent(precision);
456 // Simulate interpolation. Add allowed interpolation error and round to target precision
400 reverifyConstantDerivateWithFlushRelaxations(tcu::TestLog& log, const tcu::ConstPixelBufferAccess& result, const tcu::PixelBufferAccess& errorMask, glu::DataType dataType, glu::Precision precision, const tcu::Vec4& derivScale, const tcu::Vec4& derivBias, const tcu::Vec4& surfaceThreshold, DerivateFunc derivateFunc, const Linear2DFunctionEvaluator& function) argument
538 glu::Precision precision; member in struct:vkt::sr::__anon4505::DerivateCaseDefinition
764 genVertexSource(glu::DataType coordType, glu::Precision precision) argument
1074 LinearDerivateCase(tcu::TestContext& testCtx, const std::string& name, const std::string& description, DerivateFunc func, glu::DataType type, glu::Precision precision, SurfaceType surfaceType, int numSamples, const std::string& fragmentSrcTmpl, BaseUniformType usedDefaultUniform) argument
1360 TextureDerivateCase(tcu::TestContext& testCtx, const std::string& name, const std::string& description, DerivateFunc func, glu::DataType type, glu::Precision precision, SurfaceType surfaceType, int numSamples) argument
1527 glu::Precision precision; member in struct:vkt::sr::__anon4505::FunctionSpec
1774 const glu::Precision precision = glu::Precision(precNdx); local
1804 const glu::Precision precision = glu::Precision(precNdx); local
1834 const glu::Precision precision = glu::Precision(precNdx); local
[all...]
/external/linux-kselftest/tools/testing/selftests/timers/
H A Dfreq-step.c48 static double precision; variable
232 precision = get_sample(&sample) / 2.0;
233 printf("CLOCK_MONOTONIC_RAW+CLOCK_MONOTONIC precision: %.0f ns\t\t",
234 1e9 * precision);
236 if (precision > MAX_PRECISION)
237 ksft_exit_skip("precision: %.0f ns > MAX_PRECISION: %.0f ns\n",
238 1e9 * precision, 1e9 * MAX_PRECISION);
/external/mksh/src/
H A Dshf.c794 size_t field, precision, len; local
820 field = precision = 0;
846 precision = 0;
853 precision = 0;
859 precision = (unsigned int)tmp;
892 precision = (unsigned int)tmp;
990 if (precision > len) {
991 field = precision;
995 precision = len;
1027 if (!(flags & FL_DOT) || len < precision)
[all...]
/external/deqp/modules/gles3/functional/
H A Des3fShaderDerivateTests.cpp222 static int getNumMantissaBits (const glu::Precision precision) argument
224 switch (precision)
235 static int getMinExponent (const glu::Precision precision) argument
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) argument
328 const int baseBits = getNumMantissaBits(precision);
440 glu::Precision precision,
456 const int numBits = getNumMantissaBits(precision);
457 const int minExponent = getMinExponent(precision);
492 // Simulate interpolation. Add allowed interpolation error and round to target precision
436 reverifyConstantDerivateWithFlushRelaxations(tcu::TestLog& log, const tcu::ConstPixelBufferAccess& result, const tcu::PixelBufferAccess& errorMask, glu::DataType dataType, glu::Precision precision, const tcu::Vec4& derivScale, const tcu::Vec4& derivBias, const tcu::Vec4& surfaceThreshold, DerivateFunc derivateFunc, const Linear2DFunctionEvaluator& function) argument
610 genVertexSource(glu::DataType coordType, glu::Precision precision) argument
952 LinearDerivateCase(Context& context, const char* name, const char* description, DerivateFunc func, glu::DataType type, glu::Precision precision, deUint32 hint, SurfaceType surfaceType, int numSamples, const char* fragmentSrcTmpl) argument
1156 TextureDerivateCase(Context& context, const char* name, const char* description, DerivateFunc func, glu::DataType type, glu::Precision precision, deUint32 hint, SurfaceType surfaceType, int numSamples) argument
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...]

Completed in 3311 milliseconds

1234567891011>>