Lines Matching refs:chain
98 add_field_decl (tree type, const char *name, tree **chain) in add_field_decl() argument
102 if (*chain != NULL) in add_field_decl()
103 **chain = field; in add_field_decl()
104 *chain = &DECL_CHAIN (field); in add_field_decl()
161 tree decls, *chain = NULL; in build_super_template() local
166 decls = add_field_decl (objc_object_type, "self", &chain); in build_super_template()
170 "super_class", &chain); 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()
195 add_field_decl (string_type_node, "method_types", &chain); in build_method_template()
198 add_field_decl (build_pointer_type (void_type_node), "_imp", &chain); 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()
217 add_field_decl (string_type_node, "method_types", &chain); in build_method_prototype_template()
234 tree array_type, decls, *chain = NULL; in build_method_list_template() local
239 decls = add_field_decl (objc_method_proto_list_ptr, "method_next", &chain); in build_method_list_template()
242 add_field_decl (integer_type_node, "method_count", &chain); in build_method_list_template()
246 add_field_decl (array_type, "method_list", &chain); in build_method_list_template()
265 tree array_type, decls, *chain = NULL; in build_method_prototype_list_template() local
272 decls = add_field_decl (integer_type_node, "method_count", &chain); in build_method_prototype_list_template()
276 add_field_decl (array_type, "method_list", &chain); in build_method_prototype_list_template()
295 tree *chain, decl, type; in add_objc_string() local
301 chain = &class_names_chain; in add_objc_string()
305 chain = &meth_var_names_chain; in add_objc_string()
309 chain = &meth_var_types_chain; in add_objc_string()
313 chain = &prop_names_attr_chain; in add_objc_string()
320 while (*chain) in add_objc_string()
322 if (TREE_VALUE (*chain) == ident) in add_objc_string()
325 ADDR_EXPR, TREE_PURPOSE (*chain), 1)); in add_objc_string()
327 chain = &TREE_CHAIN (*chain); in add_objc_string()
335 *chain = tree_cons (decl, ident, NULL_TREE); in add_objc_string()
476 tree decls, *chain = NULL; in build_module_descriptor() local
485 decls = add_field_decl (long_integer_type_node, "version", &chain); in build_module_descriptor()
488 add_field_decl (long_integer_type_node, "size", &chain); in build_module_descriptor()
491 add_field_decl (string_type_node, "name", &chain); in build_module_descriptor()
496 "symtab", &chain); in build_module_descriptor()
568 tree array_type, decls, *chain = NULL; in build_ivar_list_template() local
573 decls = add_field_decl (integer_type_node, "ivar_count", &chain); in build_ivar_list_template()
577 add_field_decl (array_type, "ivar_list", &chain); in build_ivar_list_template()
594 tree decls, *chain = NULL; in build_ivar_template() local
600 decls = add_field_decl (string_type_node, "ivar_name", &chain); in build_ivar_template()
603 add_field_decl (string_type_node, "ivar_type", &chain); in build_ivar_template()
606 add_field_decl (integer_type_node, "ivar_offset", &chain); in build_ivar_template()
617 tree chain; in build_next_selector_translation_table() local
618 for (chain = sel_ref_chain; chain; chain = TREE_CHAIN (chain)) in build_next_selector_translation_table()
621 tree decl = TREE_PURPOSE (chain); in build_next_selector_translation_table()
629 diagnose_missing_method (TREE_VALUE (chain), loc); in build_next_selector_translation_table()
632 expr = build_selector (TREE_VALUE (chain)); in build_next_selector_translation_table()
678 tree chain, string_expr; in generate_strings() local
681 for (chain = class_names_chain; chain; chain = TREE_CHAIN (chain)) in generate_strings()
683 string = TREE_VALUE (chain); in generate_strings()
684 decl = TREE_PURPOSE (chain); in generate_strings()
690 for (chain = meth_var_names_chain; chain; chain = TREE_CHAIN (chain)) in generate_strings()
692 string = TREE_VALUE (chain); in generate_strings()
693 decl = TREE_PURPOSE (chain); in generate_strings()
699 for (chain = meth_var_types_chain; chain; chain = TREE_CHAIN (chain)) in generate_strings()
701 string = TREE_VALUE (chain); in generate_strings()
702 decl = TREE_PURPOSE (chain); in generate_strings()
708 for (chain = prop_names_attr_chain; chain; chain = TREE_CHAIN (chain)) in generate_strings()
710 string = TREE_VALUE (chain); in generate_strings()
711 decl = TREE_PURPOSE (chain); in generate_strings()