Home
last modified time | relevance | path

Searched refs:prevDec (Results 1 – 3 of 3) sorted by relevance

/external/swiftshader/src/OpenGL/compiler/
DParseHelper.cpp1917 …TFunction *prevDec = static_cast<TFunction *>(symbolTable.find(function->getMangledName(), getShad… in parseFunctionPrototype() local
1923 if(prevDec->isDefined()) in parseFunctionPrototype()
1929 prevDec->setDefined(); in parseFunctionPrototype()
1935 function->setUniqueId(prevDec->getUniqueId()); in parseFunctionPrototype()
1955 mCurrentFunctionType = &(prevDec->getReturnType()); in parseFunctionPrototype()
2014 …TFunction *prevDec = static_cast<TFunction *>(symbolTable.find(function->getMangledName(), getShad… in parseFunctionDeclarator() local
2021 else if(prevDec) in parseFunctionDeclarator()
2023 if(prevDec->getReturnType() != function->getReturnType()) in parseFunctionDeclarator()
2029 for(size_t i = 0; i < prevDec->getParamCount(); ++i) in parseFunctionDeclarator()
2031 if(prevDec->getParam(i).type->getQualifier() != function->getParam(i).type->getQualifier()) in parseFunctionDeclarator()
/external/deqp-deps/glslang/glslang/MachineIndependent/
DParseHelper.cpp896 const TFunction* prevDec = symbol ? symbol->getAsFunction() : 0; in handleFunctionDeclarator() local
897 if (prevDec) { in handleFunctionDeclarator()
898 if (prevDec->isPrototyped() && prototype) in handleFunctionDeclarator()
900 if (prevDec->getType() != function.getType()) in handleFunctionDeclarator()
902 for (int i = 0; i < prevDec->getParamCount(); ++i) { in handleFunctionDeclarator()
903 … if ((*prevDec)[i].type->getQualifier().storage != function[i].type->getQualifier().storage) in handleFunctionDeclarator()
906 … if ((*prevDec)[i].type->getQualifier().precision != function[i].type->getQualifier().precision) in handleFunctionDeclarator()
919 if (prevDec && ! builtIn) in handleFunctionDeclarator()
946 TFunction* prevDec = symbol ? symbol->getAsFunction() : nullptr; in handleFunctionDefinition() local
948 if (! prevDec) in handleFunctionDefinition()
[all …]
/external/deqp-deps/glslang/hlsl/
DhlslParseHelper.cpp1592 const TFunction* prevDec = symbol ? symbol->getAsFunction() : 0; in handleFunctionDeclarator() local
1600 if (prevDec && ! builtIn) in handleFunctionDeclarator()
1647 TFunction* prevDec = symbol ? symbol->getAsFunction() : nullptr; in handleFunctionDefinition() local
1649 if (prevDec == nullptr) in handleFunctionDefinition()
1655 if (prevDec && prevDec->isDefined()) { in handleFunctionDefinition()
1659 if (prevDec && ! prevDec->isDefined()) { in handleFunctionDefinition()
1660 prevDec->setDefined(); in handleFunctionDefinition()
1663 currentFunctionType = &(prevDec->getType()); in handleFunctionDefinition()