Searched refs:varType (Results 1 - 25 of 56) sorted by relevance

123

/external/deqp/modules/gles31/functional/
H A Des31fProgramInterfaceDefinition.cpp59 static bool containsMatchingSubtype (const glu::VarType& varType, bool (*predicate)(glu::DataType)) argument
61 if (varType.isBasicType() && predicate(varType.getBasicType()))
64 if (varType.isArrayType())
65 return containsMatchingSubtype(varType.getElementType(), predicate);
67 if (varType.isStructType())
68 for (int memberNdx = 0; memberNdx < varType.getStructPtr()->getNumMembers(); ++memberNdx)
69 if (containsMatchingSubtype(varType.getStructPtr()->getMember(memberNdx).getType(), predicate))
78 if (containsMatchingSubtype(decls[varNdx].varType, predicate))
115 static bool isIllegalVertexInput (const glu::VarType& varType) argument
125 isIllegalVertexOutput(const glu::VarType& varType, bool insideAStruct = false, bool insideAnArray = false) argument
166 isIllegalFragmentInput(const glu::VarType& varType) argument
171 isIllegalFragmentOutput(const glu::VarType& varType, bool insideAnArray = false) argument
198 isTypeIntegerOrContainsIntegers(const glu::VarType& varType) argument
[all...]
H A Des31fShaderCommonFunctionTests.cpp300 sizes[ndx] = symbols[ndx].varType.getScalarSize();
308 totalSize += sym->varType.getScalarSize();
320 const int scalarSize = var.varType.getScalarSize();
440 << VarValue(m_spec.inputs[inNdx].varType, curInputPtr[inNdx])
446 << VarValue(m_spec.outputs[outNdx].varType, curOutputPtr[outNdx])
524 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
525 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
536 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
537 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
606 const glu::DataType type = m_spec.inputs[0].varType
[all...]
H A Des31fProgramInterfaceDefinitionUtil.cpp326 collectNamedStructureDefinitions(namedStructs, defaultBlock.variables[ndx].varType);
330 collectNamedStructureDefinitions(namedStructs, defaultBlock.interfaceBlocks[blockNdx].variables[ndx].varType);
395 const glu::VarType& varType)
397 if (varType.isBasicType())
401 if (glu::isDataTypeScalar(varType.getBasicType()))
403 else if (glu::isDataTypeVector(varType.getBasicType()))
405 else if (glu::isDataTypeMatrix(varType.getBasicType()))
407 else if (glu::isDataTypeSamplerMultisample(varType.getBasicType()))
409 else if (glu::isDataTypeSampler(varType.getBasicType()))
411 else if (glu::isDataTypeImage(varType
[all...]
H A Des31fShaderIntegerFunctionTests.cpp224 sizes[ndx] = symbols[ndx].varType.getScalarSize();
232 totalSize += sym->varType.getScalarSize();
244 const int scalarSize = var.varType.getScalarSize();
298 << VarValue(m_spec.inputs[inNdx].varType, curInputPtr[inNdx])
304 << VarValue(m_spec.outputs[outNdx].varType, curOutputPtr[outNdx])
371 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
372 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
425 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
426 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
467 const glu::DataType type = m_spec.inputs[0].varType
[all...]
/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/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 Des3fShaderCommonFunctionTests.cpp226 sizes[ndx] = symbols[ndx].varType.getScalarSize();
234 totalSize += sym->varType.getScalarSize();
246 const int scalarSize = var.varType.getScalarSize();
366 << VarValue(m_spec.inputs[inNdx].varType, curInputPtr[inNdx])
372 << VarValue(m_spec.outputs[outNdx].varType, curOutputPtr[outNdx])
446 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
447 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
458 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
459 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
528 const glu::DataType type = m_spec.inputs[0].varType
[all...]
/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...]
/external/deqp/modules/glshared/
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 DglsShaderExecUtil.cpp111 src << in << " " << glu::declare(input->varType, inputPrefix + input->name) << ";\n";
115 DE_ASSERT(output->varType.isBasicType());
117 if (glu::isDataTypeBoolOrBVec(output->varType.getBasicType()))
119 const int vecSize = glu::getDataTypeScalarSize(output->varType.getBasicType());
126 src << "flat " << out << " " << glu::declare(output->varType, outputPrefix + output->name) << ";\n";
137 src << "\t" << glu::declare(input->varType, input->name) << " = " << inputPrefix << input->name << ";\n";
141 src << "\t" << glu::declare(output->varType, output->name) << ";\n";
155 if (glu::isDataTypeBoolOrBVec(output->varType.getBasicType()))
157 const int vecSize = glu::getDataTypeScalarSize(output->varType.getBasicType());
190 src << "flat in " << glu::declare(input->varType, inputPrefi
968 copyToBuffer(const glu::VarType& varType, const VarLayout& layout, int numValues, const void* srcBasePtr, void* dstBasePtr) argument
995 copyFromBuffer(const glu::VarType& varType, const VarLayout& layout, int numValues, const void* srcBasePtr, void* dstBasePtr) argument
1042 const glu::VarType& varType = m_inputs[inputNdx].varType; local
1077 const glu::VarType& varType = m_outputs[outputNdx].varType; local
[all...]
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_) {}
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
H A DvktShaderRenderIndexingTests.cpp152 IndexingTestUniformSetup (const DataType varType, bool usesArray) argument
153 : m_varType(varType)
224 const DataType varType,
240 const DataType varType,
242 : ShaderRenderCase(testCtx, name, description, isVertexCase, evalFunc, new IndexingTestUniformSetup(varType, usesArray), DE_NULL)
257 DataType varType,
362 params.insert(pair<string, string>("VAR_TYPE", getDataTypeName(varType)));
366 if (varType == TYPE_FLOAT)
368 else if (varType == TYPE_FLOAT_VEC2)
370 else if (varType
233 ShaderIndexingCase(tcu::TestContext& testCtx, const std::string& name, const std::string& description, const bool isVertexCase, const ShaderEvalFunc evalFunc, const std::string& vertShaderSource, const std::string& fragShaderSource, const DataType varType, const bool usesArray) argument
254 createVaryingArrayCase(tcu::TestContext& context, const std::string& caseName, const std::string& description, DataType varType, IndexAccessType vertAccess, IndexAccessType fragAccess) argument
384 createUniformArrayCase(tcu::TestContext& context, const std::string& caseName, const std::string& description, bool isVertexCase, DataType varType, IndexAccessType readAccess) argument
500 createTmpArrayCase(tcu::TestContext& context, const std::string& caseName, const std::string& description, bool isVertexCase, DataType varType, IndexAccessType writeAccess, IndexAccessType readAccess) argument
671 createVectorSubscriptCase(tcu::TestContext& context, const std::string& caseName, const std::string& description, bool isVertexCase, DataType varType, VectorAccessType writeAccess, VectorAccessType readAccess) argument
876 createMatrixSubscriptCase(tcu::TestContext& context, const std::string& caseName, const std::string& description, bool isVertexCase, DataType varType, IndexAccessType writeAccess, IndexAccessType readAccess) argument
1080 DataType varType = s_floatAndVecTypes[typeNdx]; local
1104 DataType varType = s_floatAndVecTypes[typeNdx]; local
1130 DataType varType = s_floatAndVecTypes[typeNdx]; local
1168 DataType varType = s_vectorTypes[typeNdx]; local
1212 DataType varType = s_matrixTypes[typeNdx]; local
[all...]
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
H A DvktShaderIntegerFunctionTests.cpp164 sizes[ndx] = symbols[ndx].varType.getScalarSize();
172 totalSize += sym->varType.getScalarSize();
184 const int scalarSize = var.varType.getScalarSize();
437 << VarValue(m_spec.inputs[inNdx].varType, curInputPtr[inNdx])
443 << VarValue(m_spec.outputs[outNdx].varType, curOutputPtr[outNdx])
474 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
475 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
528 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
529 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
585 const glu::DataType type = m_spec.inputs[0].varType
[all...]
H A DvktShaderExecutor.cpp113 src << "layout(location = "<< location << ") in " << glu::declare(input->varType, inputPrefix + input->name) << ";\n"
114 << "layout(location = " << location - 1 << ") flat out " << glu::declare(input->varType, outputPrefix + input->name) << ";\n";
144 src << "layout(location = " << locationNumber << ") in " << glu::declare(input->varType, inputPrefix + input->name) << ";\n";
149 DE_ASSERT(output->varType.isBasicType());
151 if (glu::isDataTypeBoolOrBVec(output->varType.getBasicType()))
153 const int vecSize = glu::getDataTypeScalarSize(output->varType.getBasicType());
160 src << "layout(location = " << locationNumber << ") flat out " << glu::declare(output->varType, outputPrefix + output->name) << ";\n";
171 src << "\t" << glu::declare(input->varType, input->name) << " = " << inputPrefix << input->name << ";\n";
175 src << "\t" << glu::declare(output->varType, output->name) << ";\n";
189 if (glu::isDataTypeBoolOrBVec(output->varType
1737 copyToBuffer(const glu::VarType& varType, const VarLayout& layout, int numValues, const void* srcBasePtr, void* dstBasePtr) argument
1764 copyFromBuffer(const glu::VarType& varType, const VarLayout& layout, int numValues, const void* srcBasePtr, void* dstBasePtr) argument
1805 const glu::VarType& varType = m_shaderSpec.inputs[inputNdx].varType; local
1829 const glu::VarType& varType = m_shaderSpec.outputs[outputNdx].varType; local
[all...]
H A DvktShaderCommonFunctionTests.cpp243 sizes[ndx] = symbols[ndx].varType.getScalarSize();
251 totalSize += sym->varType.getScalarSize();
263 const int scalarSize = var.varType.getScalarSize();
560 << VarValue(m_spec.inputs[inNdx].varType, curInputPtr[inNdx])
566 << VarValue(m_spec.outputs[outNdx].varType, curOutputPtr[outNdx])
610 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
611 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
622 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
623 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
707 const glu::DataType type = m_spec.inputs[0].varType
[all...]
/external/deqp/framework/opengl/
H A DgluVarType.hpp266 VarType varType; member in struct:glu::VariableDeclaration
312 DeclareVariable (const VarType& varType_, const std::string& name_, int indentLevel_) : varType(varType_), name(name_), indentLevel(indentLevel_) {}
314 VarType varType; member in struct:glu::decl::DeclareVariable
329 inline decl::DeclareVariable declare (const VarType& varType, const std::string& name, int indentLevel = 0) { return decl::DeclareVariable (varType, name, indentLevel); } argument
H A DgluVarType.cpp263 , varType (varType_)
274 varType == other.varType &&
342 str << declare(decl.varType, decl.name);
359 const VarType& type = decl.varType;
/external/opencv3/modules/ml/src/
H A Ddata.cpp155 Mat getVarType() const { return varType; }
215 varType.release();
244 varType = _varType.getMat();
303 if( !varType.empty() )
305 CV_Assert( varType.checkVector(1, CV_8U, true) == nvars &&
306 checkRange(varType, true, 0, VAR_ORDERED, VAR_CATEGORICAL+1) );
310 varType.create(1, nvars, CV_8U);
311 varType = Scalar::all(VAR_ORDERED);
313 varType.at<uchar>(ninputvars) = (uchar)(responses.type() < CV_32F ? VAR_CATEGORICAL : VAR_ORDERED);
319 CV_Assert( varType
[all...]
H A Dprecomp.hpp296 int getVarCount() const { return varType.empty() ? 0 : (int)(varType.size() - 1); }
351 vector<uchar> varType; member in class:cv::ml::DTreesImpl
H A Dtree.cpp124 varType.clear();
143 vtype.copyTo(varType);
207 int nallvars = (int)varType.size();
396 //printf("depth=%d, nidx=%d, parent=%d, n=%d, %s, value=%.1f, risk=%.1f\n", node.depth, nidx, node.parent, n, (node.split < 0 ? "leaf" : varType[w->wsplits[node.split].varIdx] == VAR_CATEGORICAL ? "cat" : "ord"), node.value, node.node_risk);
427 if( varType[vi] == VAR_CATEGORICAL )
1370 nvars = (int)varType.size();
1377 const uchar* vtype = &varType[0];
1552 fs << "var_all" << (int)varType.size();
1556 int i, n = (int)varType.size();
1558 if( varType[
[all...]
/external/deqp/external/vulkancts/modules/vulkan/compute/
H A DvktComputeShaderBuiltinVarTests.cpp127 const glu::DataType varType,
146 ComputeBuiltinVarCase (tcu::TestContext& context, const char* name, const char* varName, glu::DataType varType);
158 string genBuiltinVarSource (const string& varName, glu::DataType varType, const UVec3& localSize) const;
172 ComputeBuiltinVarCase::ComputeBuiltinVarCase (tcu::TestContext& context, const char* name, const char* varName, glu::DataType varType) argument
175 , m_varType (varType)
196 string ComputeBuiltinVarCase::genBuiltinVarSource (const string& varName, glu::DataType varType, const UVec3& localSize) const argument
208 << " " << glu::getDataTypeName(varType) << " result[];\n"
367 const glu::DataType varType,
377 , m_varType (varType)
365 ComputeBuiltinVarInstance(Context& context, const vector<SubCase>& subCases, const glu::DataType varType, const ComputeBuiltinVarCase* builtinVarCase) argument
/external/lzma/CPP/7zip/Archive/
H A DIArchive.h203 STDMETHOD(GetPropertyInfo)(UInt32 index, BSTR *name, PROPID *propID, VARTYPE *varType) MY_NO_THROW_DECL_ONLY x; \
205 STDMETHOD(GetArchivePropertyInfo)(UInt32 index, BSTR *name, PROPID *propID, VARTYPE *varType) MY_NO_THROW_DECL_ONLY x;
405 (UInt32 index, BSTR *name, PROPID *propID, VARTYPE *varType) \
407 *propID = k[index]; *varType = k7z_PROPID_To_VARTYPE[(unsigned)*propID]; *name = 0; return S_OK; } \
410 (UInt32 index, BSTR *name, PROPID *propID, VARTYPE *varType) \
413 *propID = srcItem.propid; *varType = srcItem.vt; \
/external/lzma/CPP/7zip/Archive/7z/
H A D7zProperties.cpp156 STDMETHODIMP CHandler::GetPropertyInfo(UInt32 index, BSTR *name, PROPID *propID, VARTYPE *varType) argument
165 *varType = srcItem.vt;
/external/opencv3/apps/traincascade/
H A Dold_ml.hpp656 const CvMat* sampleIdx=0, const CvMat* varType=0,
664 const CvMat* sampleIdx=0, const CvMat* varType=0,
776 const CvMat* sampleIdx=0, const CvMat* varType=0,
792 const cv::Mat& sampleIdx=cv::Mat(), const cv::Mat& varType=cv::Mat(),
884 const CvMat* sampleIdx=0, const CvMat* varType=0,
925 const CvMat* sampleIdx=0, const CvMat* varType=0,
935 const cv::Mat& sampleIdx=cv::Mat(), const cv::Mat& varType=cv::Mat(),
988 const CvMat* sampleIdx=0, const CvMat* varType=0,
1026 const CvMat* sampleIdx=0, const CvMat* varType=0,
1031 const cv::Mat& sampleIdx=cv::Mat(), const cv::Mat& varType
[all...]
/external/opencv3/modules/ml/
H A Dprecomp.hpp296 int getVarCount() const { return varType.empty() ? 0 : (int)(varType.size() - 1); }
351 vector<uchar> varType; member in class:cv::ml::DTreesImpl

Completed in 596 milliseconds

123