/dragonfly/contrib/gcc-8.0/gcc/cp/ |
H A D | class.c | 1648 basetype, t); in check_bases() 1721 (TREE_TYPE (field), basetype))) in check_bases() 4212 if (is_empty_class (basetype)) in build_base_field_1() 4249 if (!COMPLETE_TYPE_P (basetype)) in build_base_field() 4255 if (!is_empty_class (basetype)) in build_base_field() 4469 tree basetype; in build_clone() local 5442 basetype, t); in explain_non_literal_class() 5583 basetype); in check_bases_and_members() 5904 tree basetype; in warn_about_ambiguous_bases() local 5920 basetype, t); in warn_about_ambiguous_bases() [all …]
|
H A D | cvt.c | 1664 tree basetype = TREE_TYPE (expr); in build_expr_type_conversion() local 1679 if (basetype == error_mark_node) in build_expr_type_conversion() 1682 if (! MAYBE_CLASS_TYPE_P (basetype)) in build_expr_type_conversion() 1683 switch (TREE_CODE (basetype)) in build_expr_type_conversion() 1709 switch (TREE_CODE (TREE_TYPE (basetype))) in build_expr_type_conversion() 1728 if (!complete_type_or_maybe_complain (basetype, expr, complain)) in build_expr_type_conversion() 1730 if (!TYPE_HAS_CONVERSION (basetype)) in build_expr_type_conversion() 1733 for (conv = lookup_conversions (basetype); conv; conv = TREE_CHAIN (conv)) in build_expr_type_conversion() 1807 basetype); in build_expr_type_conversion()
|
H A D | typeck2.c | 45 error_not_base_type (tree basetype, tree type) in error_not_base_type() argument 47 if (TREE_CODE (basetype) == FUNCTION_DECL) in error_not_base_type() 48 basetype = DECL_CONTEXT (basetype); in error_not_base_type() 49 error ("type %qT is not a base type for type %qT", basetype, type); in error_not_base_type() 1791 build_scoped_ref (tree datum, tree basetype, tree* binfo_p) in build_scoped_ref() argument 1800 binfo = lookup_base (TREE_TYPE (datum), basetype, ba_check, in build_scoped_ref() 1807 error_not_base_type (basetype, TREE_TYPE (datum)); in build_scoped_ref()
|
H A D | decl.c | 13972 && CLASS_TYPE_P (basetype) && TYPE_BEING_DEFINED (basetype)) in xref_basetypes() 13983 if (CLASS_TYPE_P (basetype)) in xref_basetypes() 14053 basetype = PACK_EXPANSION_PATTERN (basetype); in xref_basetypes() 14055 basetype = TREE_TYPE (basetype); in xref_basetypes() 14056 if (!MAYBE_CLASS_TYPE_P (basetype) || TREE_CODE (basetype) == UNION_TYPE) in xref_basetypes() 14059 basetype); in xref_basetypes() 14064 if (CLASS_TYPE_P (basetype) && !dependent_scope_p (basetype)) in xref_basetypes() 14085 if (TYPE_MARKED_P (basetype)) in xref_basetypes() 14087 if (basetype == ref) in xref_basetypes() 14096 basetype = make_pack_expansion (basetype); in xref_basetypes() [all …]
|
H A D | init.c | 1537 tree basetype; in expand_member_init() local 1554 basetype = BINFO_TYPE in expand_member_init() 1565 basetype = TYPE_MAIN_VARIANT (name); in expand_member_init() 1569 basetype = TYPE_MAIN_VARIANT (TREE_TYPE (name)); in expand_member_init() 1571 basetype = NULL_TREE; in expand_member_init() 1573 if (basetype) in expand_member_init() 1581 || same_type_p (basetype, current_class_type)) in expand_member_init() 1582 return basetype; in expand_member_init() 1606 basetype); in expand_member_init() 1614 basetype, current_class_type); in expand_member_init() [all …]
|
H A D | call.c | 227 check_dtor_name (tree basetype, tree name) in check_dtor_name() argument 239 if ((MAYBE_CLASS_TYPE_P (basetype) in check_dtor_name() 240 || TREE_CODE (basetype) == ENUMERAL_TYPE) in check_dtor_name() 241 && name == constructor_name (basetype)) in check_dtor_name() 9059 tree basetype = NULL_TREE; in build_new_method_call_1() local 9115 gcc_assert (CLASS_TYPE_P (basetype)); in build_new_method_call_1() 9125 basetype = DECL_CONTEXT (fn); in build_new_method_call_1() 9126 name = constructor_name (basetype); in build_new_method_call_1() 9129 basetype, name)) in build_new_method_call_1() 9173 && CLASSTYPE_VBASECLASSES (basetype)) in build_new_method_call_1() [all …]
|
/dragonfly/contrib/gcc-4.7/gcc/cp/ |
H A D | class.c | 1293 basetype, t); in check_bases() 1365 (TREE_TYPE (field), basetype))) in check_bases() 3864 if (!COMPLETE_TYPE_P (basetype)) in build_base_field() 3870 if (!is_empty_class (basetype)) in build_base_field() 4082 tree basetype; in build_clone() local 4963 basetype, t); in explain_non_literal_class() 5349 basetype); in layout_virtual_bases() 5433 tree basetype; in warn_about_ambiguous_bases() local 5449 basetype, t); in warn_about_ambiguous_bases() 5457 basetype = BINFO_TYPE (binfo); in warn_about_ambiguous_bases() [all …]
|
H A D | cvt.c | 1464 tree basetype = TREE_TYPE (expr); in build_expr_type_conversion() local 1474 basetype = TREE_TYPE (expr); in build_expr_type_conversion() 1476 if (basetype == error_mark_node) in build_expr_type_conversion() 1479 if (! MAYBE_CLASS_TYPE_P (basetype)) in build_expr_type_conversion() 1480 switch (TREE_CODE (basetype)) in build_expr_type_conversion() 1505 switch (TREE_CODE (TREE_TYPE (basetype))) in build_expr_type_conversion() 1524 if (!complete_type_or_maybe_complain (basetype, expr, complain)) in build_expr_type_conversion() 1526 if (!TYPE_HAS_CONVERSION (basetype)) in build_expr_type_conversion() 1529 for (conv = lookup_conversions (basetype); conv; conv = TREE_CHAIN (conv)) in build_expr_type_conversion() 1597 basetype); in build_expr_type_conversion()
|
H A D | method.c | 1264 tree basetype = BINFO_TYPE (base_binfo); in synthesized_method_walk() local 1266 argtype = build_stub_type (basetype, quals, move_p); in synthesized_method_walk() 1270 constexpr_p, no_implicit_p, msg, basetype); in synthesized_method_walk() 1271 if (ctor_p && TYPE_HAS_NONTRIVIAL_DESTRUCTOR (basetype)) in synthesized_method_walk() 1284 basetype); in synthesized_method_walk() 1287 if (check_vdtor && type_has_virtual_destructor (basetype)) in synthesized_method_walk() 1318 tree basetype = BINFO_TYPE (base_binfo); in synthesized_method_walk() local 1320 argtype = build_stub_type (basetype, quals, move_p); in synthesized_method_walk() 1324 constexpr_p, no_implicit_p, msg, basetype); in synthesized_method_walk() 1325 if (ctor_p && TYPE_HAS_NONTRIVIAL_DESTRUCTOR (basetype)) in synthesized_method_walk() [all …]
|
H A D | typeck2.c | 49 error_not_base_type (tree basetype, tree type) in error_not_base_type() argument 51 if (TREE_CODE (basetype) == FUNCTION_DECL) in error_not_base_type() 52 basetype = DECL_CONTEXT (basetype); in error_not_base_type() 53 error ("type %qT is not a base type for type %qT", basetype, type); in error_not_base_type() 1436 build_scoped_ref (tree datum, tree basetype, tree* binfo_p) in build_scoped_ref() argument 1445 binfo = lookup_base (TREE_TYPE (datum), basetype, ba_check, NULL); in build_scoped_ref() 1451 error_not_base_type (basetype, TREE_TYPE (datum)); in build_scoped_ref()
|
H A D | init.c | 1327 tree basetype; in expand_member_init() local 1344 basetype = BINFO_TYPE in expand_member_init() 1355 basetype = TYPE_MAIN_VARIANT (name); in expand_member_init() 1359 basetype = TYPE_MAIN_VARIANT (TREE_TYPE (name)); in expand_member_init() 1361 basetype = NULL_TREE; in expand_member_init() 1363 if (basetype) in expand_member_init() 1370 if (same_type_p (basetype, current_class_type) in expand_member_init() 1372 return basetype; in expand_member_init() 1396 basetype); in expand_member_init() 1404 basetype, current_class_type); in expand_member_init() [all …]
|
H A D | decl.c | 11846 if (CLASS_TYPE_P (basetype)) in xref_basetypes() 11915 if (PACK_EXPANSION_P (basetype)) in xref_basetypes() 11916 basetype = PACK_EXPANSION_PATTERN (basetype); in xref_basetypes() 11918 basetype = TREE_TYPE (basetype); in xref_basetypes() 11919 if (!MAYBE_CLASS_TYPE_P (basetype) || TREE_CODE (basetype) == UNION_TYPE) in xref_basetypes() 11922 basetype); in xref_basetypes() 11930 if (CLASS_TYPE_P (basetype) && !dependent_scope_p (basetype)) in xref_basetypes() 11951 if (TYPE_MARKED_P (basetype)) in xref_basetypes() 11953 if (basetype == ref) in xref_basetypes() 11962 basetype = make_pack_expansion (basetype); in xref_basetypes() [all …]
|
H A D | call.c | 224 check_dtor_name (tree basetype, tree name) in check_dtor_name() argument 236 if ((MAYBE_CLASS_TYPE_P (basetype) in check_dtor_name() 237 && name == constructor_name (basetype)) in check_dtor_name() 238 || (TREE_CODE (basetype) == ENUMERAL_TYPE in check_dtor_name() 239 && name == TYPE_IDENTIFIER (basetype))) in check_dtor_name() 7074 tree basetype = NULL_TREE; in build_new_method_call_1() local 7130 gcc_assert (CLASS_TYPE_P (basetype)); in build_new_method_call_1() 7150 basetype, name); in build_new_method_call_1() 7174 && CLASSTYPE_VBASECLASSES (basetype)) in build_new_method_call_1() 7264 if (!COMPLETE_OR_OPEN_TYPE_P (basetype)) in build_new_method_call_1() [all …]
|
/dragonfly/contrib/gdb-7/gdb/ |
H A D | gnu-v2-abi.c | 297 vb_match (struct type *type, int index, struct type *basetype) in vb_match() argument 328 if (TYPE_TARGET_TYPE (fieldtype) == basetype) in vb_match() 331 if (TYPE_NAME (basetype) != NULL in vb_match() 333 && strcmp (TYPE_NAME (basetype), in vb_match() 349 struct type *basetype = TYPE_BASECLASS (type, index); in gnuv2_baseclass_offset() local 361 if (vb_match (type, i, basetype)) in gnuv2_baseclass_offset()
|
H A D | valops.c | 2116 v2 = allocate_value (basetype); in do_search_struct_field() 2120 TYPE_LENGTH (basetype)) != 0) in do_search_struct_field() 2150 basetype, looking_for_baseclass, in do_search_struct_field() 2438 struct type **basetype, int *boffset) in find_method_list() argument 2458 *basetype = type; in find_method_list() 2487 basetype, boffset); in find_method_list() 2529 basetype, boffset); in value_find_oload_method_list() 2596 struct type *basetype = NULL; in find_overload_match() local 2635 &basetype, &boffset); in find_overload_match() 2810 basetype, boffset); in find_overload_match() [all …]
|
H A D | gnu-v3-abi.c | 496 struct type *basetype; in gnuv3_find_method_in() local 502 basetype = TYPE_FIELD_TYPE (domain, i); in gnuv3_find_method_in() 505 if (adjustment >= pos && adjustment < pos + TYPE_LENGTH (basetype)) in gnuv3_find_method_in() 506 return gnuv3_find_method_in (basetype, voffset, adjustment - pos); in gnuv3_find_method_in()
|
H A D | c-typeprint.c | 942 struct type *basetype; in c_type_print_base() local 1052 vptr_fieldno = get_vptr_fieldno (type, &basetype); in c_type_print_base() 1060 if ((i == vptr_fieldno && type == basetype) in c_type_print_base()
|
H A D | varobj.c | 3635 struct type *basetype = NULL; in cplus_class_num_children() local 3641 vptr_fieldno = get_vptr_fieldno (type, &basetype); in cplus_class_num_children() 3647 if ((type == basetype && i == vptr_fieldno) in cplus_class_num_children() 3735 struct type *basetype = NULL; in cplus_describe_child() local 3738 vptr_fieldno = get_vptr_fieldno (type, &basetype); in cplus_describe_child() 3746 if ((type == basetype && type_index == vptr_fieldno) in cplus_describe_child()
|
H A D | ax-gdb.c | 390 struct type *basetype = check_typedef (TYPE_BASECLASS (type, i)); in gen_trace_static_fields() local 392 gen_trace_static_fields (gdbarch, ax, basetype); in gen_trace_static_fields() 1510 struct type *basetype = check_typedef (TYPE_BASECLASS (type, i)); in gen_struct_ref_recursive() local 1515 basetype); in gen_struct_ref_recursive()
|
H A D | gdbtypes.c | 1457 struct type *basetype; in get_vptr_fieldno() local 1459 fieldno = get_vptr_fieldno (baseclass, &basetype); in get_vptr_fieldno() 1464 if (TYPE_OBJFILE (type) == TYPE_OBJFILE (basetype)) in get_vptr_fieldno() 1467 TYPE_VPTR_BASETYPE (type) = basetype; in get_vptr_fieldno() 1470 *basetypep = basetype; in get_vptr_fieldno()
|
/dragonfly/contrib/gcc-8.0/gcc/ |
H A D | gimple-ssa-warn-restrict.c | 266 tree basetype = TREE_TYPE (base); in builtin_memref() local 267 if (DECL_P (base) && TREE_CODE (basetype) == ARRAY_TYPE) in builtin_memref() 277 else if (tree basesize = TYPE_SIZE_UNIT (basetype)) in builtin_memref() 933 tree basetype = TREE_TYPE (dstref->base); in generic_overlap() local 935 if (POINTER_TYPE_P (basetype)) in generic_overlap() 936 basetype = TREE_TYPE (basetype); in generic_overlap() 938 while (TREE_CODE (basetype) == ARRAY_TYPE) in generic_overlap() 939 basetype = TREE_TYPE (basetype); in generic_overlap() 941 if (RECORD_OR_UNION_TYPE_P (basetype)) in generic_overlap()
|
/dragonfly/contrib/tcpdump/ |
H A D | print-snmp.c | 889 SmiBasetype basetype; member 946 static int smi_check_type(SmiBasetype basetype, int be) in smi_check_type() argument 950 for (i = 0; smi2betab[i].basetype != SMI_BASETYPE_UNKNOWN; i++) { in smi_check_type() 951 if (smi2betab[i].basetype == basetype && smi2betab[i].be == be) { in smi_check_type() 964 switch (smiType->basetype) { in smi_check_a_range() 1112 if (! smi_check_type(smiType->basetype, elem->type)) { in smi_print_value() 1130 if (smiType->basetype == SMI_BASETYPE_BITS) { in smi_print_value() 1156 if (smiType->basetype == SMI_BASETYPE_ENUM) { in smi_print_value()
|
/dragonfly/contrib/gcc-4.7/gcc/objc/ |
H A D | objc-act.c | 1499 if (basetype != NULL_TREE && TREE_CODE (basetype) == POINTER_TYPE) in objc_maybe_build_component_ref() 1500 basetype = TREE_TYPE (basetype); in objc_maybe_build_component_ref() 1505 while (basetype != NULL_TREE in objc_maybe_build_component_ref() 1507 && OBJC_TYPE_NAME (basetype) in objc_maybe_build_component_ref() 1510 basetype = DECL_ORIGINAL_TYPE (OBJC_TYPE_NAME (basetype)); in objc_maybe_build_component_ref() 1512 if (basetype != NULL_TREE && TYPED_OBJECT (basetype)) in objc_maybe_build_component_ref() 2687 if (basetype) in objc_xref_basetypes() 6369 tree basetype, decl; in objc_is_public() local 6381 if (basetype && TREE_CODE (basetype) == RECORD_TYPE) in objc_is_public() 6383 if (TYPE_HAS_OBJC_INFO (basetype) && TYPE_OBJC_INTERFACE (basetype)) in objc_is_public() [all …]
|
/dragonfly/contrib/gcc-4.7/gcc/ |
H A D | tree-browser.def | 68 DEFTBCODE (TB_BASETYPE, "basetype", "Field accessor.")
|
H A D | tree.c | 7809 build_method_type_directly (tree basetype, in build_method_type_directly() argument 7822 TYPE_METHOD_BASETYPE (t) = TYPE_MAIN_VARIANT (basetype); in build_method_type_directly() 7824 ptype = build_pointer_type (basetype); in build_method_type_directly() 7839 = (TYPE_STRUCTURAL_EQUALITY_P (basetype) in build_method_type_directly() 7842 = (TYPE_CANONICAL (basetype) != basetype in build_method_type_directly() 7866 build_method_type (tree basetype, tree type) in build_method_type() argument 7870 return build_method_type_directly (basetype, in build_method_type() 7880 build_offset_type (tree basetype, tree type) in build_offset_type() argument 7888 TYPE_OFFSET_BASETYPE (t) = TYPE_MAIN_VARIANT (basetype); in build_offset_type() 7901 if (TYPE_STRUCTURAL_EQUALITY_P (basetype) in build_offset_type() [all …]
|