Home
last modified time | relevance | path

Searched refs:decls (Results 1 – 25 of 565) sorted by relevance

12345678910>>...23

/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DUnresolvedSet.h83 iterator begin() { return iterator(decls().begin()); } in begin()
84 iterator end() { return iterator(decls().end()); } in end()
86 const_iterator begin() const { return const_iterator(decls().begin()); } in begin()
87 const_iterator end() const { return const_iterator(decls().end()); } in end()
89 ArrayRef<DeclAccessPair> pairs() const { return decls(); } in pairs()
96 decls().push_back(DeclAccessPair::make(D, AS)); in addDecl()
103 for (DeclsTy::iterator I = decls().begin(), E = decls().end(); I != E; ++I) in replace()
117 void erase(unsigned I) { decls()[I] = decls().pop_back_val(); } in erase()
119 void erase(iterator I) { *I.I = decls().pop_back_val(); } in erase()
123 void clear() { decls().clear(); } in clear()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/objc/
H A Dobjc-runtime-shared-support.c161 tree decls, *chain = NULL; in build_super_template() local
166 decls = add_field_decl (objc_object_type, "self", &chain); in build_super_template()
172 objc_finish_struct (objc_super_template, decls); in build_super_template()
187 tree decls, *chain = NULL; in build_method_template() local
192 decls = add_field_decl (objc_selector_type, "_cmd", &chain); in build_method_template()
200 objc_finish_struct (_SLT_record, decls); in build_method_template()
209 tree decls, *chain = NULL; in build_method_prototype_template() local
214 decls = add_field_decl (objc_selector_type, "_cmd", &chain); in build_method_prototype_template()
219 objc_finish_struct (proto_record, decls); in build_method_prototype_template()
234 tree array_type, decls, *chain = NULL; in build_method_list_template() local
[all …]
H A Dobjc-next-runtime-abi-02.c375 type = lang_hooks.decls.pushdecl (build_decl (input_location, in next_runtime_02_initialize()
571 tree decls, *chain = NULL; in build_v2_message_ref_templates() local
589 decls = add_field_decl (objc_v2_imp_type, "messenger", &chain); in build_v2_message_ref_templates()
594 objc_finish_struct (objc_v2_message_ref_template, decls); in build_v2_message_ref_templates()
620 objc_finish_struct (objc_v2_super_message_ref_template, decls); in build_v2_message_ref_templates()
662 tree decls, *chain = NULL; in build_v2_class_templates() local
669 decls = add_field_decl (integer_type_node, "flags", &chain); in build_v2_class_templates()
707 objc_finish_struct (objc_v2_class_ro_template, decls); in build_v2_class_templates()
715 decls = add_field_decl (build_pointer_type (objc_v2_class_template), in build_v2_class_templates()
731 objc_finish_struct (objc_v2_class_template, decls); in build_v2_class_templates()
[all …]
H A Dobjc-next-runtime-abi-01.c274 type = lang_hooks.decls.pushdecl (build_decl (input_location, in next_runtime_01_initialize()
424 tree ptype, decls, *chain = NULL; in build_v1_class_template() local
429 decls = add_field_decl (build_pointer_type (objc_class_template), in build_v1_class_template()
484 objc_finish_struct (objc_class_template, decls); in build_v1_class_template()
503 tree ptype, decls, *chain = NULL; in build_v1_category_template() local
508 decls = add_field_decl (string_type_node, "category_name", &chain); in build_v1_category_template()
534 objc_finish_struct (objc_category_template, decls); in build_v1_category_template()
557 tree ptype, decls, *chain = NULL; in build_v1_protocol_template() local
570 decls = add_field_decl (ptype, "isa", &chain); in build_v1_protocol_template()
585 objc_finish_struct (objc_protocol_template, decls); in build_v1_protocol_template()
[all …]
H A Dobjc-gnu-runtime-abi-01.c212 type = lang_hooks.decls.pushdecl (build_decl (input_location, in gnu_runtime_01_initialize()
332 tree decls, *chain = NULL; in build_selector_template() local
337 decls = add_field_decl (objc_selector_type, "sel_id", &chain); in build_selector_template()
342 objc_finish_struct (objc_selector_template, decls); in build_selector_template()
364 tree ptype, decls, *chain = NULL; in build_class_template() local
369 decls = add_field_decl (build_pointer_type (objc_class_template), in build_class_template()
417 objc_finish_struct (objc_class_template, decls); in build_class_template()
431 tree ptype, decls, *chain = NULL; in build_category_template() local
436 decls = add_field_decl (string_type_node, "category_name", &chain); in build_category_template()
451 objc_finish_struct (objc_category_template, decls); in build_category_template()
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/objc/
H A Dobjc-runtime-shared-support.cc161 tree decls, *chain = NULL; in build_super_template() local
166 decls = add_field_decl (objc_object_type, "self", &chain); in build_super_template()
172 objc_finish_struct (objc_super_template, decls); in build_super_template()
187 tree decls, *chain = NULL; in build_method_template() local
192 decls = add_field_decl (objc_selector_type, "_cmd", &chain); in build_method_template()
200 objc_finish_struct (_SLT_record, decls); in build_method_template()
209 tree decls, *chain = NULL; in build_method_prototype_template() local
214 decls = add_field_decl (objc_selector_type, "_cmd", &chain); in build_method_prototype_template()
219 objc_finish_struct (proto_record, decls); in build_method_prototype_template()
234 tree array_type, decls, *chain = NULL; in build_method_list_template() local
[all …]
H A Dobjc-next-runtime-abi-02.cc377 type = lang_hooks.decls.pushdecl (build_decl (input_location, in next_runtime_02_initialize()
573 tree decls, *chain = NULL; in build_v2_message_ref_templates() local
591 decls = add_field_decl (objc_v2_imp_type, "messenger", &chain); in build_v2_message_ref_templates()
596 objc_finish_struct (objc_v2_message_ref_template, decls); in build_v2_message_ref_templates()
622 objc_finish_struct (objc_v2_super_message_ref_template, decls); in build_v2_message_ref_templates()
664 tree decls, *chain = NULL; in build_v2_class_templates() local
671 decls = add_field_decl (integer_type_node, "flags", &chain); in build_v2_class_templates()
709 objc_finish_struct (objc_v2_class_ro_template, decls); in build_v2_class_templates()
717 decls = add_field_decl (build_pointer_type (objc_v2_class_template), in build_v2_class_templates()
733 objc_finish_struct (objc_v2_class_template, decls); in build_v2_class_templates()
[all …]
H A Dobjc-next-runtime-abi-01.cc275 type = lang_hooks.decls.pushdecl (build_decl (input_location, in next_runtime_01_initialize()
425 tree ptype, decls, *chain = NULL; in build_v1_class_template() local
430 decls = add_field_decl (build_pointer_type (objc_class_template), in build_v1_class_template()
485 objc_finish_struct (objc_class_template, decls); in build_v1_class_template()
504 tree ptype, decls, *chain = NULL; in build_v1_category_template() local
509 decls = add_field_decl (string_type_node, "category_name", &chain); in build_v1_category_template()
535 objc_finish_struct (objc_category_template, decls); in build_v1_category_template()
558 tree ptype, decls, *chain = NULL; in build_v1_protocol_template() local
571 decls = add_field_decl (ptype, "isa", &chain); in build_v1_protocol_template()
586 objc_finish_struct (objc_protocol_template, decls); in build_v1_protocol_template()
[all …]
H A Dobjc-gnu-runtime-abi-01.cc212 type = lang_hooks.decls.pushdecl (build_decl (input_location, in gnu_runtime_01_initialize()
332 tree decls, *chain = NULL; in build_selector_template() local
337 decls = add_field_decl (objc_selector_type, "sel_id", &chain); in build_selector_template()
342 objc_finish_struct (objc_selector_template, decls); in build_selector_template()
364 tree ptype, decls, *chain = NULL; in build_class_template() local
369 decls = add_field_decl (build_pointer_type (objc_class_template), in build_class_template()
417 objc_finish_struct (objc_class_template, decls); in build_class_template()
431 tree ptype, decls, *chain = NULL; in build_category_template() local
436 decls = add_field_decl (string_type_node, "category_name", &chain); in build_category_template()
451 objc_finish_struct (objc_category_template, decls); in build_category_template()
[all …]
/netbsd-src/usr.bin/rpcgen/
H A Drpc_clntout.c123 ptype(proc->args.decls->decl.prefix, proc->args.decls->decl.type, 1); in printarglist()
136 if (!streq(proc->args.decls->decl.type, "void")) { in printarglist()
138 for (l = proc->args.decls; l != NULL; l = l->next) in printarglist()
199 if (newstyle && !args2 && (streq(proc->args.decls->decl.type, "void"))) { in printbody()
218 for (l = proc->args.decls; l != NULL; l = l->next) { in printbody()
239 stringfix(proc->args.decls->decl.type), in printbody()
241 (newstyle ? proc->args.decls->decl.name : "argp"), in printbody()
247 stringfix(proc->args.decls->decl.type), in printbody()
249 (newstyle ? proc->args.decls->decl.name : "argp"), in printbody()
H A Drpc_parse.c124 decl_list *decls; in def_struct() local
132 tailp = &defp->def.st.decls; in def_struct()
135 decls = ALLOC(decl_list); in def_struct()
136 decls->decl = dec; in def_struct()
137 *tailp = decls; in def_struct()
138 tailp = &decls->next; in def_struct()
151 decl_list *decls; in def_program() local
164 tailp = &defp->def.st.decls; in def_program()
192 decls = ALLOC(decl_list); in def_program()
193 plist->args.decls = decls; in def_program()
[all …]
H A Drpc_sample.c103 if (streq(proc->args.decls->decl.type, "void")) in write_sample_client()
107 ptype(proc->args.decls->decl.prefix, proc->args.decls->decl.type, 1); in write_sample_client()
111 if (!streq(proc->args.decls->decl.type, "void")) { in write_sample_client()
112 for (l = proc->args.decls; l != NULL; l = l->next) { in write_sample_client()
154 if (streq(proc->args.decls->decl.type, "void")) /* cast to void* */ in write_sample_client()
160 if (streq(proc->args.decls->decl.type, "void")) { in write_sample_client()
164 for (l = proc->args.decls; l != NULL; l = l->next) { in write_sample_client()
H A Drpc_svcout.c311 ptype(proc->args.decls->decl.prefix, in write_real_program()
312 proc->args.decls->decl.type, 0); in write_real_program()
329 if (!streq(proc->args.decls->decl.type, "void")) in write_real_program()
332 for (l = proc->args.decls; l != NULL; l = l->next) in write_real_program()
382 if (streq(proc->args.decls->decl.type, in write_program()
388 ptype(proc->args.decls->decl.prefix, in write_program()
389 proc->args.decls->decl.type, 0); in write_program()
449 p_xdrfunc(ARG, proc->args.decls->decl.type); in write_program()
/netbsd-src/external/apache2/llvm/dist/clang/utils/
H A Dmodfuzz.py25 if i not in model.decls:
28 if i in model.decls:
34 model.decls[i] = True
37 decls = [ variable
70 self.decls = {}
141 model.modules[n] = (model.source, model.decls)
142 (model.source, model.decls) = ('', {})
148 d = random.choice([decl for decl in decls if decl.valid(model)])
159 model.decls.update(model.modules[module_name][1])
/netbsd-src/external/gpl3/gcc.old/dist/gcc/c-family/
H A Dc-gimplify.c183 tree decls, bind; in c_build_bind_expr() local
186 decls = NULL_TREE; in c_build_bind_expr()
188 decls = BLOCK_VARS (block); in c_build_bind_expr()
191 decls = block; in c_build_bind_expr()
192 if (DECL_ARTIFICIAL (decls)) in c_build_bind_expr()
197 BLOCK_VARS (block) = decls; in c_build_bind_expr()
204 if (decls || block) in c_build_bind_expr()
206 bind = build3 (BIND_EXPR, void_type_node, decls, body, block); in c_build_bind_expr()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DDeclGroup.cpp28 DeclGroup::DeclGroup(unsigned numdecls, Decl** decls) : NumDecls(numdecls) { in DeclGroup() argument
30 assert(decls); in DeclGroup()
31 std::uninitialized_copy(decls, decls + numdecls, in DeclGroup()
/netbsd-src/external/apache2/llvm/dist/libcxx/utils/google-benchmark/tools/
H A Dstrip_asm.py23 decls = set()
28 decls.add(m.group(0))
29 if len(decls) == 0:
31 needs_dot = next(iter(decls))[0] != '.'
34 for ld in decls:
/netbsd-src/external/apache2/llvm/dist/llvm/utils/benchmark/tools/
H A Dstrip_asm.py23 decls = set()
28 decls.add(m.group(0))
29 if len(decls) == 0:
31 needs_dot = next(iter(decls))[0] != '.'
34 for ld in decls:
/netbsd-src/external/gpl3/gcc/dist/gcc/d/
H A DChangeLog-201637 * d-decls.cc (mangle_decl): New function.
54 * d-decls.cc (get_symbol_decl): Build DECL_ARGUMENTS for functions
84 * d-decls.cc (layout_moduleinfo_fields): Use finish_aggregate_type
104 * d-decls.cc (copy_struct): Also copy and update TYPE_METHODS.
128 * d-decls.cc (add_moduleinfo_field): New function.
137 * d-decls.cc (copy_struct): New function.
166 * d-decls.cc (get_symbol_decl): Use needsCodegen to determine whether
195 * d-decls.cc (get_symbol_decl): Don't set alignment if
213 * d-decls.cc (make_alias_for_thunk): Call dup_lang_specific_decl.
239 * d-decls.cc (setup_symbol_storage): Remove function.
[all …]
H A DChangeLog-201457 * d-decls.cc (FuncDeclaration::toSymbol): Likewise.
163 * d-decls.cc (FuncDeclaration::toSymbol): Remove workaround for cgraph
187 * d-decls.cc (TypeInfoDeclaration::toSymbol): Add assert that Error
258 * d-decls.cc (FuncDeclaration::toSymbol): Update for glue changes.
271 * d-decls.cc (VarDeclaration::toSymbol): Mark compiler temporaries as
387 * d-decls.cc (Dsymbol::toImport): Prevent GC from collecting
408 * d-decls.cc (Dsymbol::toSymbolX): Set the symbol prettyIdent.
429 * d-decls.cc (VarDeclaration::toSymbol): ... here, and emit them as
438 * d-decls.cc (Dsymbol::toImport): ... here. Build an IMPORTED_DECL for
454 * d-decls.cc (Module::toSymbol): Update call to d_build_module.
[all …]
H A DChangeLog-20117 * d/d-decls.cc, d/d-glue.cc: Issue #301 - ref return funcs returning
17 * d/d-decls.cc, d/d-glue.cc: mark RESULT_DECL as artificial.
52 * d/d-codegen.cc, d/d-decls.cc, d/d-glue.cc, d/d-lang-45.h,
61 * d/asmstmt.cc, d/d-builtins2.cc, d/d-decls.cc, d/d-glue.cc,
67 * d/d-decls.cc: Issue #298 - Array Range Functions Don't Get Inlined
127 * d/d-codegen.cc, d/d-decls.cc, d/d-glue.cc: Better implementation of
152 * d/d-builtins2.cc, d/d-codegen.cc, d/d-decls.cc, d/d-glue.cc,
169 d/d-codegen.cc, d/d-cppmngl.cc, d/d-decls.cc, d/d-dmd-gcc.h,
230 * d/asmstmt.cc, d/d-asm-i386.h, d/d-builtins2.cc, d/d-decls.cc,
244 * d/d-decls.cc: Issue #259 - ICE: constant not recomputed when
[all …]
H A DChangeLog-20128 * d-decls.cc (FuncDeclaration::toSymbol): Likewise.
29 * d-decls.cc (FuncDeclaration::toSymbol): Likewise.
44 * d-decls.cc (FuncDeclaration::toSymbol): Don't optimise PUREconst
54 * d-decls.cc (ClassDeclaration::toSymbol): Use empty RECORD_TYPE to
125 * d-decls.cc (FuncDeclaration::toSymbol): Don't set any pure/nothrow
162 * d-decls.cc (VarDeclaration::toSymbol): Likewise.
290 * d-decls.cc (TypeInfoDeclaration::toSymbol): Mark all typeinfo decls
368 * d-decls.cc (FuncDeclaration::toSymbol): Small readability cleanup.
427 (d_bi_init): Add decls to bi_list_list if recognising built-ins.
456 * d-decls.cc (FuncDeclaration::toSymbol): Use
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/c-family/
H A Dc-gimplify.cc652 tree decls, bind; in c_build_bind_expr() local
655 decls = NULL_TREE; in c_build_bind_expr()
657 decls = BLOCK_VARS (block); in c_build_bind_expr()
660 decls = block; in c_build_bind_expr()
661 if (DECL_ARTIFICIAL (decls)) in c_build_bind_expr()
666 BLOCK_VARS (block) = decls; in c_build_bind_expr()
673 if (decls || block) in c_build_bind_expr()
675 bind = build3 (BIND_EXPR, void_type_node, decls, body, block); in c_build_bind_expr()
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dgenautomata.cc624 decl_t decls [1]; member
1138 static vec<decl_t> decls; variable
1268 decls.safe_push (decl); in gen_cpu_unit()
1298 decls.safe_push (decl); in gen_query_cpu_unit()
1336 decls.safe_push (decl); in gen_bypass()
1379 decls.safe_push (decl); in gen_excl_set()
1438 decls.safe_push (decl); in gen_presence_absence_set()
1509 decls.safe_push (decl); in gen_automaton()
1721 decls.safe_push (decl); in gen_reserv()
1743 decls.safe_push (decl); in gen_insn_reserv()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dgenautomata.c624 decl_t decls [1]; member
1138 static vec<decl_t> decls; variable
1268 decls.safe_push (decl); in gen_cpu_unit()
1298 decls.safe_push (decl); in gen_query_cpu_unit()
1336 decls.safe_push (decl); in gen_bypass()
1379 decls.safe_push (decl); in gen_excl_set()
1438 decls.safe_push (decl); in gen_presence_absence_set()
1509 decls.safe_push (decl); in gen_automaton()
1721 decls.safe_push (decl); in gen_reserv()
1743 decls.safe_push (decl); in gen_insn_reserv()
[all …]

12345678910>>...23