/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/ |
H A D | RemoveUnreferencedVariables.cpp | 139 void removeVariableDeclaration(TIntermDeclaration *node, TIntermTyped *declarator); 176 TIntermTyped *declarator) in removeVariableDeclaration() 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 in removeVariableDeclaration() 175 removeVariableDeclaration(TIntermDeclaration *node, TIntermTyped *declarator) removeVariableDeclaration() argument 236 TIntermTyped *declarator = node->getSequence()->back()->getAsTyped(); visitDeclaration() local [all...] |
H A D | SeparateDeclarations.cpp | 7 // contains only one declarator. 97 TIntermTyped *declarator = sequence->at(index)->getAsTyped(); in separateDeclarator() local 98 const TType &declaratorType = declarator->getType(); in separateDeclarator() 100 // If the declaration is not simultaneously declaring a struct, can use the same declarator. in separateDeclarator() 101 // Otherwise, the first declarator is taken as-is if the struct has a name. in separateDeclarator() 108 // Make sure to update the declarator's initializers if any. 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 in separateDeclarator() [all...] |
H A D | SeparateStructFromUniformDeclarations.cpp | 38 TIntermTyped *declarator = sequence.front()->getAsTyped(); variable 39 const TType &type = declarator->getType(); 43 doReplacement(decl, declarator, type); 60 void doReplacement(TIntermDeclaration *decl, TIntermTyped *declarator, const TType &oldType) in doReplacement() argument 82 TIntermSymbol *asSymbol = declarator->getAsSymbolNode(); in doReplacement()
|
H A D | RemoveInactiveInterfaceVariables.cpp | 84 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()
|
H A D | DeferGlobalInitializers.cpp | 49 TIntermNode *declarator = declaration->getSequence()->back(); in GetDeferredInitializers() local 50 TIntermBinary *init = declarator->getAsBinaryNode(); in GetDeferredInitializers() 86 TIntermSymbol *symbolNode = declarator->getAsSymbolNode(); in GetDeferredInitializers()
|
H A D | InitializeVariables.cpp | 266 for (TIntermNode *declarator : *node->getSequence()) 268 if (!mInGlobalScope && !declarator->getAsBinaryNode()) 270 TIntermSymbol *symbol = declarator->getAsSymbolNode(); 294 // this declarator.
|
H A D | RewriteStructSamplers.cpp | 349 TIntermTyped *declarator = sequence.front()->getAsTyped(); local 350 const TType &type = declarator->getType(); 380 TIntermSymbol *asSymbol = declarator->getAsSymbolNode();
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
H A D | FlagStd140Structs.cpp | 53 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()
|
H A D | OutputHLSL.cpp | 2261 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 in visitDeclaration() [all...] |
H A D | glslang_tab_autogen.h | 283 TDeclarator *declarator; member
|
H A D | TranslatorMetalDirect.cpp | 92 TIntermTyped *declarator = sequence.front()->getAsTyped(); variable 93 const TType &type = declarator->getType(); 103 TIntermSymbol *symbolNode = declarator->getAsSymbolNode();
|
H A D | ParseContext.cpp | 1628 // declarations starting a declarator list, and declarators that follow an empty declaration. 2458 TIntermBinary *declarator = declaration->getSequence()->front()->getAsBinaryNode(); in addLoop() local 2459 ASSERT(declarator->getLeft()->getAsSymbolNode()); in addLoop() 2467 declareCondition->appendDeclarator(declarator->getLeft()->deepCopy()); in addLoop() 2470 TIntermBinary *conditionInit = new TIntermBinary(EOpAssign, declarator->getLeft()->deepCopy(), in addLoop() 2471 declarator->getRight()->deepCopy()); in addLoop() 3154 // If the declaration starting this declarator list was empty (example: int,), some checks were in parseDeclarator() 3196 // If the declaration starting this declarator list was empty (example: int,), some checks were in parseArrayDeclarator() 3242 // If the declaration starting this declarator list was empty (example: int,), some checks were in parseInitDeclarator() 3275 // If the declaration starting this declarator lis in parseArrayInitDeclarator() [all...] |
H A D | IntermNode.cpp | 1001 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() 1797 // operands are const. If initializing a specialization constant, make the declarator also in promote()
|
H A D | glslang.y | 101 TDeclarator *declarator; 241 %type <interm.declarator> struct_declarator
|
H A D | glslang_tab_autogen.cpp | 372 TDeclarator *declarator; member 4871 (yyval.interm.declaratorList)->push_back((yyvsp[0].interm.declarator)); 4879 (yyval.interm.declaratorList)->push_back((yyvsp[0].interm.declarator)); 4887 (yyval.interm.declarator) = 4896 (yyval.interm.declarator) = context->parseStructArrayDeclarator(
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/ |
H A D | NameEmbeddedUniformStructsMetal.cpp | 40 TIntermTyped *declarator = sequence.front()->getAsTyped(); variable 41 const TType &type = declarator->getType(); 49 doReplacement(decl, declarator, structure); 66 TIntermTyped *declarator, in doReplacement() 85 TIntermSymbol *asSymbol = declarator->getAsSymbolNode(); in doReplacement() 65 doReplacement(TIntermDeclaration *decl, TIntermTyped *declarator, const TStructure *oldStructure) doReplacement() argument
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_util/ |
H A D | IntermNodePatternMatcher.cpp | 193 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/ |
H A D | hlslGrammar.cpp | 311 // : declarator COMMA declarator COMMA declarator... // zero or more declarators 313 // declarator 361 TFunctionDeclarator declarator; in acceptDeclaration() local 362 acceptAttributes(declarator.attributes); in acceptDeclaration() 380 if (! acceptFullySpecifiedType(declaredType, nodeList, declarator.attributes, forbidDeclarators)) in acceptDeclaration() 399 // : declarator in acceptDeclaration() 411 parseContext.transferTypeAttributes(token.loc, declarator.attributes, declaredType, true); in acceptDeclaration() 417 declarator in acceptDeclaration() 2789 acceptMemberFunctionDefinition(TIntermNode*& nodeList, const TType& type, TString& memberName, TFunctionDeclarator& declarator) acceptMemberFunctionDefinition() argument 2965 acceptFunctionDefinition(TFunctionDeclarator& declarator, TIntermNode*& nodeList, TVector<HlslToken>* deferredTokens) acceptFunctionDefinition() argument 2976 acceptFunctionBody(TFunctionDeclarator& declarator, TIntermNode*& nodeList) acceptFunctionBody() argument [all...] |
H A D | hlslGrammar.h | 103 bool acceptFunctionBody(TFunctionDeclarator& declarator, TIntermNode*& nodeList);
|
/third_party/python/Tools/c-analyzer/c_parser/parser/ |
H A D | _common.py | 78 (storage, typequal, typespec, declarator, 93 abstract = declarator.replace(name, '')
|
H A D | _compound_decl_body.py | 53 qualspec, declarator, 97 _, name, data = parse_var_decl(f'{qualspec} {declarator}')
|
/third_party/ltp/tools/sparse/sparse-src/ |
H A D | parse.c | 125 .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 1840 static struct token *declarator(struct token *token, struct decl_state *ctx) declarator() function [all...] |
H A D | symbol.h | 130 struct token *(*declarator)(struct token *token, struct symbol *, struct decl_state *ctx); member
|
/third_party/node/src/ |
H A D | node.h | 111 # define NODE_DEPRECATED(message, declarator) declarator 114 # define NODE_DEPRECATED(message, declarator) \ 115 __attribute__((deprecated(message))) declarator 117 # define NODE_DEPRECATED(message, declarator) \ 118 __declspec(deprecated) declarator 120 # define NODE_DEPRECATED(message, declarator) declarator
|
/third_party/vixl/src/ |
H A D | utils-vixl.h | 204 #define VIXL_DEPRECATED(replaced_by, declarator) \ 205 __attribute__((deprecated("Use \"" replaced_by "\" instead"))) declarator 207 #define VIXL_DEPRECATED(replaced_by, declarator) declarator
|