/external/selinux/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, const 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[3]; 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, const 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 std::uninitialized_copy(decls, decls + numdecls,
|
/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/include/clang/AST/ |
UnresolvedSet.h | 76 iterator begin() { return iterator(decls().begin()); } 77 iterator end() { return iterator(decls().end()); } 79 const_iterator begin() const { return const_iterator(decls().begin()); } 80 const_iterator end() const { return const_iterator(decls().end()); } 87 decls().push_back(DeclAccessPair::make(D, AS)); 94 for (DeclsTy::iterator I = decls().begin(), E = decls().end(); I != E; ++I) 108 void erase(unsigned I) { decls()[I] = decls().pop_back_val(); } 110 void erase(iterator I) { *I.I = decls().pop_back_val(); 128 DeclsTy &decls() { function in class:clang::UnresolvedSetImpl 131 const DeclsTy &decls() const { function in class:clang::UnresolvedSetImpl [all...] |
/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}
|
/prebuilts/go/darwin-x86/test/ |
clearfat.go | 21 var decls, calls bytes.Buffer 25 decls.WriteString(strings.Replace(decl, "$", s, -1)) 29 program = strings.Replace(program, "$DECLS", decls.String(), 1) 38 $DECLS
|
/prebuilts/go/linux-x86/test/ |
clearfat.go | 21 var decls, calls bytes.Buffer 25 decls.WriteString(strings.Replace(decl, "$", s, -1)) 29 program = strings.Replace(program, "$DECLS", decls.String(), 1) 38 $DECLS
|
/external/mesa3d/src/glsl/tests/ |
sexps.py | 95 decls = [] 99 decls.append(s) 102 return sorted(decls) + other_code
|
/external/clang/utils/ |
modfuzz.py | 4 # 1) Update the 'decls' list below with your fuzzing configuration. 24 if i not in model.decls: 27 if i in model.decls: 33 model.decls[i] = True 36 decls = [ variable 69 self.decls = {} 140 model.modules[n] = (model.source, model.decls) 141 (model.source, model.decls) = ('', {}) 147 d = random.choice([decl for decl in decls if decl.valid(model)]) 158 model.decls.update(model.modules[module_name][1] [all...] |
/external/protobuf/src/google/protobuf/compiler/cpp/ |
cpp_file.h | 95 // Internal helper used by GenerateForwardDeclarations: fills 'decls' 98 void FillForwardDeclarations(ForwardDeclarations* decls); 126 void FillMessageForwardDeclarations(ForwardDeclarations* decls); 127 void FillMessageDefinitions(ForwardDeclarations* decls); 131 void FillEnumForwardDeclarations(ForwardDeclarations* decls);
|
/external/v8/tools/clang/blink_gc_plugin/ |
CheckDispatchVisitor.cpp | 31 for (Decl* decl : member->decls()) {
|
/prebuilts/go/darwin-x86/test/fixedbugs/ |
issue15838.go | 9 // label decls, goto, continue, break, and fallthrough
|
bug449.go | 31 var decls, calls bytes.Buffer 35 decls.WriteString(strings.Replace(decl, "$", s, -1)) 39 program = strings.Replace(program, "$DECLS", decls.String(), 1) 54 $DECLS
|
/prebuilts/go/linux-x86/test/fixedbugs/ |
issue15838.go | 9 // label decls, goto, continue, break, and fallthrough
|
bug449.go | 31 var decls, calls bytes.Buffer 35 decls.WriteString(strings.Replace(decl, "$", s, -1)) 39 program = strings.Replace(program, "$DECLS", decls.String(), 1) 54 $DECLS
|
/art/test/701-easy-div-rem/ |
genMain.py | 47 # Generate all the function bodies (in decls) and all the function calls (in calls). 48 decls, calls = '', {} 60 decls += subst_vars(local_vars, ''' 167 ''' % (checkers, decls, calls['int'], calls['long'])
|
/external/libdaemon/libdaemon/ |
Android.mk | 21 # -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls
|
/external/clang/lib/Serialization/ |
ASTCommon.h | 97 for (Decl *LexicalD : DC->decls()) {
|
/external/ltp/tools/top-LTP/ |
Makefile | 17 -W -Wall -Wshadow -Wcast-align -Wredundant-decls \
|
/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_)
|
/frameworks/base/tools/aapt2/link/ |
ReferenceLinker.h | 104 SymbolTable* symbols, xml::IPackageDeclStack* decls);
|
/prebuilts/go/darwin-x86/src/go/ast/ |
filter.go | 235 for _, d := range src.Decls { 237 src.Decls[j] = d 241 src.Decls = src.Decls[0:j] 331 ndecls += len(f.Decls) 368 var decls []Decl 370 decls = make([]Decl, ndecls) 371 funcs := make(map[string]int) // map of func name -> decls index 376 for _, d := range f.Decls { 391 if decls[j] != nil && decls[j].(*FuncDecl).Doc == nil [all...] |