Home
last modified time | relevance | path

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

123

/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/flutter/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 …]
DNameEmbeddedUniformStructs.cpp38 TIntermTyped *declarator = sequence.front()->getAsTyped(); in visitDeclaration() local
39 const TType &type = declarator->getType(); in visitDeclaration()
47 doReplacement(decl, declarator, structure); in visitDeclaration()
56 TIntermTyped *declarator, in doReplacement() argument
75 TIntermSymbol *asSymbol = declarator->getAsSymbolNode(); in doReplacement()
DDeferGlobalInitializers.cpp47 TIntermNode *declarator = declaration->getSequence()->back(); in GetDeferredInitializers() local
48 TIntermBinary *init = declarator->getAsBinaryNode(); in GetDeferredInitializers()
83 TIntermSymbol *symbolNode = declarator->getAsSymbolNode(); in GetDeferredInitializers()
DInitializeVariables.cpp222 for (TIntermNode *declarator : *node->getSequence()) in visitDeclaration()
224 if (!mInGlobalScope && !declarator->getAsBinaryNode()) in visitDeclaration()
226 TIntermSymbol *symbol = 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/flutter/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.cpp2190 TIntermTyped *declarator = (*sequence)[0]->getAsTyped(); in visitDeclaration() local
2192 ASSERT(declarator); in visitDeclaration()
2197 ensureStructDefined(declarator->getType()); in visitDeclaration()
2199 if (!declarator->getAsSymbolNode() || in visitDeclaration()
2200 declarator->getAsSymbolNode()->variable().symbolType() != in visitDeclaration()
2203 if (declarator->getQualifier() == EvqShared) in visitDeclaration()
2212 out << TypeString(declarator->getType()) + " "; in visitDeclaration()
2214 TIntermSymbol *symbol = declarator->getAsSymbolNode(); in visitDeclaration()
2224 if (declarator->getQualifier() != EvqShared) in visitDeclaration()
2231 declarator->traverse(this); in visitDeclaration()
[all …]
/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 …]
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/tree_util/
DIntermNodePatternMatcher.cpp184 for (TIntermNode *declarator : *node->getSequence()) in match()
186 if (declarator->getAsTyped()->isArray()) in match()
194 TIntermTyped *declarator = node->getSequence()->front()->getAsTyped(); in match() local
195 if (declarator->getBasicType() == EbtStruct && in match()
196 declarator->getType().getStruct()->symbolType() == SymbolType::Empty) in match()
/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.cpp360 TFunctionDeclarator declarator; in acceptDeclaration() local
361 acceptAttributes(declarator.attributes); in acceptDeclaration()
379 … if (! acceptFullySpecifiedType(declaredType, nodeList, declarator.attributes, forbidDeclarators)) in acceptDeclaration()
410 … parseContext.transferTypeAttributes(token.loc, declarator.attributes, declaredType, true); in acceptDeclaration()
416 declarator.function = new TFunction(fullName, declaredType); in acceptDeclaration()
417 if (!acceptFunctionParameters(*declarator.function)) { in acceptDeclaration()
423 acceptPostDecls(declarator.function->getWritableType().getQualifier()); in acceptDeclaration()
426 declarator.loc = token.loc; in acceptDeclaration()
432 return acceptFunctionDefinition(declarator, nodeList, nullptr); in acceptDeclaration()
436 parseContext.handleFunctionDeclarator(declarator.loc, *declarator.function, true); in acceptDeclaration()
[all …]
/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()
/third_party/python/Tools/c-analyzer/c_parser/parser/
D_common.py78 (storage, typequal, typespec, declarator,
93 abstract = declarator.replace(name, '')
/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/deps/npm/node_modules/node-gyp/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.h104 # define NODE_DEPRECATED(message, declarator) declarator argument
107 # define NODE_DEPRECATED(message, declarator) \ argument
108 __attribute__((deprecated(message))) declarator
110 # define NODE_DEPRECATED(message, declarator) \ argument
111 __declspec(deprecated) declarator
113 # define NODE_DEPRECATED(message, declarator) declarator argument

123