Home
last modified time | relevance | path

Searched refs:constructorType (Results 1 – 9 of 9) sorted by relevance

/external/skia/src/sksl/ir/
DSkSLConstructorScalarCast.cpp13 static std::unique_ptr<Expression> cast_scalar_literal(const Type& constructorType, in cast_scalar_literal() argument
17 if (constructorType.isFloat()) { in cast_scalar_literal()
19 return FloatLiteral::Make(expr.fOffset, (SKSL_FLOAT)value, &constructorType); in cast_scalar_literal()
20 } else if (constructorType.isInteger()) { in cast_scalar_literal()
22 return IntLiteral::Make(expr.fOffset, value, &constructorType); in cast_scalar_literal()
23 } else if (constructorType.isBoolean()) { in cast_scalar_literal()
25 return BoolLiteral::Make(expr.fOffset, value != 0, &constructorType); in cast_scalar_literal()
29 if (constructorType.isFloat()) { in cast_scalar_literal()
31 return FloatLiteral::Make(expr.fOffset, value, &constructorType); in cast_scalar_literal()
32 } else if (constructorType.isInteger()) { in cast_scalar_literal()
[all …]
/external/angle/third_party/vulkan-deps/glslang/src/glslang/MachineIndependent/
DparseConst.cpp48constructorType(constructType), singleConstantParam(singleConstParam), error(false), isMatrix(fals… in TConstTraverser()
58 TOperator constructorType; member in glslang::TConstTraverser
82 constructorType = node->getOp(); in visitAggregate()
103 constructorType = EOpNull; in visitAggregate()
199 …eConstTree(TIntermNode* root, TConstUnionArray unionArray, TOperator constructorType, const TType&… in parseConstTree() argument
204 TConstTraverser it(unionArray, singleConstantParam, constructorType, t); in parseConstTree()
/external/deqp-deps/glslang/glslang/MachineIndependent/
DparseConst.cpp48constructorType(constructType), singleConstantParam(singleConstParam), error(false), isMatrix(fals… in TConstTraverser()
58 TOperator constructorType; member in glslang::TConstTraverser
82 constructorType = node->getOp(); in visitAggregate()
103 constructorType = EOpNull; in visitAggregate()
200 …eConstTree(TIntermNode* root, TConstUnionArray unionArray, TOperator constructorType, const TType&… in parseConstTree() argument
205 TConstTraverser it(unionArray, singleConstantParam, constructorType, t); in parseConstTree()
/external/swiftshader/src/OpenGL/compiler/
DparseConst.cpp28 constructorType(constructType), in TConstTraverser()
51 TOperator constructorType; member in TConstTraverser
122 constructorType = node->getOp(); in visitAggregate()
142 constructorType = EOpNull; in visitAggregate()
239 …ceLoc& line, TIntermNode* root, ConstantUnion* unionArray, TOperator constructorType, TType t, boo… in parseConstTree() argument
244 TConstTraverser it(unionArray, singleConstantParam, constructorType, infoSink, t); in parseConstTree()
/external/angle/src/compiler/translator/
DFunctionLookup.h34 const TType &constructorType() const;
48 const TType *constructorType,
DFunctionLookup.cpp47 const TType *constructorType, in TFunctionLookup() argument
49 : mName(name), mConstructorType(constructorType), mThisNode(nullptr), mSymbol(symbol) in TFunctionLookup()
149 const TType &TFunctionLookup::constructorType() const in constructorType() function in sh::TFunctionLookup
DParseContext.cpp4167 TType type = fnCall->constructorType(); in addConstructor()
/external/dagger2/java/dagger/internal/codegen/binding/
DAssistedInjectionAnnotations.java98 ExecutableType constructorType = in assistedParameterSpecs() local
100 return assistedParameterSpecs(constructor.getParameters(), constructorType.getParameterTypes()); in assistedParameterSpecs()
DBindingFactory.java127 ExecutableType constructorType = MoreTypes.asExecutable(constructorElement.asType()); in injectionBinding() local
139 constructorType = MoreTypes.asExecutable(types.asMemberOf(resolved, constructorElement)); in injectionBinding()
148 TypeMirror parameterType = constructorType.getParameterTypes().get(i); in injectionBinding()