Searched refs:precision (Results 76 - 100 of 473) sorted by relevance

1234567891011>>

/external/deqp/modules/gles3/functional/
H A Des3fShaderCommonFunctionTests.cpp123 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/vulkan-validation-layers/libs/glm/detail/
H A Dfunc_common.hpp40 #include "precision.hpp"
213 template <typename genType, precision P>
261 template <typename T, typename U, precision P, template <typename, precision> class vecType>
267 template <typename T, typename U, precision P, template <typename, precision> class vecType>
292 template <template <typename, precision> class vecType, typename T, precision P>
365 template <template <typename, precision> class vecType, precision
[all...]
H A D_vectorize.hpp38 template <typename T, precision P> \
47 template <typename T, precision P> \
57 template <typename T, precision P> \
68 template <typename T, precision P> \
86 template <typename T, precision P> \
98 template <typename T, precision P> \
111 template <typename T, precision P> \
125 template <typename T, precision P> \
146 template <typename T, precision P> \
159 template <typename T, precision
[all...]
/external/icu/android_icu4j/src/main/tests/android/icu/impl/number/
H A DDecimalQuantity_64BitBCD.java71 assert precision + numDigits <= 16;
74 precision += numDigits;
81 precision -= numDigits;
88 precision = 0;
105 precision = 16 - i;
119 precision = 16 - i;
140 for (int shift = (precision - 1); shift >= 0; shift--) {
154 precision = 0;
163 // Compute precision
164 precision
[all...]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/impl/number/
H A DDecimalQuantity_64BitBCD.java68 assert precision + numDigits <= 16;
71 precision += numDigits;
78 precision -= numDigits;
85 precision = 0;
102 precision = 16 - i;
116 precision = 16 - i;
137 for (int shift = (precision - 1); shift >= 0; shift--) {
151 precision = 0;
160 // Compute precision
161 precision
[all...]
/external/deqp/modules/gles31/functional/
H A Des31fShaderUniformIntegerFunctionTests.cpp45 UniformIntegerFunctionCase (Context& context, const char* description, int inputValue, glu::Precision precision, glu::ShaderType shaderType);
66 static std::string getCaseName (glu::Precision precision, glu::ShaderType shaderType);
68 UniformIntegerFunctionCase::UniformIntegerFunctionCase(Context& context, const char* description, int inputValue, glu::Precision precision, glu::ShaderType shaderType) argument
69 : TestCase(context, getCaseName(precision, shaderType).c_str(), description)
78 glu::VarType varType(glu::TYPE_INT, precision);
146 static const char* getPrecisionPostfix (glu::Precision precision) argument
155 DE_ASSERT(de::inBounds<int>(precision, 0, DE_LENGTH_OF_ARRAY(s_postfix)));
156 return s_postfix[precision];
174 static std::string getCaseName (glu::Precision precision, glu::ShaderType shaderType) argument
176 return string(getPrecisionPostfix(precision))
191 FindMSBEdgeCase(Context& context, int inputValue, glu::Precision precision, glu::ShaderType shaderType) argument
218 FindLSBEdgeCase(Context& context, int inputValue, glu::Precision precision, glu::ShaderType shaderType) argument
[all...]
H A Des31fShaderIntegerFunctionTests.cpp111 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/syslinux/dos/
H A Dprintf.c43 static char *number(char *str, long num, int base, int size, int precision, argument
83 if (i > precision)
84 precision = i;
85 size -= precision;
102 while (i < precision--)
125 int precision; /* min. # of digits for integers; max local
171 /* get the precision */
172 precision = -1;
176 precision = skip_atou(&fmt);
180 precision
[all...]
/external/syslinux/memdisk/
H A Dconio.c109 static char *number(char *str, long num, int base, int size, int precision, argument
149 if (i > precision)
150 precision = i;
151 size -= precision;
168 while (i < precision--)
188 int precision; /* min. # of digits for integers; max local
234 /* get the precision */
235 precision = -1;
239 precision = skip_atoi(&fmt);
243 precision
[all...]
/external/vulkan-validation-layers/libs/glm/gtx/
H A Dcompatibility.hpp65 template <typename T, precision P> GLM_FUNC_QUALIFIER detail::tvec2<T, P> lerp(const detail::tvec2<T, P>& x, const detail::tvec2<T, P>& y, T a){return mix(x, y, a);} //!< \brief Returns x * (1.0 - a) + y * a, i.e., the linear blend of x and y using the floating-point value a. The value for a is not restricted to the range [0, 1]. (From GLM_GTX_compatibility)
67 template <typename T, precision P> GLM_FUNC_QUALIFIER detail::tvec3<T, P> lerp(const detail::tvec3<T, P>& x, const detail::tvec3<T, P>& y, T a){return mix(x, y, a);} //!< \brief Returns x * (1.0 - a) + y * a, i.e., the linear blend of x and y using the floating-point value a. The value for a is not restricted to the range [0, 1]. (From GLM_GTX_compatibility)
68 template <typename T, precision P> GLM_FUNC_QUALIFIER detail::tvec4<T, P> lerp(const detail::tvec4<T, P>& x, const detail::tvec4<T, P>& y, T a){return mix(x, y, a);} //!< \brief Returns x * (1.0 - a) + y * a, i.e., the linear blend of x and y using the floating-point value a. The value for a is not restricted to the range [0, 1]. (From GLM_GTX_compatibility)
69 template <typename T, precision P> GLM_FUNC_QUALIFIER detail::tvec2<T, P> lerp(const detail::tvec2<T, P>& x, const detail::tvec2<T, P>& y, const detail::tvec2<T, P>& a){return mix(x, y, a);} //!< \brief Returns the component-wise result of x * (1.0 - a) + y * a, i.e., the linear blend of x and y using vector a. The value for a is not restricted to the range [0, 1]. (From GLM_GTX_compatibility)
70 template <typename T, precision P> GLM_FUNC_QUALIFIER detail::tvec3<T, P> lerp(const detail::tvec3<T, P>& x, const detail::tvec3<T, P>& y, const detail::tvec3<T, P>& a){return mix(x, y, a);} //!< \brief Returns the component-wise result of x * (1.0 - a) + y * a, i.e., the linear blend of x and y using vector a. The value for a is not restricted to the range [0, 1]. (From GLM_GTX_compatibility)
71 template <typename T, precision P> GLM_FUNC_QUALIFIER detail::tvec4<T, P> lerp(const detail::tvec4<T, P>& x, const detail::tvec4<T, P>& y, const detail::tvec4<T, P>& a){return mix(x, y, a);} //!< \brief Returns the component-wise result of x * (1.0 - a) + y * a, i.e., the linear blend of x and y using vector a. The value for a is not restricted to the range [0, 1]. (From GLM_GTX_compatibility)
73 template <typename T, precision P> GLM_FUNC_QUALIFIER T slerp(detail::tquat<T, P> const & x, detail::tquat<T, P> const & y, T const & a){return mix(x, y, a);} //!< \brief Returns the slurp interpolation between two quaternions.
75 template <typename T, precision P> GLM_FUNC_QUALIFIER T saturate(T x){return clamp(x, T(0), T(1));} //!< \brief Returns clamp(x, 0, 1) for each component in x. (From GLM_GTX_compatibility)
76 template <typename T, precision P> GLM_FUNC_QUALIFIER detail::tvec2<T, P> saturate(const detail::tvec2<T, P>& x){return clamp(x, T(0), T(1));} //!< \brief Returns clamp(x, 0, 1) for each component in x. (From GLM_GTX_compatibility)
77 template <typename T, precision
[all...]
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
H A DvktShaderIntegerFunctionTests.cpp113 inline int getShaderUintBitCount (glu::ShaderType shaderType, glu::Precision precision) argument
119 return bitCounts[precision];
139 static void generateRandomInputData (de::Random& rnd, glu::ShaderType shaderType, glu::DataType dataType, glu::Precision precision, deUint32* dst, int numValues) argument
142 const deUint32 integerLength = (deUint32)getShaderUintBitCount(shaderType, precision);
196 static const char* getPrecisionPostfix (glu::Precision precision) argument
205 DE_ASSERT(de::inBounds<int>(precision, 0, DE_LENGTH_OF_ARRAY(s_postfix)));
206 return s_postfix[precision];
224 static std::string getIntegerFuncCaseName (glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument
226 return string(glu::getDataTypeName(baseType)) + getPrecisionPostfix(precision) + getShaderTypePostfix(shaderType);
463 const glu::Precision precision local
517 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
545 UaddCarryCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument
573 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
625 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
653 UsubBorrowCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument
757 UmulExtendedCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument
862 ImulExtendedCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument
890 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
939 BitfieldExtractCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument
967 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
990 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
1020 BitfieldInsertCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument
1049 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
1058 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
1083 BitfieldReverseCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument
1109 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
1118 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
1144 BitCountCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument
1173 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
1182 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
1208 FindLSBCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument
1237 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
1246 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
1272 findMSBCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument
[all...]
H A DvktShaderCommonFunctionTests.cpp131 inline bool supportsSignedZero (glu::Precision precision) argument
135 return precision == glu::PRECISION_HIGHP;
157 static int getMinMantissaBits (glu::Precision precision) argument
166 DE_ASSERT(de::inBounds<int>(precision, 0, DE_LENGTH_OF_ARRAY(bits)));
167 return bits[precision];
170 static int getMaxNormalizedValueExponent (glu::Precision precision) argument
179 DE_ASSERT(de::inBounds<int>(precision, 0, DE_LENGTH_OF_ARRAY(exponent)));
180 return exponent[precision];
183 static int getMinNormalizedValueExponent (glu::Precision precision) argument
192 DE_ASSERT(de::inBounds<int>(precision,
196 makeFloatRepresentable(float f, glu::Precision precision) argument
341 getPrecisionPostfix(glu::Precision precision) argument
369 getCommonFuncCaseName(glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument
600 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
612 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
657 AbsCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument
696 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
719 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
766 SignCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument
810 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
840 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
902 RoundEvenCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument
935 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
944 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
981 ModfCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument
1008 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
1031 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
1074 IsnanCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument
1105 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
1128 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
1172 IsinfCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument
1210 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
1219 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
1247 FloatBitsToUintIntCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType, bool outIsSigned) argument
1277 FloatBitsToIntCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument
1296 FloatBitsToUintCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument
1385 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
1401 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
1462 FloorCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument
1495 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
1521 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
1584 TruncCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument
1617 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
1647 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
1726 RoundCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument
1759 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
1776 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
1845 CeilCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument
1878 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
1908 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
1971 FractCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument
2004 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
2037 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
2073 FrexpCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument
2110 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
2192 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
2223 LdexpCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument
2260 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
2312 fma(glu::Precision precision, float a, float b, float c) argument
2349 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
2374 FmaCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument
[all...]
/external/deqp/modules/gles2/scripts/
H A Dgen-swizzles.py107 for (inputType, dataType, precision) in combinations.iterate():
109 print inputType, precision, dataType
131 precision mediump float;
151 precision mediump float;
152 precision mediump int;
167 def __init__(self, name, precision, dataType, swizzle, inputs, outputs):
169 self.precision = precision
250 # \todo [petri] Uses fixed precision.
253 precision variable
[all...]
/external/deqp/modules/gles3/scripts/
H A Dgen-swizzles.py107 for (inputType, dataType, precision) in combinations.iterate():
109 print inputType, precision, dataType
133 precision mediump float;
155 precision mediump float;
156 precision mediump int;
171 def __init__(self, name, precision, dataType, swizzle, inputs, outputs):
173 self.precision = precision
254 # \todo [petri] Uses fixed precision.
257 precision variable
[all...]
/external/tensorflow/tensorflow/contrib/coder/kernels/
H A Drange_coder.h28 // `precision` determines the granularity of probability masses passed to
31 // REQUIRES: 0 < precision <= 16.
32 explicit RangeEncoder(int precision);
34 // Encodes a half-open interval [lower / 2^precision, upper / 2^precision).
38 // Pr(X < x0) = lower / 2^precision,
39 // Pr(X < x0 + 1) = upper / 2^precision,
48 // REQUIRES: 0 <= lower < upper <= 2^precision.
69 // REQUIRES: `precision` must be the same as the encoder's precision
[all...]
H A Drange_coder.cc32 RangeEncoder::RangeEncoder(int precision) : precision_(precision) { argument
33 CHECK_GT(precision, 0);
34 CHECK_LE(precision, 16);
38 // Input requirement: 0 <= lower < upper <= 2^precision.
55 // The input u, v represents a half-open interval [u, v) / 2^precision.
57 // [base + (size * u) / 2^precision, base + (size * v) / 2^precision).
70 // Recall that 0 <= u < 2^precision, and size <= 2^32. Therefore
71 // (size * u) / 2^precision < siz
297 RangeDecoder(const string& source, int precision) argument
[all...]
/external/skia/tests/
H A DPathOpsTestCommon.cpp16 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/skqp/tests/
H A DPathOpsTestCommon.cpp16 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/skia/src/gpu/glsl/
H A DGrGLSLUniformHandler.h36 GrSLPrecision precision,
40 return this->addUniformArray(visibility, type, precision, name, 0, outName);
52 GrSLPrecision precision,
58 return this->internalAddUniformArray(visibility, type, precision, name, mangle, arrayCount,
99 GrSLPrecision precision,
34 addUniform(uint32_t visibility, GrSLType type, GrSLPrecision precision, const char* name, const char** outName = nullptr) argument
50 addUniformArray(uint32_t visibility, GrSLType type, GrSLPrecision precision, const char* name, int arrayCount, const char** outName = nullptr) argument
/external/skqp/src/gpu/glsl/
H A DGrGLSLUniformHandler.h36 GrSLPrecision precision,
40 return this->addUniformArray(visibility, type, precision, name, 0, outName);
52 GrSLPrecision precision,
58 return this->internalAddUniformArray(visibility, type, precision, name, mangle, arrayCount,
99 GrSLPrecision precision,
34 addUniform(uint32_t visibility, GrSLType type, GrSLPrecision precision, const char* name, const char** outName = nullptr) argument
50 addUniformArray(uint32_t visibility, GrSLType type, GrSLPrecision precision, const char* name, int arrayCount, const char** outName = nullptr) argument
/external/eigen/Eigen/src/Core/
H A DIO.h31 * - \b precision number of digits for floating point values, or one of the special constants \c StreamPrecision and \c FullPrecision.
33 * stream's own precision setting, as set for instance using \c cout.precision(3). The other special value
34 * \c FullPrecision means that the number of digits will be computed to match the full precision of each floating-point
58 rowSpacer(""), coeffSeparator(_coeffSeparator), precision(_precision), flags(_flags)
74 int precision; member in struct:Eigen::IOFormat
143 if(fmt.precision == StreamPrecision)
147 else if(fmt.precision == FullPrecision)
160 explicit_precision = fmt.precision;
164 if(explicit_precision) old_precision = s.precision(explicit_precisio
[all...]
/external/icu/icu4c/source/i18n/
H A Dvalueformatter.cpp20 #include "precision.h"
76 const FixedPrecision &precision) {
78 precision.fMin.getIntDigitCount(),
79 precision.fMax.getIntDigitCount());
201 const FixedPrecision &precision,
206 fFixedPrecision = &precision;
213 const ScientificPrecision &precision,
217 fScientificPrecision = &precision;
73 isNoGrouping( const DigitGrouping &grouping, int32_t value, const FixedPrecision &precision) argument
198 prepareFixedDecimalFormatting( const DigitFormatter &formatter, const DigitGrouping &grouping, const FixedPrecision &precision, const DigitFormatterOptions &options) argument
211 prepareScientificFormatting( const DigitFormatter &formatter, const ScientificPrecision &precision, const SciFormatterOptions &options) argument
/external/python/cpython2/Python/
H A Dpystrtod.c528 ensure_decimal_point(char* buffer, size_t buf_size, int precision) argument
553 assert(precision == -1);
561 if (digit_count == precision) {
573 assert(precision == -1 || digit_count < precision);
644 int precision)
714 buffer = ensure_decimal_point(buffer, buf_size, precision);
739 int precision,
768 /* Supplied precision is unused, must be 0. */
769 if (precision !
640 _PyOS_ascii_formatd(char *buffer, size_t buf_size, const char *format, double d, int precision) argument
737 PyOS_double_to_string(double val, char format_code, int precision, int flags, int *type) argument
937 format_float_short(double d, char format_code, int mode, Py_ssize_t precision, int always_add_sign, int add_dot_0_if_integer, int use_alt_formatting, char **float_strings, int *type) argument
1185 PyOS_double_to_string(double val, char format_code, int precision, int flags, int *type) argument
[all...]
/external/python/cpython3/Python/
H A Dpystrtod.c597 ensure_decimal_point(char* buffer, size_t buf_size, int precision) argument
622 assert(precision == -1);
630 if (digit_count == precision) {
642 assert(precision == -1 || digit_count < precision);
696 * @precision: The precision to use when formatting.
714 int precision)
784 buffer = ensure_decimal_point(buffer, buf_size, precision);
793 int precision,
710 _PyOS_ascii_formatd(char *buffer, size_t buf_size, const char *format, double d, int precision) argument
791 PyOS_double_to_string(double val, char format_code, int precision, int flags, int *type) argument
991 format_float_short(double d, char format_code, int mode, int precision, int always_add_sign, int add_dot_0_if_integer, int use_alt_formatting, const char * const *float_strings, int *type) argument
1240 PyOS_double_to_string(double val, char format_code, int precision, int flags, int *type) argument
[all...]
/external/junit-params/src/test/java/junitparams/
H A DParamsInAnnotationTest.java79 public void convertToBigDecimal(BigDecimal number, String string, int precision) { argument
81 assertThat(number.precision()).isEqualTo(precision);

Completed in 1488 milliseconds

1234567891011>>