/external/libsepol/tests/ |
D | test-linker-types.c | 100 static void test_type_datum(policydb_t * p, char *id, unsigned int *decls, int len, unsigned int pr… in test_type_datum() argument 116 type = hashtab_search(p->decl_val_to_struct[decls[i] - 1]->p_types.table, id); in test_type_datum() 127 unsigned int decls[2]; in base_type_tests() local 136 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_b"))->decl_id; in base_type_tests() 137 test_sym_presence(base, "g_b_type_1", SYM_TYPES, SCOPE_DECL, decls, 1); in base_type_tests() 140 test_sym_presence(base, "g_b_attr_1", SYM_TYPES, SCOPE_DECL, decls, 1); in base_type_tests() 145 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_o1_b"))->decl_id; in base_type_tests() 146 test_sym_presence(base, "o1_b_type_1", SYM_TYPES, SCOPE_DECL, decls, 1); in base_type_tests() 149 test_sym_presence(base, "o1_b_attr_1", SYM_TYPES, SCOPE_DECL, decls, 1); in base_type_tests() 151 test_attr_types(base, "o1_b_attr_1", base->decl_val_to_struct[decls[0] - 1], types, 1); in base_type_tests() [all …]
|
D | test-linker-roles.c | 74 unsigned int decls[2]; in base_role_tests() local 81 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_b"))->decl_id; in base_role_tests() 82 test_sym_presence(base, "g_b_role_1", SYM_ROLES, SCOPE_DECL, decls, 1); in base_role_tests() 91 decls[0] = decl->decl_id; in base_role_tests() 92 test_sym_presence(base, "o1_b_role_1", SYM_ROLES, SCOPE_DECL, decls, 1); in base_role_tests() 104 unsigned int decls[2]; in module_role_tests() local 112 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_m1"))->decl_id; in module_role_tests() 113 test_sym_presence(base, "g_m1_role_1", SYM_ROLES, SCOPE_DECL, decls, 1); in module_role_tests() 122 decls[0] = decl->decl_id; in module_role_tests() 123 test_sym_presence(base, "o1_m1_role_1", SYM_ROLES, SCOPE_DECL, decls, 1); in module_role_tests() [all …]
|
D | test-linker-cond-map.c | 90 unsigned int decls[1]; in base_cond_tests() local 98 decls[0] = d->decl_id; in base_cond_tests() 99 test_sym_presence(base, "g_b_bool_1", SYM_BOOLS, SCOPE_DECL, decls, 1); in base_cond_tests() 108 decls[0] = d->decl_id; in base_cond_tests() 109 test_sym_presence(base, "o1_b_bool_1", SYM_BOOLS, SCOPE_DECL, decls, 1); in base_cond_tests() 121 unsigned int decls[1]; in module_cond_tests() local 126 decls[0] = d->decl_id; in module_cond_tests() 127 test_sym_presence(base, "g_m1_bool_1", SYM_BOOLS, SCOPE_DECL, decls, 1); in module_cond_tests() 136 decls[0] = d->decl_id; in module_cond_tests() 137 test_sym_presence(base, "o1_m1_bool_1", SYM_BOOLS, SCOPE_DECL, decls, 1); in module_cond_tests() [all …]
|
D | test-common.h | 37 …ydb_t * p, char *id, int sym_type, unsigned int scope_type, unsigned int *decls, unsigned int len);
|
D | test-common.c | 29 …cydb_t * p, char *id, int sym_type, unsigned int scope_type, unsigned int *decls, unsigned int len) in test_sym_presence() argument 49 if (decls[i] == scope->decl_ids[j]) in test_sym_presence()
|
/external/clang/include/clang/AST/ |
D | UnresolvedSet.h | 105 iterator begin() { return iterator(decls().begin()); } in begin() 106 iterator end() { return iterator(decls().end()); } in end() 108 const_iterator begin() const { return const_iterator(decls().begin()); } in begin() 109 const_iterator end() const { return const_iterator(decls().end()); } in end() 116 decls().push_back(DeclAccessPair::make(D, AS)); in addDecl() 123 for (DeclsTy::iterator I = decls().begin(), E = decls().end(); I != E; ++I) in replace() 140 decls()[I] = decls().back(); in erase() 141 decls().pop_back(); in erase() 145 *I.ir = decls().back(); in erase() 146 decls().pop_back(); in erase() [all …]
|
/external/antlr/antlr-3.4/runtime/Perl5/examples/tweak/ |
D | 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/clang/lib/AST/ |
D | DeclGroup.cpp | 28 DeclGroup::DeclGroup(unsigned numdecls, Decl** decls) : NumDecls(numdecls) { in DeclGroup() argument 30 assert(decls); in DeclGroup() 31 memcpy(this+1, decls, numdecls * sizeof(*decls)); in DeclGroup()
|
/external/antlr/antlr-3.4/runtime/Python/tests/ |
D | t046rewrite.g | 24 decls 27 $body::decls = set() 31 for it in $body::decls: 36 stat: ID '=' expr ';' {$body::decls.add($ID.text);}
|
/external/antlr/antlr-3.4/runtime/JavaScript/tests/functional/ |
D | t046rewrite.g | 24 decls 27 $body::decls = {}; 32 for (it in $body::decls) { 38 stat: ID '=' expr ';' {$body::decls[$ID.text] = true;}
|
/external/v8/test/mjsunit/harmony/ |
D | block-const-assign.js | 97 let decls = [ constDecl0, variable 127 for (var d = 0; d < decls.length; ++d) { 129 Test(decls[d], uses[u]);
|
/external/webkit/Tools/iExploder/iexploder-1.7.2/src/css-atrules/ |
D | webkit | 1 @-webkit-decls 8 @-webkit-variables-decls
|
/external/llvm/test/TableGen/ |
D | foreach.td | 7 class decls { 11 def Decls : decls;
|
D | TargetInstrSpec.td | 67 class decls { 73 def Decls : decls;
|
D | MultiPat.td | 76 class decls { 82 def Decls : decls;
|
/external/yaffs2/ |
D | Android.mk | 14 LOCAL_CFLAGS+= -Wmissing-prototypes -Wredundant-decls -Wnested-externs -Winline
|
/external/bluetooth/hcidump/ |
D | acinclude.m4 | 23 CFLAGS+=" -Wredundant-decls"
|
/external/yaffs2/yaffs2/utils/ |
D | Makefile | 21 CFLAGS+= -Wmissing-prototypes -Wredundant-decls -Wnested-externs -Winline
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CPP/ |
D | 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,… 610 <decls> [all …]
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/JavaScript/ |
D | JavaScript.stg | 500 block(alts,decls,decision,enclosingBlockLevel,blockLevel,decisionNumber,maxK,maxAlt,description) ::… 503 <decls> 515 ruleBlock(alts,decls,decision,enclosingBlockLevel,blockLevel,decisionNumber,maxK,maxAlt,description… 518 <decls> 527 ruleBlockSingleAlt(alts,decls,decision,enclosingBlockLevel,blockLevel,decisionNumber,description) :… 529 <decls> 536 blockSingleAlt(alts,decls,decision,enclosingBlockLevel,blockLevel,decisionNumber,description) ::= << 538 <decls> 545 positiveClosureBlock(alts,decls,decision,enclosingBlockLevel,blockLevel,decisionNumber,maxK,maxAlt,… 548 <decls> [all …]
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Perl5/ |
D | 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,… 569 <decls> [all …]
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ActionScript/ |
D | 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,… 539 <decls> [all …]
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Ruby/ |
D | Ruby.stg | 573 block(alts,decls,decision,enclosingBlockLevel,blockLevel,decisionNumber,maxK,maxAlt,description) ::… 576 <decls> 581 ruleBlock(alts,decls,decision,enclosingBlockLevel,blockLevel,decisionNumber,maxK,maxAlt,description… 584 <decls> 591 ruleBlockSingleAlt(alts,decls,decision,enclosingBlockLevel,blockLevel,decisionNumber,description) :… 592 <decls> 598 blockSingleAlt(alts,decls,decision,enclosingBlockLevel,blockLevel,decisionNumber,description) ::= << 600 <decls> 606 positiveClosureBlock(alts,decls,decision,enclosingBlockLevel,blockLevel,decisionNumber,maxK,maxAlt,… 608 <decls> [all …]
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Python/ |
D | Python.stg | 626 block(alts,decls,decision,enclosingBlockLevel,blockLevel,decisionNumber,maxK,maxAlt,description) ::… 629 <decls> 643 ruleBlock(alts,decls,decision,enclosingBlockLevel,blockLevel,decisionNumber,maxK,maxAlt,description… 646 <decls> 653 ruleBlockSingleAlt(alts,decls,decision,enclosingBlockLevel,blockLevel,decisionNumber,description) :… 655 <decls> 662 blockSingleAlt(alts,decls,decision,enclosingBlockLevel,blockLevel,decisionNumber,description) ::= << 664 <decls> 671 positiveClosureBlock(alts,decls,decision,enclosingBlockLevel,blockLevel,decisionNumber,maxK,maxAlt,… 674 <decls> [all …]
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Scala/ |
D | Scala.stg | 525 block(alts,decls,decision,enclosingBlockLevel,blockLevel,decisionNumber,maxK,maxAlt,description) ::… 528 <decls> 541 ruleBlock(alts,decls,decision,enclosingBlockLevel,blockLevel,decisionNumber,maxK,maxAlt,description… 544 <decls> 554 ruleBlockSingleAlt(alts,decls,decision,enclosingBlockLevel,blockLevel,decisionNumber,description) :… 556 <decls> 563 blockSingleAlt(alts,decls,decision,enclosingBlockLevel,blockLevel,decisionNumber,description) ::= << 565 <decls> 572 positiveClosureBlock(alts,decls,decision,enclosingBlockLevel,blockLevel,decisionNumber,maxK,maxAlt,… 575 <decls> [all …]
|