/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...] |
es31fComputeShaderBuiltinVarTests.cpp | 78 ComputeBuiltinVarCase (Context& context, const char* name, const char* varName, DataType varType); 112 ComputeBuiltinVarCase::ComputeBuiltinVarCase (Context& context, const char* name, const char* varName, DataType varType) 115 , m_varType (varType) 136 static string genBuiltinVarSource (const string& varName, DataType varType, const UVec3& localSize) 145 << " " << glu::getDataTypeName(varType) << " result[];\n"
|
es31fProgramUniformTests.cpp | 218 static bool typeContainsMatchingBasicType (const glu::VarType& type, const dataTypePredicate predicate) 235 static void getDistinctSamplerTypes (vector<glu::DataType>& dst, const glu::VarType& type) 254 static int getNumSamplersInType (const glu::VarType& type) 309 glu::VarType type; 311 Uniform (const char* const name_, const glu::VarType& type_) : name(name_), type(type_) {} 379 res->m_uniforms.push_back(Uniform((string("u_var") + nameSuffix).c_str(), glu::VarType(type, prec))); 387 res->m_uniforms.push_back(Uniform((string("u_var") + nameSuffix).c_str(), glu::VarType(glu::VarType(type, prec), 3))); 398 structType->addMember("m0", glu::VarType(type0, prec0)); 399 structType->addMember("m1", glu::VarType(type1, prec1)) [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/ |
vktShaderExecutor.hpp | 44 glu::VarType varType; //!< Symbol type. 47 Symbol (const std::string& name_, const glu::VarType& varType_) : name(name_), varType(varType_) {}
|
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(); 425 << VarValue(m_spec.inputs[inNdx].varType, curInputPtr[inNdx]) 431 << VarValue(m_spec.outputs[outNdx].varType, curOutputPtr[outNdx]) 462 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); 463 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); 516 const glu::DataType type = m_spec.inputs[0].varType.getBasicType() [all...] |
vktShaderExecutor.cpp | 106 src << "layout(location = "<< location << ") in " << glu::declare(input->varType, inputPrefix + input->name) << ";\n" 107 << "layout(location = " << location - 1 << ") flat out " << glu::declare(input->varType, outputPrefix + input->name) << ";\n"; 137 src << "layout(location = " << locationNumber << ") in " << glu::declare(input->varType, inputPrefix + input->name) << ";\n"; 142 DE_ASSERT(output->varType.isBasicType()); 144 if (glu::isDataTypeBoolOrBVec(output->varType.getBasicType())) 146 const int vecSize = glu::getDataTypeScalarSize(output->varType.getBasicType()); 148 const glu::VarType intType (intBaseType, glu::PRECISION_HIGHP); 153 src << "layout(location = " << locationNumber << ") flat out " << glu::declare(output->varType, outputPrefix + output->name) << ";\n"; 164 src << "\t" << glu::declare(input->varType, input->name) << " = " << inputPrefix << input->name << ";\n"; 168 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_) {} 549 << VarValue(m_spec.inputs[inNdx].varType, curInputPtr[inNdx]) 555 << VarValue(m_spec.outputs[outNdx].varType, curOutputPtr[outNdx]) 599 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); 600 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); 611 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/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 | 273 STDMETHOD(GetPropertyInfo)(UInt32 index, BSTR *name, PROPID *propID, VARTYPE *varType) MY_NO_THROW_DECL_ONLY x; \
275 STDMETHOD(GetArchivePropertyInfo)(UInt32 index, BSTR *name, PROPID *propID, VARTYPE *varType) MY_NO_THROW_DECL_ONLY x; \
513 (UInt32 index, BSTR *name, PROPID *propID, VARTYPE *varType) \
515 *propID = k[index]; *varType = k7z_PROPID_To_VARTYPE[(unsigned)*propID]; *name = 0; return S_OK; } \
522 VARTYPE vt;
532 (UInt32 index, BSTR *name, PROPID *propID, VARTYPE *varType) \
[all...] |
/external/lzma/CPP/7zip/Archive/7z/ |
7zProperties.cpp | 149 STDMETHODIMP CHandler::GetPropertyInfo(UInt32 index, BSTR *name, PROPID *propID, VARTYPE *varType)
161 *varType = st.vt;
|
/external/lzma/CPP/7zip/Common/ |
MethodProps.cpp | 232 VARTYPE VarType;
265 static bool ConvertProperty(const PROPVARIANT &srcProp, VARTYPE varType, NCOM::CPropVariant &destProp)
267 if (varType == srcProp.vt)
272 if (varType == VT_BOOL)
358 if (nameToPropID.VarType == VT_BSTR)
360 else if (nameToPropID.VarType == VT_BOOL)
375 if (!ConvertProperty(propValue, nameToPropID.VarType, prop.Value))
425 if (!ConvertProperty(value, nameToPropID.VarType, prop.Value)) [all...] |
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
Filter.java | 379 Class varType, 389 MutableFrameFormat format = ObjectFormat.fromClass(varType, 608 Class varType = generator.type(); 610 addProgramPort(name, varName, field, varType, hasDefault);
|