Home
last modified time | relevance | path

Searched refs:declarator (Results 1 – 25 of 37) sorted by relevance

12

/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
DRemoveUnreferencedVariables.cpp139 void removeVariableDeclaration(TIntermDeclaration *node, TIntermTyped *declarator);
176 TIntermTyped *declarator) in removeVariableDeclaration() argument
178 if (declarator->getType().isStructSpecifier() && !declarator->getType().isNamelessStruct()) in removeVariableDeclaration()
180 unsigned int structId = declarator->getType().getStruct()->uniqueId().get(); in removeVariableDeclaration()
182 if (declarator->getAsBinaryNode() && in removeVariableDeclaration()
183 declarator->getAsBinaryNode()->getRight()->getAsAggregate()) in removeVariableDeclaration()
185 ASSERT(declarator->getAsBinaryNode()->getLeft()->getType().getStruct() == in removeVariableDeclaration()
186 declarator->getType().getStruct()); in removeVariableDeclaration()
187 ASSERT(declarator->getAsBinaryNode()->getRight()->getType().getStruct() == in removeVariableDeclaration()
188 declarator->getType().getStruct()); in removeVariableDeclaration()
[all …]
DSeparateDeclarations.cpp97 TIntermTyped *declarator = sequence->at(index)->getAsTyped(); in separateDeclarator() local
98 const TType &declaratorType = declarator->getType(); in separateDeclarator()
109 declarator->traverse(this); in separateDeclarator()
111 replacementDeclaration->appendDeclarator(declarator); in separateDeclarator()
112 replacementDeclaration->setLine(declarator->getLine()); in separateDeclarator()
136 structDeclaration->setLine(declarator->getLine()); in separateDeclarator()
146 TIntermSymbol *asSymbol = declarator->getAsSymbolNode(); in separateDeclarator()
150 TIntermBinary *asBinary = declarator->getAsBinaryNode(); in separateDeclarator()
187 replacementDeclaration->setLine(declarator->getLine()); in separateDeclarator()
DSeparateStructFromUniformDeclarations.cpp38 TIntermTyped *declarator = sequence.front()->getAsTyped(); in visitDeclaration() local
39 const TType &type = declarator->getType(); in visitDeclaration()
43 doReplacement(decl, declarator, type); in visitDeclaration()
60 void doReplacement(TIntermDeclaration *decl, TIntermTyped *declarator, const TType &oldType) in doReplacement() argument
82 TIntermSymbol *asSymbol = declarator->getAsSymbolNode(); in doReplacement()
DRemoveInactiveInterfaceVariables.cpp84 TIntermTyped *declarator = node->getSequence()->front()->getAsTyped(); in visitDeclaration() local
85 ASSERT(declarator); in visitDeclaration()
87 TIntermSymbol *asSymbol = declarator->getAsSymbolNode(); in visitDeclaration()
93 const TType &type = declarator->getType(); in visitDeclaration()
DDeferGlobalInitializers.cpp49 TIntermNode *declarator = declaration->getSequence()->back(); in GetDeferredInitializers() local
50 TIntermBinary *init = declarator->getAsBinaryNode(); in GetDeferredInitializers()
86 TIntermSymbol *symbolNode = declarator->getAsSymbolNode(); in GetDeferredInitializers()
DInitializeVariables.cpp266 for (TIntermNode *declarator : *node->getSequence()) in visitDeclaration()
268 if (!mInGlobalScope && !declarator->getAsBinaryNode()) in visitDeclaration()
270 TIntermSymbol *symbol = declarator->getAsSymbolNode(); in visitDeclaration()
DRewriteStructSamplers.cpp349 TIntermTyped *declarator = sequence.front()->getAsTyped(); in visitDeclaration() local
350 const TType &type = declarator->getType(); in visitDeclaration()
380 TIntermSymbol *asSymbol = declarator->getAsSymbolNode(); in visitDeclaration()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/
DNameEmbeddedUniformStructsMetal.cpp40 TIntermTyped *declarator = sequence.front()->getAsTyped(); in visitDeclaration() local
41 const TType &type = declarator->getType(); in visitDeclaration()
49 doReplacement(decl, declarator, structure); in visitDeclaration()
66 TIntermTyped *declarator, in doReplacement() argument
85 TIntermSymbol *asSymbol = declarator->getAsSymbolNode(); in doReplacement()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DFlagStd140Structs.cpp53 TIntermTyped *declarator = node->getSequence()->back()->getAsTyped(); in visitDeclaration() local
54 if (declarator->getBasicType() == EbtInterfaceBlock) in visitDeclaration()
56 const TInterfaceBlock *block = declarator->getType().getInterfaceBlock(); in visitDeclaration()
59 mapBlockStructMembers(declarator->getAsSymbolNode(), block); in visitDeclaration()
DOutputHLSL.cpp2261 TIntermTyped *declarator = (*sequence)[0]->getAsTyped(); in visitDeclaration() local
2263 ASSERT(declarator); in visitDeclaration()
2268 ensureStructDefined(declarator->getType()); in visitDeclaration()
2270 if (!declarator->getAsSymbolNode() || in visitDeclaration()
2271 declarator->getAsSymbolNode()->variable().symbolType() != in visitDeclaration()
2274 if (declarator->getQualifier() == EvqShared) in visitDeclaration()
2283 out << TypeString(declarator->getType()) + " "; in visitDeclaration()
2285 TIntermSymbol *symbol = declarator->getAsSymbolNode(); in visitDeclaration()
2295 if (declarator->getQualifier() != EvqShared) in visitDeclaration()
2302 declarator->traverse(this); in visitDeclaration()
[all …]
Dglslang_tab_autogen.h283 TDeclarator *declarator; member
DTranslatorMetalDirect.cpp92 TIntermTyped *declarator = sequence.front()->getAsTyped(); in visitDeclaration() local
93 const TType &type = declarator->getType(); in visitDeclaration()
103 TIntermSymbol *symbolNode = declarator->getAsSymbolNode(); in visitDeclaration()
DIntermNode.cpp1001 void TIntermDeclaration::appendDeclarator(TIntermTyped *declarator) in appendDeclarator() argument
1003 ASSERT(declarator != nullptr); in appendDeclarator()
1004 ASSERT(declarator->getAsSymbolNode() != nullptr || in appendDeclarator()
1005 (declarator->getAsBinaryNode() != nullptr && in appendDeclarator()
1006 declarator->getAsBinaryNode()->getOp() == EOpInitialize)); in appendDeclarator()
1008 declarator->getType().sameNonArrayType(mDeclarators.back()->getAsTyped()->getType())); in appendDeclarator()
1009 mDeclarators.push_back(declarator); in appendDeclarator()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_util/
DIntermNodePatternMatcher.cpp193 for (TIntermNode *declarator : *node->getSequence()) in match()
195 if (declarator->getAsTyped()->isArray()) in match()
203 TIntermTyped *declarator = node->getSequence()->front()->getAsTyped(); in match() local
204 if (declarator->getBasicType() == EbtStruct && in match()
205 declarator->getType().getStruct()->symbolType() == SymbolType::Empty) in match()
/third_party/glslang/glslang/HLSL/
DhlslGrammar.cpp361 TFunctionDeclarator declarator; in acceptDeclaration() local
362 acceptAttributes(declarator.attributes); in acceptDeclaration()
380 … if (! acceptFullySpecifiedType(declaredType, nodeList, declarator.attributes, forbidDeclarators)) in acceptDeclaration()
411 … parseContext.transferTypeAttributes(token.loc, declarator.attributes, declaredType, true); in acceptDeclaration()
417 declarator.function = new TFunction(fullName, declaredType); in acceptDeclaration()
418 if (!acceptFunctionParameters(*declarator.function)) { in acceptDeclaration()
424 acceptPostDecls(declarator.function->getWritableType().getQualifier()); in acceptDeclaration()
427 declarator.loc = token.loc; in acceptDeclaration()
433 return acceptFunctionDefinition(declarator, nodeList, nullptr); in acceptDeclaration()
437 parseContext.handleFunctionDeclarator(declarator.loc, *declarator.function, true); in acceptDeclaration()
[all …]
DhlslGrammar.h103 bool acceptFunctionBody(TFunctionDeclarator& declarator, TIntermNode*& nodeList);
/third_party/ltp/tools/sparse/sparse-src/
Dparse.c125 .declarator = storage_specifier,
130 .declarator = generic_qualifier,
136 .declarator = generic_qualifier,
142 .declarator = alignas_specifier,
147 .declarator = storage_specifier,
152 .declarator = storage_specifier,
157 .declarator = storage_specifier,
162 .declarator = storage_specifier,
167 .declarator = thread_specifier,
172 .declarator = generic_qualifier,
[all …]
/third_party/ltp/tools/sparse/sparse-src/Documentation/release-notes/
Dv0.4.2.rst26 * More nested declarator fixes
31 * Leave applying attributes until we know whether it's a nested declarator
32 * Don't mess with passing symbol to declarator/direct_declarator
40 * preparations to ->declarator() cleanup - separate typedef handling
44 * Have ->declarator() act directly on ctype being affected
46 * Pass decl_state down to ->declarator() and handle_attributes()
Dv0.6.3.rst51 * do not accept comma expressions in array declarator
/third_party/python/Tools/c-analyzer/c_parser/parser/
D_common.py78 (storage, typequal, typespec, declarator,
93 abstract = declarator.replace(name, '')
D_compound_decl_body.py53 qualspec, declarator,
/third_party/node/tools/gyp/tools/Xcode/Specifications/
Dgyp.xclangspec36 Identifier = "xcode.lang.gyp.target.declarator";
88 'xcode.lang.gyp.targetname.declarator',
123 "xcode.lang.gyp.target.declarator",
/third_party/node/src/
Dnode.h111 # define NODE_DEPRECATED(message, declarator) declarator argument
114 # define NODE_DEPRECATED(message, declarator) \ argument
115 __attribute__((deprecated(message))) declarator
117 # define NODE_DEPRECATED(message, declarator) \ argument
118 __declspec(deprecated) declarator
120 # define NODE_DEPRECATED(message, declarator) declarator argument
/third_party/vk-gl-cts/external/zlib/
DCMakeLists.txt53 # 4131: 'x': uses old style declarator
/third_party/vixl/src/
Dutils-vixl.h197 #define VIXL_DEPRECATED(replaced_by, declarator) \
198 __attribute__((deprecated("Use \"" replaced_by "\" instead"))) declarator
200 #define VIXL_DEPRECATED(replaced_by, declarator) declarator

12