/external/deqp/modules/gles31/functional/ |
es31fProgramInterfaceDefinition.cpp | 59 static bool containsMatchingSubtype (const glu::VarType& varType, bool (*predicate)(glu::DataType)) 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) [all...] |
es31fShaderCommonFunctionTests.cpp | 300 sizes[ndx] = symbols[ndx].varType.getScalarSize(); 308 totalSize += sym->varType.getScalarSize(); 320 const int scalarSize = var.varType.getScalarSize(); 358 const glu::VarType& type; 361 VarValue (const glu::VarType& type_, const void* value_) : type(type_), value(value_) {} 440 << VarValue(m_spec.inputs[inNdx].varType, curInputPtr[inNdx]) 446 << VarValue(m_spec.outputs[outNdx].varType, curOutputPtr[outNdx]) 503 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision))); 504 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision))); 524 const glu::DataType type = m_spec.inputs[0].varType.getBasicType() [all...] |
es31fProgramInterfaceDefinitionUtil.cpp | 170 void generateVariableTypeResourceNames (std::vector<std::string>& resources, const std::string& name, const glu::VarType& type, deUint32 resourceNameGenerationFlags) 288 static void collectNamedStructureDefinitions (std::vector<const glu::StructType*>& dst, const glu::VarType& type) 326 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()) [all...] |
es31fShaderIntegerFunctionTests.cpp | 71 const glu::VarType& type; 74 VarValue (const glu::VarType& type_, const void* value_) : type(type_), value(value_) {} 224 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]) 361 m_spec.inputs.push_back(Symbol("x", glu::VarType(baseType, precision))); 362 m_spec.inputs.push_back(Symbol("y", glu::VarType(baseType, precision))); 363 m_spec.outputs.push_back(Symbol("sum", glu::VarType(baseType, precision))) [all...] |
/external/javassist/src/main/javassist/compiler/ast/ |
Declarator.java | 25 protected int varType; 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/ |
es3fShaderIndexingTests.cpp | 138 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) 154 m_varType = varType; 221 static ShaderIndexingCase* createVaryingArrayCase (Context& context, const char* caseName, const char* description, DataType varType, IndexAccessType vertAccess, IndexAccessType fragAccess) 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, evalFunc, vertexShaderSource.c_str(), fragmentShaderSource.c_str()) [all...] |
es3fShaderCommonFunctionTests.cpp | 226 sizes[ndx] = symbols[ndx].varType.getScalarSize(); 234 totalSize += sym->varType.getScalarSize(); 246 const int scalarSize = var.varType.getScalarSize(); 284 const glu::VarType& type; 287 VarValue (const glu::VarType& type_, const void* value_) : type(type_), value(value_) {} 366 << VarValue(m_spec.inputs[inNdx].varType, curInputPtr[inNdx]) 372 << VarValue(m_spec.outputs[outNdx].varType, curOutputPtr[outNdx]) 425 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision))); 426 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision))); 446 const glu::DataType type = m_spec.inputs[0].varType.getBasicType() [all...] |
/external/deqp/modules/gles2/functional/ |
es2fShaderIndexingTests.cpp | 145 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) 165 m_varType = varType; 251 static ShaderIndexingCase* createVaryingArrayCase (Context& context, const char* caseName, const char* description, DataType varType, IndexAccessType vertAccess, IndexAccessType fragAccess) 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, evalFunc, requirements, vertexShaderSource.c_str(), fragmentShaderSource.c_str()) [all...] |
/external/deqp/modules/glshared/ |
glsRandomShaderProgram.cpp | 34 static rr::GenericVecType mapToGenericVecType (const rsg::VariableType& varType) 36 if (varType.isFloatOrVec()) 38 else if (varType.isIntOrVec()) 47 static glu::DataType mapToBasicType (const rsg::VariableType& varType) 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.isBoolOrVec() ? glu::TYPE_BOOL : glu::TYPE_LAST [all...] |
glsShaderExecUtil.cpp | 111 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()); 121 const glu::VarType intType (intBaseType, glu::PRECISION_HIGHP); 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()) [all...] |
glsShaderExecUtil.hpp | 51 glu::VarType varType; //!< Symbol type. 54 Symbol (const std::string& name_, const glu::VarType& varType_) : name(name_), varType(varType_) {}
|
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
vktShaderRenderIndexingTests.cpp | 152 IndexingTestUniformSetup (const DataType varType, bool usesArray) 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 == TYPE_FLOAT_VEC3 [all...] |
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
vktShaderIntegerFunctionTests.cpp | 73 const glu::VarType& type; 76 VarValue (const glu::VarType& type_, const void* value_) : type(type_), value(value_) {} 164 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() [all...] |
vktShaderExecutor.cpp | 113 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()); 155 const glu::VarType intType (intBaseType, glu::PRECISION_HIGHP); 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" [all...] |
vktShaderCommonFunctionTests.cpp | 243 sizes[ndx] = symbols[ndx].varType.getScalarSize(); 251 totalSize += sym->varType.getScalarSize(); 263 const int scalarSize = var.varType.getScalarSize(); 301 const glu::VarType& type; 304 VarValue (const glu::VarType& type_, const void* value_) : type(type_), value(value_) {} 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() [all...] |
/external/deqp/framework/opengl/ |
gluVarType.hpp | 47 class VarType 50 VarType (void); 51 VarType (const VarType& other); 53 VarType (DataType basicType, Precision precision); //!< Basic type constructor. 54 VarType (const VarType& elementType, int arraySize); //!< Array type constructor. 55 explicit VarType (const StructType* structPtr); //!< Struct type constructor. 56 ~VarType (void); 65 const VarType& getElementType (void) const { DE_ASSERT(isArrayType()); return *m_data.array.elementType; [all...] |
gluVarType.cpp | 31 VarType::VarType (void) 36 VarType::VarType (const VarType& other) 42 VarType::VarType (DataType basicType, Precision precision) 49 VarType::VarType (const VarType& elementType, int arraySize [all...] |
/external/opencv3/modules/ml/src/ |
data.cpp | 155 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.at<uchar>(ninputvars + i) == VAR_ORDERED ) [all...] |
precomp.hpp | 296 int getVarCount() const { return varType.empty() ? 0 : (int)(varType.size() - 1); } 351 vector<uchar> varType;
|
tree.cpp | 124 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 ) [all...] |
/external/deqp/external/vulkancts/modules/vulkan/compute/ |
vktComputeShaderBuiltinVarTests.cpp | 127 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) 175 , m_varType (varType) 196 string ComputeBuiltinVarCase::genBuiltinVarSource (const string& varName, glu::DataType varType, const UVec3& localSize) const 208 << " " << glu::getDataTypeName(varType) << " result[];\n" 367 const glu::DataType varType, 377 , m_varType (varType)
|
/external/lzma/CPP/7zip/Archive/ |
IArchive.h | 203 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; \ [all...] |
/external/lzma/CPP/7zip/Archive/7z/ |
7zProperties.cpp | 156 STDMETHODIMP CHandler::GetPropertyInfo(UInt32 index, BSTR *name, PROPID *propID, VARTYPE *varType)
165 *varType = srcItem.vt;
|
/external/opencv3/apps/traincascade/ |
old_ml.hpp | 656 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(), [all...] |
/external/opencv3/modules/ml/ |
precomp.hpp | 296 int getVarCount() const { return varType.empty() ? 0 : (int)(varType.size() - 1); } 351 vector<uchar> varType;
|