/external/deqp/modules/gles3/functional/ |
D | es3fShaderConstExprTests.cpp | 75 …{"radians", "radians(${T} (90.0))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, deFloatRadia… in init() 76 …{"degrees", "degrees(${T} (2.0))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, deFloatDegree… in init() 77 …{"sin", "sin(${T} (3.0))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, deFloatSin(3.0f) … in init() 78 …{"cos", "cos(${T} (3.2))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, deFloatCos(3.2f) … in init() 79 …{"tan", "tan(${T} (1.5))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, deFloatTan(1.5f) … in init() 80 …{"asin", "asin(${T} (0.0))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, deFloatAsin(0.0f) … in init() 81 …{"acos", "acos(${T} (1.0))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, deFloatAcos(1.0f) … in init() 82 …{"atan_separate", "atan(${T} (-1.0), ${T} (-1.0))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, d… in init() 83 …{"atan_combined", "atan(${T} (2.0))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, deFloatAtan… in init() 84 …{"sinh", "sinh(${T} (1.5))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, deFloatSinh(1.5f) … in init() [all …]
|
D | es3fDefaultVertexAttributeTests.cpp | 403 …or(glu::TYPE_FLOAT, vectorSize)) : (glu::isDataTypeVector(m_dataType)) ? (glu::getDataTypeVector(g… in genVertexSource() 417 …ormalizedValue = " << ((glu::getDataTypeScalarType(m_dataType) == glu::TYPE_FLOAT) ? ("") : (vecto… in genVertexSource() 419 …ormalizedValue = " << ((glu::getDataTypeScalarType(m_dataType) == glu::TYPE_FLOAT) ? ("") : (vecto… in genVertexSource() 573 { "float", glu::TYPE_FLOAT, false }, in init()
|
D | es3fShaderMatrixTests.cpp | 264 DECLARE_TYPE_TRAIT(TYPE_FLOAT, float); 496 template <> inline float getInputValue<INPUTTYPE_CONST, TYPE_FLOAT> (const ShaderEvalContext& e… in getInputValue() 511 template <> inline float getInputValue<INPUTTYPE_DYNAMIC, TYPE_FLOAT> (const ShaderEvalContext& … in getInputValue() 1194 MAKE_SCALAR_OPS(TYPE_FLOAT_MAT2, TYPE_FLOAT); in getEvalFunc() 1195 MAKE_SCALAR_OPS(TYPE_FLOAT_MAT2X3, TYPE_FLOAT); in getEvalFunc() 1196 MAKE_SCALAR_OPS(TYPE_FLOAT_MAT2X4, TYPE_FLOAT); in getEvalFunc() 1197 MAKE_SCALAR_OPS(TYPE_FLOAT_MAT3X2, TYPE_FLOAT); in getEvalFunc() 1198 MAKE_SCALAR_OPS(TYPE_FLOAT_MAT3, TYPE_FLOAT); in getEvalFunc() 1199 MAKE_SCALAR_OPS(TYPE_FLOAT_MAT3X4, TYPE_FLOAT); in getEvalFunc() 1200 MAKE_SCALAR_OPS(TYPE_FLOAT_MAT4X2, TYPE_FLOAT); in getEvalFunc() [all …]
|
/external/deqp/modules/gles2/functional/ |
D | es2fShaderConstExprTests.cpp | 74 …{"radians", "radians(${T} (90.0))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, deFloatRadia… in init() 75 …{"degrees", "degrees(${T} (2.0))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, deFloatDegree… in init() 76 …{"sin", "sin(${T} (3.0))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, deFloatSin(3.0f) … in init() 77 …{"cos", "cos(${T} (3.2))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, deFloatCos(3.2f) … in init() 78 …{"tan", "tan(${T} (1.5))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, deFloatTan(1.5f) … in init() 79 …{"asin", "asin(${T} (0.0))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, deFloatAsin(0.0f) … in init() 80 …{"acos", "acos(${T} (1.0))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, deFloatAcos(1.0f) … in init() 81 …{"atan_separate", "atan(${T} (-1.0), ${T} (-1.0))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, d… in init() 82 …{"atan_combined", "atan(${T} (2.0))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, deFloatAtan… in init() 91 …{"pow", "pow(${T} (1.7), ${T} (3.5))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, deFloatPow… in init() [all …]
|
D | es2fDefaultVertexAttributeTests.cpp | 327 …or(glu::TYPE_FLOAT, vectorSize)) : (glu::isDataTypeVector(m_dataType)) ? (glu::getDataTypeVector(g… in genVertexSource() 340 …ormalizedValue = " << ((glu::getDataTypeScalarType(m_dataType) == glu::TYPE_FLOAT) ? ("") : (vecto… in genVertexSource() 342 …ormalizedValue = " << ((glu::getDataTypeScalarType(m_dataType) == glu::TYPE_FLOAT) ? ("") : (vecto… in genVertexSource() 496 { "float", glu::TYPE_FLOAT, false }, in init()
|
D | es2fShaderMatrixTests.cpp | 156 DECLARE_TYPE_TRAIT(TYPE_FLOAT, float); 338 template <> inline float getInputValue<INPUTTYPE_CONST, TYPE_FLOAT> (const ShaderEvalContext& e… in getInputValue() 346 template <> inline float getInputValue<INPUTTYPE_DYNAMIC, TYPE_FLOAT> (const ShaderEvalContext& … in getInputValue() 657 MAKE_MAT_SCALAR_VEC_CASES(SCALAR_OPS, TYPE_FLOAT_MAT2, TYPE_FLOAT); in getEvalFunc() 658 MAKE_MAT_SCALAR_VEC_CASES(SCALAR_OPS, TYPE_FLOAT_MAT3, TYPE_FLOAT); in getEvalFunc() 659 MAKE_MAT_SCALAR_VEC_CASES(SCALAR_OPS, TYPE_FLOAT_MAT4, TYPE_FLOAT); in getEvalFunc() 807 if (otherType == TYPE_FLOAT) in init() 874 case TYPE_FLOAT: op << de::floatToString(s_constInFloat[inNdx], 1); break; in init() 1030 case TYPE_FLOAT: op << varName << ", " << varName << ", " << varName << ""; break; in genGLSLMatToVec3Reduction() 1064 case TYPE_FLOAT: gl.uniform1f(loc, s_constInFloat[inNdx]); break; in setupUniforms() [all …]
|
/external/deqp/framework/opengl/ |
D | gluShaderUtil.cpp | 358 TYPE_FLOAT, // float in getDataTypeScalarType() 359 TYPE_FLOAT, // vec2 in getDataTypeScalarType() 360 TYPE_FLOAT, // vec3 in getDataTypeScalarType() 361 TYPE_FLOAT, // vec4 in getDataTypeScalarType() 362 TYPE_FLOAT, // mat2 in getDataTypeScalarType() 363 TYPE_FLOAT, // mat2x3 in getDataTypeScalarType() 364 TYPE_FLOAT, // mat2x4 in getDataTypeScalarType() 365 TYPE_FLOAT, // mat3x2 in getDataTypeScalarType() 366 TYPE_FLOAT, // mat3 in getDataTypeScalarType() 367 TYPE_FLOAT, // mat3x4 in getDataTypeScalarType() [all …]
|
D | gluShaderUtil.hpp | 101 TYPE_FLOAT, enumerator 208 inline bool isDataTypeFloatOrVec (DataType dataType) { return (dataType >= TYPE_FLOAT) && (d… in isDataTypeFloatOrVec() 213 inline bool isDataTypeScalar (DataType dataType) { return (dataType == TYPE_FLOAT) || (dataType … in isDataTypeScalar() 215 inline bool isDataTypeScalarOrVector (DataType dataType) { return deInRange32(dataType, TYPE_FLOAT… in isDataTypeScalarOrVector() 233 template <> struct DataTypeTraits<float> { enum { DATATYPE = TYPE_FLOAT }; }; 250 DE_STATIC_ASSERT(TYPE_FLOAT_VEC4 == TYPE_FLOAT + 3);
|
/external/deqp/modules/gles31/functional/ |
D | es31fNegativeShaderFunctionTests.cpp | 101 glu::TYPE_FLOAT, 125 glu::TYPE_FLOAT, 207 case glu::TYPE_FLOAT: variable << "(1.0);\n"; break; in declareAndInitializeShaderVariable() 1805 …ture(ctx, s_shaders[shaderNdx], glu::TYPE_SAMPLER_2D, s_floatTypes[dataTypeNdx], glu::TYPE_FLOAT)); in texture_invalid_p() 1813 …(ctx, s_shaders[shaderNdx], glu::TYPE_INT_SAMPLER_2D, s_floatTypes[dataTypeNdx], glu::TYPE_FLOAT)); in texture_invalid_p() 1821 …ctx, s_shaders[shaderNdx], glu::TYPE_UINT_SAMPLER_2D, s_floatTypes[dataTypeNdx], glu::TYPE_FLOAT)); in texture_invalid_p() 1830 …exture(ctx, s_shaders[shaderNdx], glu::TYPE_SAMPLER_2D, s_intTypes[dataTypeNdx], glu::TYPE_FLOAT)); in texture_invalid_p() 1838 …re(ctx, s_shaders[shaderNdx], glu::TYPE_INT_SAMPLER_2D, s_intTypes[dataTypeNdx], glu::TYPE_FLOAT)); in texture_invalid_p() 1846 …e(ctx, s_shaders[shaderNdx], glu::TYPE_UINT_SAMPLER_2D, s_intTypes[dataTypeNdx], glu::TYPE_FLOAT)); in texture_invalid_p() 1854 …xture(ctx, s_shaders[shaderNdx], glu::TYPE_SAMPLER_2D, s_uintTypes[dataTypeNdx], glu::TYPE_FLOAT)); in texture_invalid_p() [all …]
|
D | es31fShaderSharedVarTests.cpp | 368 for (int basicType = TYPE_FLOAT; basicType <= TYPE_BOOL_VEC4; basicType++) in init() 393 …workGroupSizeGroup->addChild(new SharedBasicVarCase(m_context, "float_1_1_1", TYPE_FLOAT, PRECI… in init() 394 …workGroupSizeGroup->addChild(new SharedBasicVarCase(m_context, "float_64_1_1", TYPE_FLOAT, PREC… in init() 395 …workGroupSizeGroup->addChild(new SharedBasicVarCase(m_context, "float_1_64_1", TYPE_FLOAT, PREC… in init() 396 …workGroupSizeGroup->addChild(new SharedBasicVarCase(m_context, "float_1_1_64", TYPE_FLOAT, PREC… in init() 397 …workGroupSizeGroup->addChild(new SharedBasicVarCase(m_context, "float_128_1_1", TYPE_FLOAT, PRE… in init() 398 …workGroupSizeGroup->addChild(new SharedBasicVarCase(m_context, "float_1_128_1", TYPE_FLOAT, PRE… in init() 399 …workGroupSizeGroup->addChild(new SharedBasicVarCase(m_context, "float_13_2_4", TYPE_FLOAT, PREC… in init()
|
/external/protobuf/src/google/protobuf/io/ |
D | tokenizer_unittest.cc | 220 { "123.45", Tokenizer::TYPE_FLOAT }, 221 { "1.", Tokenizer::TYPE_FLOAT }, 222 { "1e3", Tokenizer::TYPE_FLOAT }, 223 { "1E3", Tokenizer::TYPE_FLOAT }, 224 { "1e-3", Tokenizer::TYPE_FLOAT }, 225 { "1e+3", Tokenizer::TYPE_FLOAT }, 226 { "1.e3", Tokenizer::TYPE_FLOAT }, 227 { "1.2e3", Tokenizer::TYPE_FLOAT }, 228 { ".1", Tokenizer::TYPE_FLOAT }, 229 { ".1e3", Tokenizer::TYPE_FLOAT }, [all …]
|
/external/deqp/framework/randomshaders/ |
D | rsgUtils.cpp | 63 case VariableType::TYPE_FLOAT: in computeRandomValue() 129 case VariableType::TYPE_FLOAT: in isUndefinedValueRange() 132 bool isFloat = valueRange.getType().getBaseType() == VariableType::TYPE_FLOAT; in isUndefinedValueRange() 161 VariableType::TYPE_FLOAT in computeRandomType() 172 case VariableType::TYPE_FLOAT: in computeRandomType() 218 case VariableType::TYPE_FLOAT: in computeRandomValueRange() 261 case VariableType::TYPE_FLOAT: in getTypeConstructorDepth() 277 case VariableType::TYPE_FLOAT: in getTypeConstructorDepth() 301 case VariableType::TYPE_FLOAT: in computeRangeLengthSum()
|
D | rsgVariableType.cpp | 86 case TYPE_FLOAT: in getScalarSize() 134 case TYPE_FLOAT: in getScalarType() 138 VariableType(TYPE_FLOAT, 1) in getScalarType() 185 case TYPE_FLOAT: in getElementType() 220 case TYPE_FLOAT: in tokenizeShortType()
|
D | rsgShaderGenerator.cpp | 140 TCU_CHECK(baseType == VariableType::TYPE_FLOAT || in fillUndefinedComponents() 153 case VariableType::TYPE_FLOAT: min = 0.0f; max = 1.0f; break; in fillUndefinedComponents() 206 …Var = m_state.getVariableManager().allocate(VariableType(VariableType::TYPE_FLOAT, 4), Variable::S… in generate() 254 …ble = m_state.getVariableManager().allocate(VariableType(VariableType::TYPE_FLOAT, 4), Variable::S… in generate() 255 …ble = m_state.getVariableManager().allocate(VariableType(VariableType::TYPE_FLOAT, 4), Variable::S… in generate()
|
D | rsgExpression.cpp | 195 case VariableType::TYPE_FLOAT: in computeRandomValueRangeForInfElements() 245 case VariableType::TYPE_FLOAT: in setInfiniteRange() 360 : m_value(VariableType::getScalarType(VariableType::TYPE_FLOAT)) in FloatLiteral() 366 if (valueRange.getType() == VariableType(VariableType::TYPE_FLOAT, 1)) in FloatLiteral() 381 ExecValueAccess access = m_value.getValue(VariableType::getScalarType(VariableType::TYPE_FLOAT)); in FloatLiteral() 391 if (type == VariableType(VariableType::TYPE_FLOAT, 1)) in getWeight() 414 str << Token(m_value.getValue(VariableType::getScalarType(VariableType::TYPE_FLOAT)).asFloat(0)); in tokenize() 627 case VariableType::TYPE_FLOAT: return 0; in getBaseTypeConvNdx() 707 …if (isConversionOk(VariableType::TYPE_FLOAT, baseType, comp)) inTypes[numInTypes++] = VariableType… in ConstructorOp() 956 return type.getBaseType() == VariableType::TYPE_FLOAT; in isShaderInOutSupportedType() [all …]
|
D | rsgBinaryOps.cpp | 124 if (Float) baseTypes.push_back(VariableType::TYPE_FLOAT); in BinaryVecOp() 153 …if ((baseType == VariableType::TYPE_FLOAT || baseType == VariableType::TYPE_INT) && isUndefinedVal… in BinaryVecOp() 162 if (baseType == VariableType::TYPE_FLOAT) in BinaryVecOp() 192 case VariableType::TYPE_FLOAT: in evaluate() 413 VariableType::Type inBaseTypes[] = { VariableType::TYPE_FLOAT, VariableType::TYPE_INT }; in RelationalOp() 427 if (inBaseType == VariableType::TYPE_FLOAT) in RelationalOp() 449 case VariableType::TYPE_FLOAT: in evaluate() 708 VariableType::Type inBaseTypes[] = { VariableType::TYPE_FLOAT, VariableType::TYPE_INT }; in EqualityComparisonOp() 726 if (inBaseType == VariableType::TYPE_FLOAT) in EqualityComparisonOp() 794 case VariableType::TYPE_FLOAT: in evaluate()
|
D | rsgVariableType.hpp | 42 TYPE_FLOAT, enumerator 160 bool isFloatOrVec (void) const { return m_baseType == TYPE_FLOAT; } in isFloatOrVec()
|
/external/v8/src/ |
D | flags.cc | 36 enum FlagType { TYPE_BOOL, TYPE_MAYBE_BOOL, TYPE_INT, TYPE_FLOAT, enumerator 68 DCHECK(type_ == TYPE_FLOAT); in float_variable() 101 DCHECK(type_ == TYPE_FLOAT); in float_default() 124 case TYPE_FLOAT: in IsDefault() 152 case TYPE_FLOAT: in Reset() 180 case Flag::TYPE_FLOAT: return "float"; in Type2String() 202 case Flag::TYPE_FLOAT: in operator <<() 402 case Flag::TYPE_FLOAT: in SetFlagsFromCommandLine()
|
/external/nanopb-c/generator/google/protobuf/internal/ |
D | type_checkers.py | 175 _FieldDescriptor.TYPE_FLOAT: wire_format.FloatByteSize, 198 _FieldDescriptor.TYPE_FLOAT: encoder.FloatEncoder, 221 _FieldDescriptor.TYPE_FLOAT: encoder.FloatSizer, 244 _FieldDescriptor.TYPE_FLOAT: decoder.FloatDecoder, 266 _FieldDescriptor.TYPE_FLOAT: wire_format.WIRETYPE_FIXED32,
|
/external/protobuf/python/google/protobuf/internal/ |
D | type_checkers.py | 217 _FieldDescriptor.TYPE_FLOAT: wire_format.FloatByteSize, 240 _FieldDescriptor.TYPE_FLOAT: encoder.FloatEncoder, 263 _FieldDescriptor.TYPE_FLOAT: encoder.FloatSizer, 286 _FieldDescriptor.TYPE_FLOAT: decoder.FloatDecoder, 308 _FieldDescriptor.TYPE_FLOAT: wire_format.WIRETYPE_FIXED32,
|
/external/deqp/modules/glshared/ |
D | glsShaderConstExprTests.cpp | 65 case glu::TYPE_FLOAT: in addOutputVar() 88 DE_STATIC_ASSERT(glu::TYPE_FLOAT+1 == glu::TYPE_FLOAT_VEC2); in createTests() 89 DE_STATIC_ASSERT(glu::TYPE_FLOAT+2 == glu::TYPE_FLOAT_VEC3); in createTests() 90 DE_STATIC_ASSERT(glu::TYPE_FLOAT+3 == glu::TYPE_FLOAT_VEC4); in createTests()
|
/external/protobuf/java/src/main/java/com/google/protobuf/nano/ |
D | Extension.java | 59 public static final int TYPE_FLOAT = 2; field in Extension 363 case TYPE_FLOAT: in readData() 430 case TYPE_FLOAT: in writeSingularData() 529 case TYPE_FLOAT: in writeRepeatedData() 608 case TYPE_FLOAT: in computePackedDataSize() 689 case TYPE_FLOAT: in computeSingularSerializedSize()
|
/external/proguard/src/proguard/evaluation/value/ |
D | FloatValue.java | 352 return TYPE_FLOAT; in computationalType() 357 return String.valueOf(ClassConstants.TYPE_FLOAT); in internalType()
|
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
D | vktShaderRenderMatrixTests.cpp | 259 DECLARE_TYPE_TRAIT(TYPE_FLOAT, float); 491 template <> inline float getInputValue<INPUTTYPE_CONST, TYPE_FLOAT> (const ShaderEvalContext& e… in getInputValue() 506 template <> inline float getInputValue<INPUTTYPE_DYNAMIC, TYPE_FLOAT> (const ShaderEvalContext& … in getInputValue() 1189 MAKE_SCALAR_OPS(TYPE_FLOAT_MAT2, TYPE_FLOAT); in getEvalFunc() 1190 MAKE_SCALAR_OPS(TYPE_FLOAT_MAT2X3, TYPE_FLOAT); in getEvalFunc() 1191 MAKE_SCALAR_OPS(TYPE_FLOAT_MAT2X4, TYPE_FLOAT); in getEvalFunc() 1192 MAKE_SCALAR_OPS(TYPE_FLOAT_MAT3X2, TYPE_FLOAT); in getEvalFunc() 1193 MAKE_SCALAR_OPS(TYPE_FLOAT_MAT3, TYPE_FLOAT); in getEvalFunc() 1194 MAKE_SCALAR_OPS(TYPE_FLOAT_MAT3X4, TYPE_FLOAT); in getEvalFunc() 1195 MAKE_SCALAR_OPS(TYPE_FLOAT_MAT4X2, TYPE_FLOAT); in getEvalFunc() [all …]
|
/external/protobuf/src/google/protobuf/compiler/java/ |
D | java_helpers.cc | 279 case FieldDescriptor::TYPE_FLOAT: in GetJavaType() 341 case FieldDescriptor::TYPE_FLOAT : return "FLOAT"; in FieldTypeName() 614 case FieldDescriptor::TYPE_FLOAT : return "Float"; in GetCapitalizedType() 647 case FieldDescriptor::TYPE_FLOAT : return WireFormatLite::kFloatSize; in FixedSize()
|