HomeSort by relevance Sort by last modified time
    Searched refs:decls (Results 1 - 25 of 66) sorted by null

1 2 3

  /external/libsepol/tests/
test-linker-types.c 99 /* 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)
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, 1)
165 unsigned int decls[2]; local
    [all...]
test-linker-roles.c 74 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, 1)
    [all...]
test-linker-cond-map.c 90 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, 1)
    [all...]
test-common.h 31 * 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/
DeclGroup.cpp 1 //===--- DeclGroup.cpp - Classes for representing groups of Decls -*- C++ -*-==//
20 DeclGroup* DeclGroup::Create(ASTContext &C, Decl **Decls, unsigned NumDecls) {
24 new (Mem) DeclGroup(NumDecls, Decls);
28 DeclGroup::DeclGroup(unsigned numdecls, Decl** decls) : NumDecls(numdecls) {
30 assert(decls);
31 memcpy(this+1, decls, numdecls * sizeof(*decls));
  /external/clang/include/clang/AST/
UnresolvedSet.h 108 iterator begin() { return iterator(decls().begin()); }
109 iterator end() { return iterator(decls().end()); }
111 const_iterator begin() const { return const_iterator(decls().begin()); }
112 const_iterator end() const { return const_iterator(decls().end()); }
119 decls().push_back(DeclAccessPair::make(D, AS));
126 for (DeclsTy::iterator I = decls().begin(), E = decls().end(); I != E; ++I)
143 decls()[I] = decls().back();
144 decls().pop_back()
172 DeclsTy &decls() { function in class:clang::UnresolvedSetImpl
175 const DeclsTy &decls() const { function in class:clang::UnresolvedSetImpl
    [all...]
  /external/antlr/antlr-3.4/runtime/Perl5/examples/tweak/
T.g 2 * 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/
via-parser.rb 27 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/chromium_org/third_party/WebKit/Source/core/css/
CSSViewportRule.cpp 66 String decls = m_viewportRule->properties()->asText(); local
67 result.append(decls);
68 if (!decls.isEmpty())
CSSPageRule.cpp 87 String decls = m_pageRule->properties()->asText(); local
88 result.append(decls);
89 if (!decls.isEmpty())
CSSStyleRule.cpp 115 String decls = m_styleRule->properties()->asText(); local
116 result.append(decls);
117 if (!decls.isEmpty())
CSSKeyframeRule.cpp 111 String decls = m_properties->asText(); local
112 result.append(decls);
113 if (!decls.isEmpty())
  /external/chromium_org/third_party/mesa/src/src/glsl/tests/
sexps.py 95 decls = []
99 decls.append(s)
102 return sorted(decls) + other_code
  /external/mesa3d/src/glsl/tests/
sexps.py 95 decls = []
99 decls.append(s)
102 return sorted(decls) + other_code
  /external/yaffs2/
Android.mk 14 LOCAL_CFLAGS+= -Wmissing-prototypes -Wredundant-decls -Wnested-externs -Winline
  /external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/svgadump/
svga_dump.py 166 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/
svga_dump.py 166 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/
Makefile 21 CFLAGS+= -Wmissing-prototypes -Wredundant-decls -Wnested-externs -Winline
  /external/chromium_org/v8/test/mjsunit/harmony/
block-const-assign.js 97 let decls = [ constDecl0,
127 for (var d = 0; d < decls.length; ++d) {
129 Test(decls[d], uses[u]);
  /external/v8/test/mjsunit/harmony/
block-const-assign.js 97 let decls = [ constDecl0,
127 for (var d = 0; d < decls.length; ++d) {
129 Test(decls[d], uses[u]);
  /external/chromium_org/third_party/yasm/source/patched-yasm/tools/python-yasm/pyxelator/
work_unit.py 121 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/
ActionScript.stg 491 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/
CPP.stg 561 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/
Java.stg 546 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/
Perl5.stg 521 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 1588 milliseconds

1 2 3