Searched defs:varType (Results 1 - 25 of 28) sorted by relevance

12

/external/deqp/modules/glshared/
H A DglsShaderExecUtil.hpp51 glu::VarType varType; //!< Symbol type. member in struct:deqp::gls::ShaderExecUtil::Symbol
54 Symbol (const std::string& name_, const glu::VarType& varType_) : name(name_), varType(varType_) {}
H A DglsRandomShaderProgram.cpp34 static rr::GenericVecType mapToGenericVecType (const rsg::VariableType& varType) argument
36 if (varType.isFloatOrVec())
38 else if (varType.isIntOrVec())
47 static glu::DataType mapToBasicType (const rsg::VariableType& varType) argument
49 if (varType.isFloatOrVec() || varType.isIntOrVec() || varType.isBoolOrVec())
51 const glu::DataType scalarType = varType.isFloatOrVec() ? glu::TYPE_FLOAT :
52 varType.isIntOrVec() ? glu::TYPE_INT :
53 varType
225 const rsg::VariableType& varType = var->getType(); local
263 const rsg::VariableType& varType = var->getType(); local
[all...]
H A DglsFragOpInteractionCase.cpp495 const rsg::VariableType& varType = shaderIn->getVariable()->getType(); local
497 const int numComponents = varType.getNumElements();
500 DE_ASSERT(varType.getBaseType() == rsg::VariableType::TYPE_FLOAT);
H A DglsShaderExecUtil.cpp91 src << in << " " << glu::declare(input->varType, input->name) << ";\n";
95 DE_ASSERT(output->varType.isBasicType());
97 if (glu::isDataTypeBoolOrBVec(output->varType.getBasicType()))
99 const int vecSize = glu::getDataTypeScalarSize(output->varType.getBasicType());
106 src << "flat " << out << " " << glu::declare(output->varType, output->name) << ";\n";
118 if (glu::isDataTypeBoolOrBVec(output->varType.getBasicType()))
119 src << "\t" << glu::declare(output->varType, output->name) << ";\n";
134 if (glu::isDataTypeBoolOrBVec(output->varType.getBasicType()))
136 const int vecSize = glu::getDataTypeScalarSize(output->varType.getBasicType());
166 src << "flat in " << glu::declare(input->varType, "geom
994 copyToBuffer(const glu::VarType& varType, const VarLayout& layout, int numValues, const void* srcBasePtr, void* dstBasePtr) argument
1021 copyFromBuffer(const glu::VarType& varType, const VarLayout& layout, int numValues, const void* srcBasePtr, void* dstBasePtr) argument
1068 const glu::VarType& varType = m_inputs[inputNdx].varType; local
1103 const glu::VarType& varType = m_outputs[outputNdx].varType; local
[all...]
/external/lzma/CPP/7zip/Archive/7z/
H A D7zProperties.cpp150 STDMETHODIMP CHandler::GetPropertyInfo(UInt32 index, BSTR *name, PROPID *propID, VARTYPE *varType) argument
159 *varType = srcItem.vt;
/external/javassist/src/main/javassist/compiler/ast/
H A DDeclarator.java25 protected int varType; field in class:Declarator
32 varType = type;
40 varType = CLASS;
51 varType = type;
60 Declarator d = new Declarator(this.varType, this.arrayDim + dim);
70 public int getType() { return varType; }
/external/chromium_org/third_party/angle/samples/translator/
H A Dtranslator.cpp31 static void PrintActiveVariables(ShHandle compiler, ShShaderInfo varType);
284 void PrintActiveVariables(ShHandle compiler, ShShaderInfo varType) argument
287 switch (varType) {
305 ShGetInfo(compiler, varType, &activeVars);
307 switch (varType) {
/external/deqp/modules/gles31/functional/
H A Des31fProgramInterfaceDefinition.cpp57 static bool containsMatchingSubtype (const glu::VarType& varType, bool (*predicate)(glu::DataType)) argument
59 if (varType.isBasicType() && predicate(varType.getBasicType()))
62 if (varType.isArrayType())
63 return containsMatchingSubtype(varType.getElementType(), predicate);
65 if (varType.isStructType())
66 for (int memberNdx = 0; memberNdx < varType.getStructPtr()->getNumMembers(); ++memberNdx)
67 if (containsMatchingSubtype(varType.getStructPtr()->getMember(memberNdx).getType(), predicate))
76 if (containsMatchingSubtype(decls[varNdx].varType, predicate))
113 static bool isIllegalVertexInput (const glu::VarType& varType) argument
123 isIllegalVertexOutput(const glu::VarType& varType, bool insideAStruct = false, bool insideAnArray = false) argument
164 isIllegalFragmentInput(const glu::VarType& varType) argument
169 isIllegalFragmentOutput(const glu::VarType& varType, bool insideAnArray = false) argument
196 isTypeIntegerOrContainsIntegers(const glu::VarType& varType) argument
[all...]
H A Des31fComputeShaderBuiltinVarTests.cpp78 ComputeBuiltinVarCase (Context& context, const char* name, const char* varName, DataType varType);
112 ComputeBuiltinVarCase::ComputeBuiltinVarCase (Context& context, const char* name, const char* varName, DataType varType) argument
115 , m_varType (varType)
136 static string genBuiltinVarSource (const string& varName, DataType varType, const UVec3& localSize) argument
145 << " " << glu::getDataTypeName(varType) << " result[];\n"
H A Des31fProgramInterfaceDefinitionUtil.cpp200 collectNamedStructureDefinitions(namedStructs, defaultBlock.variables[ndx].varType);
204 collectNamedStructureDefinitions(namedStructs, defaultBlock.interfaceBlocks[blockNdx].variables[ndx].varType);
247 static void writeVariableReadAccumulateExpression (std::ostringstream& buf, const std::string& accumulatorName, const std::string& name, const glu::VarType& varType) argument
249 if (varType.isBasicType())
253 if (glu::isDataTypeScalar(varType.getBasicType()))
255 else if (glu::isDataTypeVector(varType.getBasicType()))
257 else if (glu::isDataTypeMatrix(varType.getBasicType()))
259 else if (glu::isDataTypeSamplerMultisample(varType.getBasicType()))
261 else if (glu::isDataTypeSampler(varType.getBasicType()))
263 else if (glu::isDataTypeImage(varType
323 writeVariableWriteExpression(std::ostringstream& buf, const std::string& sourceVec4Name, const std::string& name, const glu::VarType& varType) argument
[all...]
H A Des31fProgramUniformTests.cpp913 // Generates the basic uniforms, based on the uniform with name varName and type varType, in the same manner as are expected
917 const glu::VarType& varType,
1000 void UniformCase::generateBasicUniforms (vector<BasicUniform>& basicUniformsDst, vector<BasicUniformReportRef>& basicUniformReportsDst, const glu::VarType& varType, const char* const varName, const bool isParentActive, int& samplerUnitCounter, Random& rnd) const argument
1002 if (varType.isBasicType())
1005 const glu::DataType type = varType.getBasicType();
1007 : generateRandomVarValue(varType.getBasicType(), rnd);
1009 basicUniformsDst.push_back(BasicUniform(varName, varType.getBasicType(), isActive, value));
1010 basicUniformReportsDst.push_back(BasicUniformReportRef(varName, varType.getBasicType(), isActive));
1012 else if (varType.isArrayType())
1014 const int size = varType
[all...]
H A Des31fSSBOLayoutCase.cpp591 const VarType& varType = bufVar.getType(); local
594 if (varType.isArrayType())
597 const int topLevelArraySize = varType.getArraySize() == VarType::UNSIZED_ARRAY ? 0 : varType.getArraySize();
601 const int baseAlignment = isStd140 ? computeStd140BaseAlignment(varType, combinedFlags)
602 : computeStd430BaseAlignment(varType, combinedFlags);
604 const VarType& elemType = varType.getElementType();
669 const int stride = computeReferenceLayout(layout, curBlockNdx, curOffset, prefix, varType.getElementType(), combinedFlags);
683 return computeReferenceLayout(layout, curBlockNdx, baseOffset, blockPrefix + bufVar.getName(), varType, combinedFlags);
/external/chromium_org/third_party/angle/src/compiler/translator/
H A DShaderLang.cpp72 const sh::ShaderVariable *GetVariable(const TCompiler *compiler, ShShaderInfo varType, int index) argument
74 switch (varType)
399 ShShaderInfo varType,
411 ASSERT((varType == SH_ACTIVE_ATTRIBUTES) ||
412 (varType == SH_ACTIVE_UNIFORMS) ||
413 (varType == SH_VARYINGS));
420 const sh::ShaderVariable *varInfo = GetVariable(compiler, varType, index);
398 ShGetVariableInfo(const ShHandle handle, ShShaderInfo varType, int index, size_t* length, int* size, sh::GLenum* type, ShPrecisionType* precision, int* staticUse, char* name, char* mappedName) argument
/external/deqp/modules/gles2/functional/
H A Des2fShaderIndexingTests.cpp145 ShaderIndexingCase (Context& context, const char* name, const char* description, bool isVertexCase, DataType varType, ShaderEvalFunc evalFunc, deUint32 requirements, const char* vertShaderSource, const char* fragShaderSource);
161 ShaderIndexingCase::ShaderIndexingCase (Context& context, const char* name, const char* description, bool isVertexCase, DataType varType, ShaderEvalFunc evalFunc, deUint32 requirements, const char* vertShaderSource, const char* fragShaderSource) argument
165 m_varType = varType;
251 static ShaderIndexingCase* createVaryingArrayCase (Context& context, const char* caseName, const char* description, DataType varType, IndexAccessType vertAccess, IndexAccessType fragAccess) argument
341 params.insert(pair<string, string>("VAR_TYPE", getDataTypeName(varType)));
345 if (varType == TYPE_FLOAT)
347 else if (varType == TYPE_FLOAT_VEC2)
349 else if (varType == TYPE_FLOAT_VEC3)
359 ShaderEvalFunc evalFunc = getArrayCoordsEvalFunc(varType);
371 return new ShaderIndexingCase(context, caseName, description, true, varType, evalFun
374 createUniformArrayCase(Context& context, const char* caseName, const char* description, bool isVertexCase, DataType varType, IndexAccessType readAccess) argument
484 createTmpArrayCase(Context& context, const char* caseName, const char* description, bool isVertexCase, DataType varType, IndexAccessType writeAccess, IndexAccessType readAccess) argument
648 createVectorSubscriptCase(Context& context, const char* caseName, const char* description, bool isVertexCase, DataType varType, VectorAccessType writeAccess, VectorAccessType readAccess) argument
834 createMatrixSubscriptCase(Context& context, const char* caseName, const char* description, bool isVertexCase, DataType varType, IndexAccessType writeAccess, IndexAccessType readAccess) argument
1024 DataType varType = s_floatAndVecTypes[typeNdx]; local
1046 DataType varType = s_floatAndVecTypes[typeNdx]; local
1070 DataType varType = s_floatAndVecTypes[typeNdx]; local
1106 DataType varType = s_vectorTypes[typeNdx]; local
1142 DataType varType = s_matrixTypes[typeNdx]; local
[all...]
H A Des2fUniformApiTests.cpp888 // Generates the basic uniforms, based on the uniform with name varName and type varType, in the same manner as are expected
892 const glu::VarType& varType,
1011 void UniformCase::generateBasicUniforms (vector<BasicUniform>& basicUniformsDst, vector<BasicUniformReportRef>& basicUniformReportsDst, const glu::VarType& varType, const char* const varName, const bool isParentActive, int& samplerUnitCounter, Random& rnd) const argument
1013 if (varType.isBasicType())
1016 const glu::DataType type = varType.getBasicType();
1019 : generateRandomVarValue(varType.getBasicType(), rnd);
1021 basicUniformsDst.push_back(BasicUniform(varName, varType.getBasicType(), isActive, value));
1022 basicUniformReportsDst.push_back(BasicUniformReportRef(varName, varType.getBasicType(), isActive));
1024 else if (varType.isArrayType())
1026 const int size = varType
[all...]
/external/deqp/modules/gles3/functional/
H A Des3fShaderIndexingTests.cpp138 ShaderIndexingCase (Context& context, const char* name, const char* description, bool isVertexCase, DataType varType, ShaderEvalFunc evalFunc, const char* vertShaderSource, const char* fragShaderSource);
151 ShaderIndexingCase::ShaderIndexingCase (Context& context, const char* name, const char* description, bool isVertexCase, DataType varType, ShaderEvalFunc evalFunc, const char* vertShaderSource, const char* fragShaderSource) argument
154 m_varType = varType;
221 static ShaderIndexingCase* createVaryingArrayCase (Context& context, const char* caseName, const char* description, DataType varType, IndexAccessType vertAccess, IndexAccessType fragAccess) argument
314 params.insert(pair<string, string>("VAR_TYPE", getDataTypeName(varType)));
318 if (varType == TYPE_FLOAT)
320 else if (varType == TYPE_FLOAT_VEC2)
322 else if (varType == TYPE_FLOAT_VEC3)
332 ShaderEvalFunc evalFunc = getArrayCoordsEvalFunc(varType);
333 return new ShaderIndexingCase(context, caseName, description, true, varType, evalFun
336 createUniformArrayCase(Context& context, const char* caseName, const char* description, bool isVertexCase, DataType varType, IndexAccessType readAccess) argument
442 createTmpArrayCase(Context& context, const char* caseName, const char* description, bool isVertexCase, DataType varType, IndexAccessType writeAccess, IndexAccessType readAccess) argument
602 createVectorSubscriptCase(Context& context, const char* caseName, const char* description, bool isVertexCase, DataType varType, VectorAccessType writeAccess, VectorAccessType readAccess) argument
802 createMatrixSubscriptCase(Context& context, const char* caseName, const char* description, bool isVertexCase, DataType varType, IndexAccessType writeAccess, IndexAccessType readAccess) argument
989 DataType varType = s_floatAndVecTypes[typeNdx]; local
1011 DataType varType = s_floatAndVecTypes[typeNdx]; local
1035 DataType varType = s_floatAndVecTypes[typeNdx]; local
1071 DataType varType = s_vectorTypes[typeNdx]; local
1113 DataType varType = s_matrixTypes[typeNdx]; local
[all...]
H A Des3fUniformApiTests.cpp1057 // Generates the basic uniforms, based on the uniform with name varName and type varType, in the same manner as are expected
1061 const glu::VarType& varType,
1182 void UniformCase::generateBasicUniforms (vector<BasicUniform>& basicUniformsDst, vector<BasicUniformReportRef>& basicUniformReportsDst, const glu::VarType& varType, const char* const varName, const bool isParentActive, int& samplerUnitCounter, Random& rnd) const argument
1184 if (varType.isBasicType())
1187 const glu::DataType type = varType.getBasicType();
1190 : generateRandomVarValue(varType.getBasicType(), rnd);
1192 basicUniformsDst.push_back(BasicUniform(varName, varType.getBasicType(), isActive, value));
1193 basicUniformReportsDst.push_back(BasicUniformReportRef(varName, varType.getBasicType(), isActive));
1195 else if (varType.isArrayType())
1197 const int size = varType
[all...]
/external/javassist/src/main/javassist/compiler/
H A DMemberCodeGen.java410 protected void atArrayVariableAssign(ArrayInit init, int varType, argument
412 atNewArrayExpr2(varType, null, varClass, init);
H A DCodeGen.java780 int varType = d.getType();
790 atArrayVariableAssign((ArrayInit)right, varType, varArray, varClass);
792 atAssignCore(expr, op, right, varType, varArray, varClass);
795 if (is2word(varType, varArray))
802 else if (varType == DOUBLE)
804 else if (varType == FLOAT)
806 else if (varType == LONG)
808 else if (isRefType(varType))
813 exprType = varType;
819 int varType, in
818 atArrayVariableAssign(ArrayInit init, int varType, int varArray, String varClass) argument
[all...]
/external/lzma/CPP/7zip/Archive/Common/
H A DHandlerOut.cpp133 static bool ConvertProperty(PROPVARIANT srcProp, VARTYPE varType, NCOM::CPropVariant &destProp) argument
135 if (varType == srcProp.vt)
140 if (varType == VT_UI1)
151 else if (varType == VT_BOOL)
/external/deqp/framework/opengl/
H A DgluVarType.hpp264 VarType varType; member in struct:glu::VariableDeclaration
310 DeclareVariable (const VarType& varType_, const std::string& name_, int indentLevel_) : varType(varType_), name(name_), indentLevel(indentLevel_) {}
312 VarType varType; member in struct:glu::decl::DeclareVariable
327 inline decl::DeclareVariable declare (const VarType& varType, const std::string& name, int indentLevel = 0) { return decl::DeclareVariable (varType, name, indentLevel); } argument
/external/clang/lib/StaticAnalyzer/Core/
H A DExprEngine.cpp579 QualType varType = varDecl->getType(); local
585 if (const ReferenceType *refType = varType->getAs<ReferenceType>()) {
586 varType = refType->getPointeeType();
590 VisitCXXDestructor(varType, Region, Dtor.getTriggerStmt(), /*IsBase=*/ false,
663 QualType varType = D.getBindTemporaryExpr()->getSubExpr()->getType(); local
667 VisitCXXDestructor(varType, nullptr, D.getBindTemporaryExpr(),
/external/clang/lib/CodeGen/
H A DCGCall.cpp1321 llvm::Type *varType = CGF.ConvertType(var->getType()); local
1325 if (value->getType() == varType) return value;
1327 assert((varType->isIntegerTy() || varType->isFloatingPointTy())
1330 if (isa<llvm::IntegerType>(varType))
1331 return CGF.Builder.CreateTrunc(value, varType, "arg.unpromote");
1333 return CGF.Builder.CreateFPCast(value, varType, "arg.unpromote");
/external/robolectric/lib/main/
H A Djavassist-3.14.0-GA.jarMETA-INF/ META-INF/MANIFEST.MF javassist/ javassist/bytecode/ javassist/bytecode/analysis/ javassist/bytecode/annotation/ javassist/ ...
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/closure/
H A Dcompiler.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/javascript/ com/google/javascript/jscomp/ ...

Completed in 1108 milliseconds

12