HomeSort by relevance Sort by last modified time
    Searched refs:varType (Results 1 - 25 of 39) sorted by null

1 2

  /external/deqp/modules/gles31/functional/
es31fProgramInterfaceDefinition.cpp 57 static bool containsMatchingSubtype (const glu::VarType& varType, bool (*predicate)(glu::DataType))
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)
    [all...]
es31fProgramInterfaceDefinitionUtil.cpp 75 void generateVariableTypeResourceNames (std::vector<std::string>& resources, const std::string& name, const glu::VarType& type, deUint32 resourceNameGenerationFlags)
162 static void collectNamedStructureDefinitions (std::vector<const glu::StructType*>& dst, const glu::VarType& type)
200 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)
249 if (varType.isBasicType())
253 if (glu::isDataTypeScalar(varType.getBasicType()))
255 else if (glu::isDataTypeVector(varType.getBasicType()))
257 else if (glu::isDataTypeMatrix(varType.getBasicType())
    [all...]
es31fShaderCommonFunctionTests.cpp 253 sizes[ndx] = symbols[ndx].varType.getScalarSize();
261 totalSize += sym->varType.getScalarSize();
273 const int scalarSize = var.varType.getScalarSize();
311 const glu::VarType& type;
314 VarValue (const glu::VarType& type_, const void* value_) : type(type_), value(value_) {}
393 << VarValue(m_spec.inputs[inNdx].varType, curInputPtr[inNdx])
399 << VarValue(m_spec.outputs[outNdx].varType, curOutputPtr[outNdx])
456 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision)));
457 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision)));
477 const glu::DataType type = m_spec.inputs[0].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...]
es31fProgramInterfaceQueryTestCase.cpp 88 static int getVarTypeSize (const glu::VarType& type)
105 if (type.getArraySize() == glu::VarType::UNSIZED_ARRAY)
226 const glu::VarType* variable = (path.back().isVariableType()) ? (path.back().getVariableType()) : (DE_NULL);
349 const glu::VarType* variable = path.back().getVariableType();
416 const bool inUnsizedArray = isArray && (enclosingcomponent.getVariableType()->getArraySize() == glu::VarType::UNSIZED_ARRAY);
730 static int getVariableLocationLength (const glu::VarType& type)
800 currentLocation += getVariableLocationLength(block->variables[memberNdx].varType);
    [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...]
es3fUniformApiTests.cpp 214 static bool typeContainsMatchingBasicType (const glu::VarType& type, const dataTypePredicate predicate)
231 static void getDistinctSamplerTypes (vector<glu::DataType>& dst, const glu::VarType& type)
250 static int getNumSamplersInType (const glu::VarType& type)
267 static glu::VarType generateRandomType (const int maxDepth, int& curStructIdx, vector<const StructType*>& structTypesDst, Random& rnd)
281 return isArray ? glu::VarType(glu::VarType(structType), rnd.getInt(1, 5)) : glu::VarType(structType);
287 return isArray ? glu::VarType(glu::VarType(basicType, precision), rnd.getInt(1, 5)) : glu::VarType(basicType, precision)
    [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...]
es2fUniformApiTests.cpp 154 static bool typeContainsMatchingBasicType (const glu::VarType& type, const dataTypePredicate predicate)
171 static void getDistinctSamplerTypes (vector<glu::DataType>& dst, const glu::VarType& type)
190 static int getNumSamplersInType (const glu::VarType& type)
207 static glu::VarType generateRandomType (const int maxDepth, int& curStructIdx, vector<const StructType*>& structTypesDst, Random& rnd)
221 return isArray ? glu::VarType(glu::VarType(structType), rnd.getInt(1, 5)) : glu::VarType(structType);
227 return isArray ? glu::VarType(glu::VarType(basicType, precision), rnd.getInt(1, 5)) : glu::VarType(basicType, precision)
    [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 91 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());
101 const glu::VarType intType (intBaseType, glu::PRECISION_HIGHP);
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())
    [all...]
glsShaderExecUtil.hpp 51 glu::VarType varType; //!< Symbol type.
54 Symbol (const std::string& name_, const glu::VarType& varType_) : name(name_), varType(varType_) {}
  /external/lzma/CPP/7zip/Archive/
IArchive.h 132 STDMETHOD(GetPropertyInfo)(UInt32 index, BSTR *name, PROPID *propID, VARTYPE *varType) x; \
134 STDMETHOD(GetArchivePropertyInfo)(UInt32 index, BSTR *name, PROPID *propID, VARTYPE *varType) x;
190 (UInt32 index, BSTR *name, PROPID *propID, VARTYPE *varType) \
193 *propID = srcItem.propid; *varType = srcItem.vt; *name = 0; return S_OK; } \
196 (UInt32 index, BSTR *name, PROPID *propID, VARTYPE *varType) \
199 *propID = srcItem.propid; *varType = srcItem.vt; \
    [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 30 VarType::VarType (void)
35 VarType::VarType (const VarType& other)
41 VarType::VarType (DataType basicType, Precision precision)
48 VarType::VarType (const VarType& elementType, int arraySize
    [all...]
  /external/chromium_org/third_party/angle/src/compiler/translator/
ShaderLang.cpp 292 ShShaderInfo varType,
304 ASSERT((varType == SH_ACTIVE_ATTRIBUTES) ||
305 (varType == SH_ACTIVE_UNIFORMS) ||
306 (varType == SH_VARYINGS));
314 varType == SH_ACTIVE_ATTRIBUTES ? compiler->getAttribs() :
315 (varType == SH_ACTIVE_UNIFORMS ? compiler->getUniforms() :
  /external/chromium_org/third_party/angle/samples/translator/
translator.cpp 30 static void PrintActiveVariables(ShHandle compiler, ShShaderInfo varType);
283 void PrintActiveVariables(ShHandle compiler, ShShaderInfo varType)
286 switch (varType) {
304 ShGetInfo(compiler, varType, &activeVars);
306 switch (varType) {
  /external/lzma/CPP/7zip/Archive/7z/
7zProperties.cpp 150 STDMETHODIMP CHandler::GetPropertyInfo(UInt32 index, BSTR *name, PROPID *propID, VARTYPE *varType)
159 *varType = srcItem.vt;
  /external/lzma/CPP/7zip/Archive/Common/
HandlerOut.cpp 108 VARTYPE VarType;
133 static bool ConvertProperty(PROPVARIANT srcProp, VARTYPE varType, NCOM::CPropVariant &destProp)
135 if (varType == srcProp.vt)
140 if (varType == VT_UI1)
151 else if (varType == VT_BOOL)
352 if (nameToPropID.VarType == VT_BSTR)
354 else if (nameToPropID.VarType == VT_BOOL)
370 if (!ConvertProperty(propValue, 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);
  /external/javassist/src/main/javassist/compiler/
CodeGen.java 780 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, int varArray, String varClass) throws CompileError
    [all...]

Completed in 414 milliseconds

1 2