Home
last modified time | relevance | path

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

1234

/external/angle/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()
/external/antlr/runtime/Python/tests/
Dt047treeparser.g27 : type declarator ';' -> ^(VAR_DEF type declarator)
30 declarator
40 : type declarator -> ^(ARG_DEF type declarator)
Dt047treeparserWalker.g19 : ^(VAR_DEF type declarator)
21 $res = $declarator.text;
25 declarator
34 : ^(ARG_DEF type declarator)
Dt017parser.g18 : type declarator ';'
21 declarator
30 : type declarator
Dt033backtracking.g52 * recursion in the declarator rules. I'm putting in a
66 : ( declaration_specifiers? declarator declaration* '{' )=> function_definition
75 : declaration_specifiers? declarator
105 : declarator //('=' initializer)?
167 // : declarator (':' constant_expression)?
191 declarator
203 | '(' declarator ')'
231 // : declaration_specifiers (declarator|abstract_declarator)*
/external/antlr/runtime/JavaScript/tests/functional/
Dt047treeparser.g27 : type declarator ';' -> ^(VAR_DEF type declarator)
30 declarator
40 : type declarator -> ^(ARG_DEF type declarator)
Dt047treeparserWalker.g20 : ^(VAR_DEF type declarator)
22 $res = $declarator.text;
26 declarator
35 : ^(ARG_DEF type declarator)
Dt017parser.g18 : type declarator ';'
21 declarator
30 : type declarator
Dt033backtracking.g36 * recursion in the declarator rules. I'm putting in a
50 : ( declaration_specifiers? declarator declaration* '{' )=> function_definition
59 : declaration_specifiers? declarator
89 : declarator //('=' initializer)?
151 // : declarator (':' constant_expression)?
175 declarator
188 | '(' declarator ')'
216 // : declaration_specifiers (declarator|abstract_declarator)*
/external/antlr/runtime/Python3/tests/
Dt047treeparser.g27 : type declarator ';' -> ^(VAR_DEF type declarator)
30 declarator
40 : type declarator -> ^(ARG_DEF type declarator)
Dt047treeparserWalker.g19 : ^(VAR_DEF type declarator)
21 $res = $declarator.text;
25 declarator
34 : ^(ARG_DEF type declarator)
Dt033backtracking.g33 * recursion in the declarator rules. I'm putting in a
47 : ( declaration_specifiers? declarator declaration* '{' )=> function_definition
56 : declaration_specifiers? declarator
86 : declarator //('=' initializer)?
148 // : declarator (':' constant_expression)?
172 declarator
184 | '(' declarator ')'
212 // : declaration_specifiers (declarator|abstract_declarator)*
Dt017parser.g18 : type declarator ';'
21 declarator
30 : type declarator
/external/antlr/runtime/Cpp/tests/
Dt047treeparser.g40 : type declarator ';' -> ^(VAR_DEF type declarator)
43 declarator
53 : type declarator -> ^(ARG_DEF type declarator)
Dt047treeparserWalker.g25 : ^(VAR_DEF type declarator)
27 $res = $declarator.text;
31 declarator
40 : ^(ARG_DEF type declarator)
Dt017parser.g31 : type declarator ';'
34 declarator
43 : type declarator
Dt033backtracking.g46 * recursion in the declarator rules. I'm putting in a
60 : ( declaration_specifiers? declarator declaration* '{' )=> function_definition
69 : declaration_specifiers? declarator
99 : declarator //('=' initializer)?
161 // : declarator (':' constant_expression)?
185 declarator
197 | '(' declarator ')'
225 // : declaration_specifiers (declarator|abstract_declarator)*
/external/antlr/runtime/ObjC/Framework/examples/simplecTreeParser/
DSimpleC.g27 : type declarator K_SEMICOLON -> ^(VAR_DEF type declarator)
30 declarator
40 : type declarator -> ^(ARG_DEF type declarator)
DSimpleCWalker.g24 : ^(VAR_DEF type declarator)
27 declarator
36 : ^(ARG_DEF type declarator)
DSimpleCTP.g24 : ^(VAR_DEF type declarator)
27 declarator
36 : ^(ARG_DEF type declarator)
/external/angle/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()
/external/antlr/runtime/ObjC/Framework/examples/treeparser/
DLangDumpDecl.g8 decl : ^(DECL type declarator)
10 { NSLog(@"int \%@", $declarator.text);}
15 declarator
DLangDumpDecl.m118 …3/runtime/ObjC/Framework/examples/treeparser/LangDumpDecl.g:8:1: decl : ^( DECL type declarator ) ;
131 …/ObjC/Framework/examples/treeparser/LangDumpDecl.g:8:6: ( ^( DECL type declarator ) ) // ruleBlock…
132 …lr3/runtime/ObjC/Framework/examples/treeparser/LangDumpDecl.g:8:8: ^( DECL type declarator ) // alt
150 declarator1 = [self declarator];
220 * $ANTLR start declarator
221 …antlr/code/antlr3/runtime/ObjC/Framework/examples/treeparser/LangDumpDecl.g:15:1: declarator : ID ;
223 - (LangDumpDecl_declarator_return *) declarator
258 /* $ANTLR end declarator */
/external/angle/src/compiler/translator/tree_util/
DIntermNodePatternMatcher.cpp190 for (TIntermNode *declarator : *node->getSequence()) in match()
192 if (declarator->getAsTyped()->isArray()) in match()
200 TIntermTyped *declarator = node->getSequence()->front()->getAsTyped(); in match() local
201 if (declarator->getBasicType() == EbtStruct && in match()
202 declarator->getType().getStruct()->symbolType() == SymbolType::Empty) in match()

1234