Searched refs:decls (Results 1 - 25 of 103) sorted by relevance

12345

/external/libsepol/tests/
H A Dtest-linker-types.c99 /* Don't pass in decls from global blocks since symbols aren't stored in their symtab */
100 static void test_type_datum(policydb_t * p, char *id, unsigned int *decls, int len, unsigned int primary) argument
116 type = hashtab_search(p->decl_val_to_struct[decls[i] - 1]->p_types.table, id);
127 unsigned int decls[2]; local
136 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_b"))->decl_id;
137 test_sym_presence(base, "g_b_type_1", SYM_TYPES, SCOPE_DECL, decls, 1);
140 test_sym_presence(base, "g_b_attr_1", SYM_TYPES, SCOPE_DECL, decls, 1);
145 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_o1_b"))->decl_id;
146 test_sym_presence(base, "o1_b_type_1", SYM_TYPES, SCOPE_DECL, decls, 1);
149 test_sym_presence(base, "o1_b_attr_1", SYM_TYPES, SCOPE_DECL, decls,
165 unsigned int decls[2]; local
[all...]
H A Dtest-linker-roles.c74 unsigned int decls[2]; local
81 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_b"))->decl_id;
82 test_sym_presence(base, "g_b_role_1", SYM_ROLES, SCOPE_DECL, decls, 1);
91 decls[0] = decl->decl_id;
92 test_sym_presence(base, "o1_b_role_1", SYM_ROLES, SCOPE_DECL, decls, 1);
104 unsigned int decls[2]; local
112 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_m1"))->decl_id;
113 test_sym_presence(base, "g_m1_role_1", SYM_ROLES, SCOPE_DECL, decls, 1);
122 decls[0] = decl->decl_id;
123 test_sym_presence(base, "o1_m1_role_1", SYM_ROLES, SCOPE_DECL, decls,
[all...]
H A Dtest-linker-cond-map.c90 unsigned int decls[1]; local
98 decls[0] = d->decl_id;
99 test_sym_presence(base, "g_b_bool_1", SYM_BOOLS, SCOPE_DECL, decls, 1);
108 decls[0] = d->decl_id;
109 test_sym_presence(base, "o1_b_bool_1", SYM_BOOLS, SCOPE_DECL, decls, 1);
121 unsigned int decls[1]; local
126 decls[0] = d->decl_id;
127 test_sym_presence(base, "g_m1_bool_1", SYM_BOOLS, SCOPE_DECL, decls, 1);
136 decls[0] = d->decl_id;
137 test_sym_presence(base, "o1_m1_bool_1", SYM_BOOLS, SCOPE_DECL, decls,
[all...]
H A Dtest-common.h31 * decls integer array of decl id's that we expect the role to have in the scope table
32 * len number of elements in decls
37 extern void test_sym_presence(policydb_t * p, char *id, int sym_type, unsigned int scope_type, unsigned int *decls, unsigned int len);
/external/clang/lib/AST/
H A DDeclGroup.cpp28 DeclGroup::DeclGroup(unsigned numdecls, Decl** decls) : NumDecls(numdecls) { argument
30 assert(decls);
31 memcpy(this+1, decls, numdecls * sizeof(*decls));
/external/antlr/antlr-3.4/runtime/Perl5/examples/tweak/
H A DT.g2 * convert method with "public void", add decls. This shows how to insert
29 // decls is on body's local variable stack but is visible to
31 // it is referenced as $body::decls
32 // From within rule body, you can use $decls shorthand
33 decls;
36 $body::decls = [];
41 foreach my $id ($body::decls) {
47 stat: ID '=' expr ';' { $body::decls->add($ID.text); } // track left-hand-sides
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/token-rewrite/
H A Dvia-parser.rb27 decls
30 $body::decls = []
34 $body::decls.uniq!
35 for it in $body::decls
41 stat: ID '=' expr ';' {$body::decls << $ID.text.to_s}
/external/clang/include/clang/AST/
H A DUnresolvedSet.h109 iterator begin() { return iterator(decls().begin()); }
110 iterator end() { return iterator(decls().end()); }
112 const_iterator begin() const { return const_iterator(decls().begin()); }
113 const_iterator end() const { return const_iterator(decls().end()); }
120 decls().push_back(DeclAccessPair::make(D, AS));
127 for (DeclsTy::iterator I = decls().begin(), E = decls().end(); I != E; ++I)
143 void erase(unsigned I) { decls()[I] = decls().pop_back_val(); }
145 void erase(iterator I) { *I.ir = decls()
167 DeclsTy &decls() { function in class:clang::UnresolvedSetImpl
170 const DeclsTy &decls() const { function in class:clang::UnresolvedSetImpl
[all...]
/external/chromium_org/third_party/WebKit/Source/core/css/
H A DCSSViewportRule.cpp68 String decls = m_viewportRule->properties().asText(); local
69 result.append(decls);
70 if (!decls.isEmpty())
H A DCSSPageRule.cpp90 String decls = m_pageRule->properties().asText(); local
91 result.append(decls);
92 if (!decls.isEmpty())
H A DCSSKeyframeRule.cpp113 String decls = m_properties->asText(); local
114 result.append(decls);
115 if (!decls.isEmpty())
H A DCSSStyleRule.cpp117 String decls = m_styleRule->properties().asText(); local
118 result.append(decls);
119 if (!decls.isEmpty())
/external/chromium_org/third_party/mesa/src/src/glsl/tests/
H A Dsexps.py95 decls = []
99 decls.append(s)
102 return sorted(decls) + other_code
/external/chromium_org/v8/test/mjsunit/harmony/
H A Dblock-const-assign.js96 let decls = [ constDecl0,
126 for (var d = 0; d < decls.length; ++d) {
128 Test(decls[d], uses[u]);
/external/mesa3d/src/glsl/tests/
H A Dsexps.py95 decls = []
99 decls.append(s)
102 return sorted(decls) + other_code
/external/yaffs2/
H A DAndroid.mk14 LOCAL_CFLAGS+= -Wmissing-prototypes -Wredundant-decls -Wnested-externs -Winline
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/svgadump/
H A Dsvga_dump.py166 def dump_struct(decls, class_):
322 decls = parser.parse(headers, config, parser.COMPILATION_MODE.ALL_AT_ONCE)
323 global_ns = declarations.get_global_namespace(decls)
334 dump_struct(decls, class_)
/external/mesa3d/src/gallium/drivers/svga/svgadump/
H A Dsvga_dump.py166 def dump_struct(decls, class_):
322 decls = parser.parse(headers, config, parser.COMPILATION_MODE.ALL_AT_ONCE)
323 global_ns = declarations.get_global_namespace(decls)
334 dump_struct(decls, class_)
/external/yaffs2/yaffs2/utils/
H A DMakefile21 CFLAGS+= -Wmissing-prototypes -Wredundant-decls -Wnested-externs -Winline
/external/clang/lib/Frontend/
H A DASTMerge.cpp60 for (auto *D : TU->decls()) {
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/python-yasm/pyxelator/
H A Dwork_unit.py121 decls = self.node.pyx_decls(self.files, self.modname, macros = self.macros, func_cb = func_cb, names={}, cprefix="" )
128 file.write(decls)
129 sys.stderr.write( "# wrote %s, %d lines\n" % (pxi,decls.count('\n')) )
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ActionScript/
H A DActionScript.stg491 block(alts,decls,decision,enclosingBlockLevel,blockLevel,decisionNumber,maxK,maxAlt,description) ::= <<
494 <decls>
506 ruleBlock(alts,decls,decision,enclosingBlockLevel,blockLevel,decisionNumber,maxK,maxAlt,description) ::= <<
509 <decls>
518 ruleBlockSingleAlt(alts,decls,decision,enclosingBlockLevel,blockLevel,decisionNumber,description) ::= <<
520 <decls>
527 blockSingleAlt(alts,decls,decision,enclosingBlockLevel,blockLevel,decisionNumber,description) ::= <<
529 <decls>
536 positiveClosureBlock(alts,decls,decision,enclosingBlockLevel,blockLevel,decisionNumber,maxK,maxAlt,description) ::= <<
539 <decls>
[all...]
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CPP/
H A DCPP.stg561 block(alts,decls,decision,enclosingBlockLevel,blockLevel,decisionNumber,
565 <decls>
577 ruleBlock(alts,decls,decision,enclosingBlockLevel,blockLevel,decisionNumber,maxK,maxAlt,description) ::= <<
580 <decls>
589 ruleBlockSingleAlt(alts,decls,decision,enclosingBlockLevel,blockLevel,decisionNumber,description) ::= <<
591 <decls>
598 blockSingleAlt(alts,decls,decision,enclosingBlockLevel,blockLevel,decisionNumber,description) ::= <<
600 <decls>
607 positiveClosureBlock(alts,decls,decision,enclosingBlockLevel,blockLevel,decisionNumber,maxK,maxAlt,description) ::= <<
610 <decls>
[all...]
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Java/
H A DJava.stg546 block(alts,decls,decision,enclosingBlockLevel,blockLevel,decisionNumber,maxK,maxAlt,description) ::= <<
549 <decls>
561 ruleBlock(alts,decls,decision,enclosingBlockLevel,blockLevel,decisionNumber,maxK,maxAlt,description) ::= <<
564 <decls>
573 ruleBlockSingleAlt(alts,decls,decision,enclosingBlockLevel,blockLevel,decisionNumber,description) ::= <<
575 <decls>
582 blockSingleAlt(alts,decls,decision,enclosingBlockLevel,blockLevel,decisionNumber,description) ::= <<
584 <decls>
591 positiveClosureBlock(alts,decls,decision,enclosingBlockLevel,blockLevel,decisionNumber,maxK,maxAlt,description) ::= <<
594 <decls>
[all...]
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Perl5/
H A DPerl5.stg521 block(alts,decls,decision,enclosingBlockLevel,blockLevel,decisionNumber,maxK,maxAlt,description) ::= <<
524 <decls>
536 ruleBlock(alts,decls,decision,enclosingBlockLevel,blockLevel,decisionNumber,maxK,maxAlt,description) ::= <<
539 <decls>
548 ruleBlockSingleAlt(alts,decls,decision,enclosingBlockLevel,blockLevel,decisionNumber,description) ::= <<
550 <decls>
557 blockSingleAlt(alts,decls,decision,enclosingBlockLevel,blockLevel,decisionNumber,description) ::= <<
559 <decls>
566 positiveClosureBlock(alts,decls,decision,enclosingBlockLevel,blockLevel,decisionNumber,maxK,maxAlt,description) ::= <<
569 <decls>
[all...]

Completed in 412 milliseconds

12345