Home
last modified time | relevance | path

Searched refs:prevDec (Results 1 – 6 of 6) 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.cpp993 const TFunction* prevDec = symbol ? symbol->getAsFunction() : 0; in handleFunctionDeclarator() local
994 if (prevDec) { in handleFunctionDeclarator()
995 if (prevDec->isPrototyped() && prototype) in handleFunctionDeclarator()
997 if (prevDec->getType() != function.getType()) in handleFunctionDeclarator()
999 for (int i = 0; i < prevDec->getParamCount(); ++i) { in handleFunctionDeclarator()
1000 … if ((*prevDec)[i].type->getQualifier().storage != function[i].type->getQualifier().storage) in handleFunctionDeclarator()
1003 … if ((*prevDec)[i].type->getQualifier().precision != function[i].type->getQualifier().precision) in handleFunctionDeclarator()
1016 if (prevDec && ! builtIn) in handleFunctionDeclarator()
1043 TFunction* prevDec = symbol ? symbol->getAsFunction() : nullptr; in handleFunctionDefinition() local
1045 if (! prevDec) in handleFunctionDefinition()
[all …]
/external/angle/third_party/vulkan-deps/glslang/src/glslang/MachineIndependent/
DParseHelper.cpp1108 const TFunction* prevDec = symbol ? symbol->getAsFunction() : 0; in handleFunctionDeclarator() local
1109 if (prevDec) { in handleFunctionDeclarator()
1110 if (prevDec->isPrototyped() && prototype) in handleFunctionDeclarator()
1112 if (prevDec->getType() != function.getType()) in handleFunctionDeclarator()
1115 if (prevDec->getSpirvInstruction() != function.getSpirvInstruction()) { in handleFunctionDeclarator()
1120 for (int i = 0; i < prevDec->getParamCount(); ++i) { in handleFunctionDeclarator()
1121 … if ((*prevDec)[i].type->getQualifier().storage != function[i].type->getQualifier().storage) in handleFunctionDeclarator()
1124 … if ((*prevDec)[i].type->getQualifier().precision != function[i].type->getQualifier().precision) in handleFunctionDeclarator()
1137 if (prevDec && ! builtIn) in handleFunctionDeclarator()
1164 TFunction* prevDec = symbol ? symbol->getAsFunction() : nullptr; in handleFunctionDefinition() local
[all …]
/external/deqp-deps/glslang/glslang/HLSL/
DhlslParseHelper.cpp1599 const TFunction* prevDec = symbol ? symbol->getAsFunction() : 0; in handleFunctionDeclarator() local
1607 if (prevDec && ! builtIn) in handleFunctionDeclarator()
1654 TFunction* prevDec = symbol ? symbol->getAsFunction() : nullptr; in handleFunctionDefinition() local
1656 if (prevDec == nullptr) in handleFunctionDefinition()
1662 if (prevDec && prevDec->isDefined()) { in handleFunctionDefinition()
1666 if (prevDec && ! prevDec->isDefined()) { in handleFunctionDefinition()
1667 prevDec->setDefined(); in handleFunctionDefinition()
1670 currentFunctionType = &(prevDec->getType()); in handleFunctionDefinition()
/external/angle/third_party/vulkan-deps/glslang/src/glslang/HLSL/
DhlslParseHelper.cpp1599 const TFunction* prevDec = symbol ? symbol->getAsFunction() : 0; in handleFunctionDeclarator() local
1607 if (prevDec && ! builtIn) in handleFunctionDeclarator()
1654 TFunction* prevDec = symbol ? symbol->getAsFunction() : nullptr; in handleFunctionDefinition() local
1656 if (prevDec == nullptr) in handleFunctionDefinition()
1662 if (prevDec && prevDec->isDefined()) { in handleFunctionDefinition()
1666 if (prevDec && ! prevDec->isDefined()) { in handleFunctionDefinition()
1667 prevDec->setDefined(); in handleFunctionDefinition()
1670 currentFunctionType = &(prevDec->getType()); in handleFunctionDefinition()
/external/angle/src/compiler/translator/
DParseContext.cpp3948 const TFunction *prevDec = in parseFunctionDeclarator() local
3950 if (prevDec) in parseFunctionDeclarator()
3952 if (prevDec->getReturnType() != function->getReturnType()) in parseFunctionDeclarator()
3957 for (size_t i = 0; i < prevDec->getParamCount(); ++i) in parseFunctionDeclarator()
3959 if (prevDec->getParam(i)->getType().getQualifier() != in parseFunctionDeclarator()