Home
last modified time | relevance | path

Searched refs:getParamCount (Results 1 – 25 of 29) sorted by relevance

12

/external/angle/third_party/glslang/src/glslang/MachineIndependent/
DParseContextBase.cpp399 if (call.getParamCount() < candidate.getFixedParamCount() || in selectFunction()
400 call.getParamCount() > candidate.getParamCount()) in selectFunction()
407 const int paramCount = std::min(call.getParamCount(), candidate.getParamCount()); in selectFunction()
439 for (int param = 0; param < call.getParamCount(); ++param) { in selectFunction()
450 for (int param = 0; param < call.getParamCount(); ++param) { in selectFunction()
DParseHelper.cpp967 for (int i = 0; i < prevDec->getParamCount(); ++i) { in handleFunctionDeclarator()
1044 if (function.getParamCount() > 0) in handleFunctionDefinition()
1064 for (int i = 0; i < function.getParamCount(); i++) { in handleFunctionDefinition()
1150 for (int i = 0; i < fnCandidate->getParamCount(); ++i) { in handleFunctionCall()
1154 …TIntermNode* arg = fnCandidate->getParamCount() == 1 ? arguments : (aggregate ? aggregate->getSequ… in handleFunctionCall()
1246 for (int i = 0; i < fnCandidate->getParamCount(); ++i) { in handleFunctionCall()
1275 function.getParamCount() == 1, in handleBuiltInFunctionCall()
1484 if (function->getParamCount() > 0) in handleLengthMethod()
1548 for (int i = 0; i < function.getParamCount(); ++i) { in addInputArgumentConversions()
1552 …TIntermTyped* arg = function.getParamCount() == 1 ? arguments->getAsTyped() : (aggregate ? aggrega… in addInputArgumentConversions()
[all …]
DSymbolTable.h313 virtual int getParamCount() const { return static_cast<int>(parameters.size()); } in getParamCount() function
317 virtual int getFixedParamCount() const { return getParamCount() - getDefaultParamCount(); } in getFixedParamCount()
DSymbolTable.cpp222 int numParams = getParamCount(); in dump()
/external/deqp-deps/glslang/glslang/MachineIndependent/
DParseContextBase.cpp399 if (call.getParamCount() < candidate.getFixedParamCount() || in selectFunction()
400 call.getParamCount() > candidate.getParamCount()) in selectFunction()
407 const int paramCount = std::min(call.getParamCount(), candidate.getParamCount()); in selectFunction()
439 for (int param = 0; param < call.getParamCount(); ++param) { in selectFunction()
450 for (int param = 0; param < call.getParamCount(); ++param) { in selectFunction()
DParseHelper.cpp988 for (int i = 0; i < prevDec->getParamCount(); ++i) { in handleFunctionDeclarator()
1065 if (function.getParamCount() > 0) in handleFunctionDefinition()
1085 for (int i = 0; i < function.getParamCount(); i++) { in handleFunctionDefinition()
1171 for (int i = 0; i < fnCandidate->getParamCount(); ++i) { in handleFunctionCall()
1175 …TIntermNode* arg = fnCandidate->getParamCount() == 1 ? arguments : (aggregate ? aggregate->getSequ… in handleFunctionCall()
1267 for (int i = 0; i < fnCandidate->getParamCount(); ++i) { in handleFunctionCall()
1296 function.getParamCount() == 1, in handleBuiltInFunctionCall()
1505 if (function->getParamCount() > 0) in handleLengthMethod()
1569 for (int i = 0; i < function.getParamCount(); ++i) { in addInputArgumentConversions()
1573 …TIntermTyped* arg = function.getParamCount() == 1 ? arguments->getAsTyped() : (aggregate ? aggrega… in addInputArgumentConversions()
[all …]
DSymbolTable.h313 virtual int getParamCount() const { return static_cast<int>(parameters.size()); } in getParamCount() function
317 virtual int getFixedParamCount() const { return getParamCount() - getDefaultParamCount(); } in getFixedParamCount()
DSymbolTable.cpp222 int numParams = getParamCount(); in dump()
/external/angle/src/compiler/translator/tree_util/
DReplaceVariable.cpp80 for (size_t paramIndex = 0; paramIndex < oldFunction->getParamCount(); ++paramIndex) in convertFunctionPrototype()
118 for (size_t paramIndex = 0; paramIndex < function->getParamCount(); ++paramIndex) in convertASTFunction()
DReplaceShadowingVariables.cpp59 size_t paramCount = func->getParamCount(); in visitFunctionDefinition()
DIntermTraverse.cpp615 ASSERT(paramIndex < node->getFunction()->getParamCount()); in traverseAggregate()
/external/angle/src/compiler/translator/
DValidateMaxParameters.cpp22 definition->getFunctionPrototype()->getFunction()->getParamCount() > maxParameters) in ValidateMaxParameters()
DVersionGLSL.cpp117 size_t paramCount = node->getFunction()->getParamCount(); in visitFunctionPrototype()
DSymbol.h229 size_t getParamCount() const { return mParamCount; } in getParamCount() function
DUtilsHLSL.cpp1096 size_t paramCount = func->getParamCount(); in DisambiguateFunctionName()
DOutputTree.cpp383 size_t paramCount = node->getFunction()->getParamCount(); in visitFunctionPrototype()
DParseContext.cpp1789 for (size_t i = 0; i < fnCandidate->getParamCount(); ++i) in functionCallRValueLValueErrorCheck()
3314 for (size_t i = 0; i < function.getParamCount(); i++) in createPrototypeNodeFromFunction()
3445 for (size_t i = 0u; i < function->getParamCount(); ++i) in parseFunctionDeclarator()
3491 for (size_t i = 0; i < prevDec->getParamCount(); ++i) in parseFunctionDeclarator()
3522 if (function->getParamCount() > 0) in parseFunctionDeclarator()
6000 ASSERT(functionDefinition->getParamCount() == arguments.size()); in checkImageMemoryAccessForUserDefinedFunctions()
6157 if (fnCandidate->getParamCount() == 1) in addNonConstructorFunctionCall()
/external/swiftshader/src/OpenGL/compiler/
DParseHelper.cpp529 for (size_t i = 0; i < function.getParamCount(); ++i) { in constructorErrorCheck()
545 type->setArraySize(function.getParamCount()); in constructorErrorCheck()
546 } else if(type->getArraySize() != (int)function.getParamCount()) { in constructorErrorCheck()
558 if (function.getParamCount() != 1) { in constructorErrorCheck()
569 …ructStruct && !type->isArray() && type->getStruct()->fields().size() != function.getParamCount()) { in constructorErrorCheck()
1085 for(size_t i = 0; i < fnCandidate->getParamCount(); ++i) in functionCallLValueErrorCheck()
1848 for(size_t i = 0; i < function.getParamCount(); i++) in addFunctionPrototypeDeclaration()
1940 if(function->getParamCount() > 0) in parseFunctionPrototype()
1967 for(size_t i = 0; i < function->getParamCount(); i++) in parseFunctionPrototype()
2029 for(size_t i = 0; i < prevDec->getParamCount(); ++i) in parseFunctionDeclarator()
[all …]
/external/angle/third_party/glslang/src/hlsl/
DhlslParseHelper.cpp1682 for (int i = 0; i < function.getParamCount(); i++) { in handleFunctionDefinition()
2128 for (int i = 0; i < userFunction.getParamCount(); i++) { in transformEntryPoint()
2192 for (int i = 0; i < userFunction.getParamCount(); i++) { in transformEntryPoint()
2350 for (int i = 0; i < function.getParamCount(); i++) { in remapEntryPointIO()
2374 for (int i = 0; i < function.getParamCount(); i++) in remapNonEntryPointIO()
5406 …result = intermediate.addBuiltInFunctionCall(loc, op, fnCandidate->getParamCount() == 1, arguments, in handleFunctionCall()
5445 for (int i = 0; i < fnCandidate->getParamCount(); ++i) { in handleFunctionCall()
5581 if (function.getParamCount() == 1) in addInputArgumentConversions()
5592 for (int param = 0; param < function.getParamCount(); ++param) { in addInputArgumentConversions()
5599 TIntermTyped* arg = function.getParamCount() == 1 in addInputArgumentConversions()
[all …]
/external/deqp-deps/glslang/hlsl/
DhlslParseHelper.cpp1682 for (int i = 0; i < function.getParamCount(); i++) { in handleFunctionDefinition()
2128 for (int i = 0; i < userFunction.getParamCount(); i++) { in transformEntryPoint()
2192 for (int i = 0; i < userFunction.getParamCount(); i++) { in transformEntryPoint()
2350 for (int i = 0; i < function.getParamCount(); i++) { in remapEntryPointIO()
2374 for (int i = 0; i < function.getParamCount(); i++) in remapNonEntryPointIO()
5406 …result = intermediate.addBuiltInFunctionCall(loc, op, fnCandidate->getParamCount() == 1, arguments, in handleFunctionCall()
5445 for (int i = 0; i < fnCandidate->getParamCount(); ++i) { in handleFunctionCall()
5581 if (function.getParamCount() == 1) in addInputArgumentConversions()
5592 for (int param = 0; param < function.getParamCount(); ++param) { in addInputArgumentConversions()
5599 TIntermTyped* arg = function.getParamCount() == 1 in addInputArgumentConversions()
[all …]
/external/angle/src/compiler/translator/tree_ops/
DRewriteStructSamplers.cpp241 size_t paramCount = updatedFunction->getParamCount(); in GenerateFunctionFromArguments()
744 size_t paramCount = function->getParamCount(); in traverse()
1091 size_t numParameters = function->getParamCount(); in visitFunctionDefinition()
1101 ASSERT(replacementPrototype->getFunction()->getParamCount() == numParameters); in visitFunctionDefinition()
DArrayReturnValueToOutParameter.cpp125 for (size_t i = 0; i < node->getFunction()->getParamCount(); ++i) in visitFunctionPrototype()
DRemoveUnreferencedVariables.cpp113 size_t paramCount = node->getFunction()->getParamCount(); in visitFunctionPrototype()
DRewriteAtomicCounters.cpp191 for (size_t paramIndex = 0; paramIndex < function->getParamCount(); ++paramIndex) in visitFunctionPrototype()
DRewriteStructSamplersOld.cpp474 size_t paramCount = function->getParamCount(); in traverse()

12