Home
last modified time | relevance | path

Searched refs:class_type (Results 1 – 25 of 55) sorted by relevance

123

/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/python/libstdcxx/v6/
H A Dxmethods.py150 def match(self, class_type, method_name): argument
151 if not re.match('^std::(__\d+::)?array<.*>$', class_type.tag):
157 value_type = class_type.template_argument(0)
158 size = class_type.template_argument(1)
267 def match(self, class_type, method_name): argument
268 if not re.match('^std::(__\d+::)?deque<.*>$', class_type.tag):
273 return method.worker_class(class_type.template_argument(0))
311 def match(self, class_type, method_name): argument
312 if not re.match('^std::(__\d+::)?forward_list<.*>$', class_type.tag):
317 val_type = class_type.template_argument(0)
[all …]
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/python/libstdcxx/v6/
H A Dxmethods.py173 def match(self, class_type, method_name): argument
174 if not is_specialization_of(class_type, 'array'):
180 value_type = class_type.template_argument(0)
181 size = class_type.template_argument(1)
306 def match(self, class_type, method_name): argument
307 if not is_specialization_of(class_type, 'deque'):
312 return method.worker_class(class_type.template_argument(0))
354 def match(self, class_type, method_name): argument
355 if not is_specialization_of(class_type, 'forward_list'):
360 val_type = class_type.template_argument(0)
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dvtable-verify.c326 vtbl_find_mangled_name (tree class_type) in vtbl_find_mangled_name() argument
338 if ((*vtbl_mangled_name_types)[i] == class_type) in vtbl_find_mangled_name()
352 vtbl_register_mangled_name (tree class_type, tree mangled_name) in vtbl_register_mangled_name() argument
364 if (vtbl_find_mangled_name (class_type) == NULL_TREE) in vtbl_register_mangled_name()
366 vec_safe_push (vtbl_mangled_name_types, class_type); in vtbl_register_mangled_name()
374 vtbl_map_get_node (tree class_type) in vtbl_map_get_node() argument
386 gcc_assert (TREE_CODE (class_type) == RECORD_TYPE); in vtbl_map_get_node()
390 class_type_decl = TYPE_NAME (class_type); in vtbl_map_get_node()
449 node->class_info->class_type = base_class_type; in find_or_create_vtbl_map_node()
686 tree class_type = extract_object_class_type in verify_bb_vtables() local
[all …]
H A Dvtable-verify.h75 tree class_type; /* The record_type of the class. */ member
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dvtable-verify.cc326 vtbl_find_mangled_name (tree class_type) in vtbl_find_mangled_name() argument
338 if ((*vtbl_mangled_name_types)[i] == class_type) in vtbl_find_mangled_name()
352 vtbl_register_mangled_name (tree class_type, tree mangled_name) in vtbl_register_mangled_name() argument
364 if (vtbl_find_mangled_name (class_type) == NULL_TREE) in vtbl_register_mangled_name()
366 vec_safe_push (vtbl_mangled_name_types, class_type); in vtbl_register_mangled_name()
374 vtbl_map_get_node (tree class_type) in vtbl_map_get_node() argument
386 gcc_assert (TREE_CODE (class_type) == RECORD_TYPE); in vtbl_map_get_node()
390 class_type_decl = TYPE_NAME (class_type); in vtbl_map_get_node()
449 node->class_info->class_type = base_class_type; in find_or_create_vtbl_map_node()
686 tree class_type = extract_object_class_type in verify_bb_vtables() local
[all …]
H A Dvtable-verify.h75 tree class_type; /* The record_type of the class. */ member
H A Dipa-icf.cc2553 tree class_type in update_hash_by_addr_refs() local
2561 if (TYPE_NAME (class_type) in update_hash_by_addr_refs()
2562 && DECL_ASSEMBLER_NAME_SET_P (TYPE_NAME (class_type)) in update_hash_by_addr_refs()
2564 (class_type)) in update_hash_by_addr_refs()
2567 (DECL_ASSEMBLER_NAME (TYPE_NAME (class_type)))); in update_hash_by_addr_refs()
2572 || type_in_anonymous_namespace_p (class_type)); in update_hash_by_addr_refs()
2573 hstate.add_hwi (TYPE_UID (TYPE_MAIN_VARIANT (class_type))); in update_hash_by_addr_refs()
/netbsd-src/crypto/external/bsd/netpgp/dist/bindings/python/
H A Dnetpgppython.py14 def _swig_setattr_nondynamic(self,class_type,name,value,static=1): argument
20 method = class_type.__swig_setmethods__.get(name,None)
27 def _swig_setattr(self,class_type,name,value): argument
28 return _swig_setattr_nondynamic(self,class_type,name,value,0)
30 def _swig_getattr(self,class_type,name): argument
32 method = class_type.__swig_getmethods__.get(name,None)
/netbsd-src/external/gpl3/gcc/dist/gcc/cp/
H A Dvtable-class-hierarchy.cc657 tree class_type = vtbl_map_nodes_vec[i]->class_info->class_type; in guess_num_vtable_pointers() local
658 for (vtbl = CLASSTYPE_VTABLES (class_type); vtbl; in guess_num_vtable_pointers()
909 tree base_class = current->class_info->class_type; in register_all_pairs()
938 tree class_type = vtbl_class_node->class_info->class_type; in register_all_pairs() local
940 if (class_type in register_all_pairs()
941 && (TREE_CODE (class_type) == RECORD_TYPE)) in register_all_pairs()
945 tree binfo = TYPE_BINFO (class_type); in register_all_pairs()
949 vtable_decl = CLASSTYPE_VTABLES (class_type); in register_all_pairs()
975 register_construction_vtables (base_class, class_type, in register_all_pairs()
1016 output_set_info (current->class_info->class_type, in register_all_pairs()
[all …]
H A Ddecl2.cc2756 tree class_type = NULL_TREE; in determine_visibility() local
2758 class_type = DECL_CONTEXT (decl); in determine_visibility()
2900 if (class_type) in determine_visibility()
2901 determine_visibility_from_class (decl, class_type); in determine_visibility()
2939 determine_visibility_from_class (tree decl, tree class_type) in determine_visibility_from_class() argument
2949 DECL_VISIBILITY (decl) = CLASSTYPE_VISIBILITY (class_type); in determine_visibility_from_class()
2951 = CLASSTYPE_VISIBILITY_SPECIFIED (class_type); in determine_visibility_from_class()
2960 && !CLASSTYPE_VISIBILITY_SPECIFIED (class_type)) in determine_visibility_from_class()
3195 tree class_type = NULL_TREE; in import_export_decl() local
3251 class_type = DECL_CONTEXT (decl); in import_export_decl()
[all …]
H A Ddecl.cc4062 ti.class_p = (tag_type == class_type in build_typename_type()
5260 tree class_type) in warn_misplaced_attr_for_class_type() argument
5262 gcc_assert (OVERLOAD_TYPE_P (class_type)); in warn_misplaced_attr_for_class_type()
5267 "of %q#T", class_type)) in warn_misplaced_attr_for_class_type()
5270 class_type, class_key_or_enum_as_string (class_type)); in warn_misplaced_attr_for_class_type()
10899 build_ptrmem_type (tree class_type, tree member_type) in build_ptrmem_type() argument
10905 member_type = build_memfn_type (member_type, class_type, quals, rqual); in build_ptrmem_type()
10911 return build_offset_type (class_type, member_type); in build_ptrmem_type()
13223 declarator->u.pointer.class_type, in grokdeclarator()
13318 gcc_assert (TREE_CODE (declarator->u.pointer.class_type) in grokdeclarator()
[all …]
H A Dparser.h157 tree class_type; member
/netbsd-src/external/gpl3/gcc.old/dist/gcc/cp/
H A Dvtable-class-hierarchy.c657 tree class_type = vtbl_map_nodes_vec[i]->class_info->class_type; in guess_num_vtable_pointers() local
658 for (vtbl = CLASSTYPE_VTABLES (class_type); vtbl; in guess_num_vtable_pointers()
909 tree base_class = current->class_info->class_type; in register_all_pairs()
938 tree class_type = vtbl_class_node->class_info->class_type; in register_all_pairs() local
940 if (class_type in register_all_pairs()
941 && (TREE_CODE (class_type) == RECORD_TYPE)) in register_all_pairs()
945 tree binfo = TYPE_BINFO (class_type); in register_all_pairs()
949 vtable_decl = CLASSTYPE_VTABLES (class_type); in register_all_pairs()
975 register_construction_vtables (base_class, class_type, in register_all_pairs()
1016 output_set_info (current->class_info->class_type, in register_all_pairs()
[all …]
H A Drepo.c362 repo_export_class_p (const_tree class_type) in repo_export_class_p() argument
366 if (!CLASSTYPE_VTABLES (class_type)) in repo_export_class_p()
371 (DECL_ASSEMBLER_NAME (CLASSTYPE_VTABLES (class_type)))); in repo_export_class_p()
H A Ddecl2.c2547 tree class_type = NULL_TREE; in determine_visibility() local
2549 class_type = DECL_CONTEXT (decl); in determine_visibility()
2691 if (class_type) in determine_visibility()
2692 determine_visibility_from_class (decl, class_type); in determine_visibility()
2731 determine_visibility_from_class (tree decl, tree class_type) in determine_visibility_from_class() argument
2741 DECL_VISIBILITY (decl) = CLASSTYPE_VISIBILITY (class_type); in determine_visibility_from_class()
2743 = CLASSTYPE_VISIBILITY_SPECIFIED (class_type); in determine_visibility_from_class()
2752 && !CLASSTYPE_VISIBILITY_SPECIFIED (class_type)) in determine_visibility_from_class()
3002 tree class_type = NULL_TREE; in import_export_decl() local
3058 class_type = DECL_CONTEXT (decl); in import_export_decl()
[all …]
H A Ddecl.c3863 ti.class_p = (tag_type == class_type in build_typename_type()
4930 tree class_type) in warn_misplaced_attr_for_class_type() argument
4932 gcc_assert (OVERLOAD_TYPE_P (class_type)); in warn_misplaced_attr_for_class_type()
4937 "of %q#T", class_type)) in warn_misplaced_attr_for_class_type()
4940 class_type, class_key_or_enum_as_string (class_type)); in warn_misplaced_attr_for_class_type()
10260 build_ptrmem_type (tree class_type, tree member_type) in build_ptrmem_type() argument
10266 member_type = build_memfn_type (member_type, class_type, quals, rqual); in build_ptrmem_type()
10272 return build_offset_type (class_type, member_type); in build_ptrmem_type()
12527 declarator->u.pointer.class_type, in grokdeclarator()
12622 gcc_assert (TREE_CODE (declarator->u.pointer.class_type) in grokdeclarator()
[all …]
H A Dparser.h148 tree class_type; member
H A Drtti.c172 type_info_type = xref_tag (class_type, get_identifier ("type_info"), in init_rtti_processing()
762 tinfo_ptr = xref_tag (class_type, in build_dynamic_cast_1()
952 real_type = xref_tag (class_type, ti->name, in tinfo_base_init()
H A Dparser.c441 print_node_brief (file, "", default_arg_fn->class_type, 0); in cp_debug_print_unparsed_function()
1523 declarator->u.pointer.class_type = NULL_TREE; in make_pointer_declarator()
1571 make_ptrmem_declarator (cp_cv_quals cv_qualifiers, tree class_type, in make_ptrmem_declarator() argument
1580 declarator->u.pointer.class_type = class_type; in make_ptrmem_declarator()
3949 cp_parser_make_indirect_declarator (enum tree_code code, tree class_type, in cp_parser_make_indirect_declarator() argument
3958 if (class_type == NULL_TREE) in cp_parser_make_indirect_declarator()
3961 return make_ptrmem_declarator (cv_qualifiers, class_type, in cp_parser_make_indirect_declarator()
3963 else if (code == ADDR_EXPR && class_type == NULL_TREE) in cp_parser_make_indirect_declarator()
3966 else if (code == NON_LVALUE_EXPR && class_type == NULL_TREE) in cp_parser_make_indirect_declarator()
6783 type_p ? class_type : none_type, in cp_parser_qualifying_entity()
[all …]
H A Dfriend.c370 = make_typename_type (ctype, name, class_type, tf_error); in make_friend_class()
/netbsd-src/external/bsd/libc++/dist/libcxxrt/src/
H A Dlibelftc_dem_gnu3.c102 struct vector_str class_type; member
670 vector_str_dest(&d->class_type); in cpp_demangle_data_dest()
689 if (!vector_str_init(&d->class_type)) in cpp_demangle_data_init()
697 assert(d->class_type.container != NULL); in cpp_demangle_data_init()
716 vector_str_dest(&d->class_type); in cpp_demangle_data_init()
1644 const char *class_type; in cpp_demangle_read_function() local
1694 if ((class_type_size = ddata->class_type.size) == 0) in cpp_demangle_read_function()
1696 class_type = in cpp_demangle_read_function()
1697 ddata->class_type.container[class_type_size - 1]; in cpp_demangle_read_function()
1698 if (class_type == NULL) in cpp_demangle_read_function()
[all …]
/netbsd-src/external/mit/isl/dist/interface/
H A Dcpp.h138 virtual std::string class_type(const std::string &cpp_name) const;
167 bool is_subclass(QualType subclass_type, const isl_class &class_type);
H A Dcpp.cc645 os << type_printer.class_type(cppstring) << "::"; in print_method_header()
821 std::string cpp_type_printer::class_type(const std::string &cpp_name) const in class_type() function in cpp_type_printer
880 const isl_class &class_type) in is_subclass() argument
897 if (&class_type == candidate) in is_subclass()
/netbsd-src/external/gpl3/binutils/dist/binutils/
H A Dstabs.c2912 debug_type class_type, return_type; in parse_stab_members() local
2914 class_type = stab_find_type (dhandle, info, typenums); in parse_stab_members()
2915 if (class_type == DEBUG_TYPE_NULL) in parse_stab_members()
2923 type = parse_stab_argtypes (dhandle, info, class_type, name, in parse_stab_members()
3001 debug_type class_type, const char *fieldname, in parse_stab_argtypes() argument
3089 return debug_make_method_type (dhandle, return_type, class_type, args, in parse_stab_argtypes()
3097 return debug_make_method_type (dhandle, return_type, class_type, args, in parse_stab_argtypes()
4808 debug_type class_type = DEBUG_TYPE_NULL; in stab_demangle_type() local
4832 class_type = stab_find_tagged_type (minfo->dhandle, in stab_demangle_type()
4836 if (class_type == DEBUG_TYPE_NULL) in stab_demangle_type()
[all …]
/netbsd-src/external/gpl3/binutils.old/dist/binutils/
H A Dstabs.c2890 debug_type class_type, return_type; in parse_stab_members() local
2892 class_type = stab_find_type (dhandle, info, typenums); in parse_stab_members()
2893 if (class_type == DEBUG_TYPE_NULL) in parse_stab_members()
2901 type = parse_stab_argtypes (dhandle, info, class_type, name, in parse_stab_members()
2974 debug_type class_type, const char *fieldname, in parse_stab_argtypes() argument
3062 return debug_make_method_type (dhandle, return_type, class_type, args, in parse_stab_argtypes()
3070 return debug_make_method_type (dhandle, return_type, class_type, args, in parse_stab_argtypes()
4809 debug_type class_type = DEBUG_TYPE_NULL; in stab_demangle_type() local
4833 class_type = stab_find_tagged_type (minfo->dhandle, in stab_demangle_type()
4837 if (class_type == DEBUG_TYPE_NULL) in stab_demangle_type()
[all …]

123