/external/llvm/test/TableGen/ |
foreach.td | 6 class decls { 10 def Decls : decls; 16 class B<list<string> names> : A<!foreach(Decls.name, names, !strconcat(Decls.name, ", Sr."))>; 18 class C<list<string> names> : A<!foreach(Decls.name, names, !strconcat(Decls.name, ", Jr."))>; 20 class D<list<string> names> : A<!foreach(Decls.name, names, !subst("NAME", "John Smith", Decls.name))>;
|
TargetInstrSpec.td | 66 class decls { 72 def Decls : decls; 82 !foreach(Decls.pattern, patterns, 83 !foreach(Decls.operand, Decls.pattern, 85 !subst(REGCLASS, VR128, Decls.operand))))>; 89 !foreach(Decls.pattern, patterns, 90 !foreach(Decls.operand, Decls.pattern, [all...] |
MultiPat.td | 75 class decls { 81 def Decls : decls; 94 !foreach(Decls.pattern, patterns[0], 95 !foreach(Decls.operand, Decls.pattern, 98 !subst(MNEMONIC, set, Decls.operand)))))>, 99 MakePat<!foreach(Decls.pattern, patterns[1], 100 !foreach(Decls.operand, Decls.pattern, [all...] |
/external/clang/include/clang/AST/ |
ASTUnresolvedSet.h | 26 DeclsTy Decls; 33 ASTUnresolvedSet(ASTContext &C, unsigned N) : Decls(C, N) {} 38 iterator begin() { return iterator(Decls.begin()); } 39 iterator end() { return iterator(Decls.end()); } 41 const_iterator begin() const { return const_iterator(Decls.begin()); } 42 const_iterator end() const { return const_iterator(Decls.end()); } 45 Decls.push_back(DeclAccessPair::make(D, AS), C); 52 for (DeclsTy::iterator I = Decls.begin(), E = Decls.end(); I != E; ++I) { 62 Decls[I] = Decls.back() [all...] |
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/JavaScript/tests/functional/ |
t046rewrite.g | 24 decls 27 $body::decls = {}; 32 for (it in $body::decls) { 38 stat: ID '=' expr ';' {$body::decls[$ID.text] = true;}
|
/external/antlr/antlr-3.4/runtime/Python/tests/ |
t046rewrite.g | 24 decls 27 $body::decls = set() 31 for it in $body::decls: 36 stat: ID '=' expr ';' {$body::decls.add($ID.text);}
|
/external/clang/test/PCH/ |
cxx-required-decls.h | 1 // Header for PCH test cxx-required-decls.cpp
|
cxx-required-decls.cpp | 2 // RUN: %clang_cc1 -include %S/cxx-required-decls.h %s -emit-llvm -o - | FileCheck %s 5 // RUN: %clang_cc1 -x c++-header -emit-pch -o %t %S/cxx-required-decls.h
|
/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/clang/test/Index/ |
load-decls.c | 10 // CHECK: load-decls.c:1:6: EnumDecl=Color:1:6 (Definition) Extent=[1:1 - 7:2] 11 // CHECK: load-decls.c:2:3: EnumConstantDecl=Red:2:3 (Definition) Extent=[2:3 - 2:6] 12 // CHECK: load-decls.c:3:3: EnumConstantDecl=Green:3:3 (Definition) Extent=[3:3 - 3:8] 13 // CHECK: load-decls.c:4:3: EnumConstantDecl=Blue:4:3 (Definition) Extent=[4:3 - 4:7] 14 // CHECK: load-decls.c:6:3: EnumConstantDecl=Rouge:6:3 (Definition) Extent=[6:3 - 6:14] 15 // CHECK: load-decls.c:6:11: DeclRefExpr=Red:2:3 Extent=[6:11 - 6:14]
|
/external/libsepol/tests/ |
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-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-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...] |
/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/test/CodeGen/ |
emit-all-decls.c | 3 // RUN: %clang_cc1 -femit-all-decls -emit-llvm -o %t %s
|
merge-statics.c | 3 // The two decls for 'a' should merge into one llvm GlobalVariable.
|
/external/clang/test/SemaCXX/ |
friend-class-nodecl.cpp | 4 // Tests that the tag decls in friend declarations aren't added to the
|
/external/llvm/test/Assembler/ |
global-addrspace-forwardref.ll | 3 ; Make sure the address space of forward decls is preserved
|
/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/llvm/lib/DebugInfo/ |
DWARFDebugAbbrev.cpp | 23 Decls.push_back(abbrevDeclaration); 36 for (unsigned i = 0, e = Decls.size(); i != e; ++i) 37 Decls[i].dump(OS); 45 DWARFAbbreviationDeclarationCollConstIter end = Decls.end(); 46 for (pos = Decls.begin(); pos != end; ++pos) { 52 if (idx < Decls.size()) 53 return &Decls[idx];
|
/external/chromium_org/v8/test/webkit/fast/js/kde/ |
func-decl-expected.txt | 32 PASS function decls have no execution content 36 PASS function decls have no execution content 40 PASS function decls have no execution content
|
/external/clang/test/Sema/ |
builtins-decl.c | 5 // mingw-w64's intrin.h has decls below.
|
/external/yaffs2/ |
Android.mk | 14 LOCAL_CFLAGS+= -Wmissing-prototypes -Wredundant-decls -Wnested-externs -Winline
|
/external/clang/include/clang/Sema/ |
IdentifierResolver.h | 32 /// IdentifierResolver - Keeps track of shadowed decls on enclosing 37 /// IdDeclInfo - Keeps track of information about decls associated 45 inline DeclsTy::iterator decls_begin() { return Decls.begin(); } 46 inline DeclsTy::iterator decls_end() { return Decls.end(); } 48 void AddDecl(NamedDecl *D) { Decls.push_back(D); } 56 Decls.insert(Pos, D); 60 DeclsTy Decls; 65 /// iterator - Iterate over the decls of a specified declaration name. 78 /// 2) A IdDeclInfo::DeclsTy::iterator that traverses only the decls of the 80 /// 3) A IdDeclInfo::DeclsTy::iterator that traverses the decls of paren [all...] |