Home
last modified time | relevance | path

Searched refs:TYPE_NAME (Results 1 – 25 of 162) sorted by relevance

1234567

/dragonfly/contrib/gcc-4.7/gcc/objcp/
HDobjcp-decl.h59 (TYPE_NAME (type) && TREE_CODE (TYPE_NAME (type)) == TYPE_DECL \
60 ? DECL_NAME (TYPE_NAME (type)) \
61 : TYPE_NAME (type))
64 if(TYPE_NAME (type) && TREE_CODE (TYPE_NAME (type)) == TYPE_DECL) \
65 DECL_NAME (TYPE_NAME (type)) = name; \
67 TYPE_NAME (type) = name;
/dragonfly/contrib/gcc-8.0/gcc/
HDipa-devirt.c231 if (!TYPE_NAME (t) || TREE_CODE (TYPE_NAME (t)) != TYPE_DECL)
235 return (decl_function_context (TYPE_NAME (t)) != NULL);
301 if (TYPE_NAME (t) && TREE_CODE (TYPE_NAME (t)) == TYPE_DECL)
302 return TREE_TYPE (TYPE_NAME (t));
330 gcc_checking_assert (TYPE_NAME (t)
331 && DECL_ASSEMBLER_NAME_SET_P (TYPE_NAME (t)));
332 return IDENTIFIER_HASH_VALUE (DECL_ASSEMBLER_NAME (TYPE_NAME (t)));
441 if ((!TYPE_NAME (type1) || !DECL_ASSEMBLER_NAME_SET_P (TYPE_NAME (type1)))
442 || (!TYPE_NAME (type2) || !DECL_ASSEMBLER_NAME_SET_P (TYPE_NAME (type2))))
482 return (DECL_ASSEMBLER_NAME (TYPE_NAME (type1))
[all …]
HDipa-utils.h182 if (!TYPE_NAME (t) || TREE_CODE (TYPE_NAME (t)) != TYPE_DECL in type_with_linkage_p()
196 return DECL_ASSEMBLER_NAME_SET_P (TYPE_NAME (t)); in type_with_linkage_p()
222 || !DECL_ASSEMBLER_NAME_SET_P (TYPE_NAME (t)) in type_in_anonymous_namespace_p()
225 (DECL_ASSEMBLER_NAME (TYPE_NAME (t))))); in type_in_anonymous_namespace_p()
249 if (TYPE_NAME (t) && DECL_ASSEMBLER_NAME_SET_P (TYPE_NAME (t))) in odr_type_p()
255 (DECL_ASSEMBLER_NAME (TYPE_NAME (t))))); in odr_type_p()
HDdbxout.c1094 if (TYPE_NAME (type) in dbxout_typedefs()
1095 && TREE_CODE (TYPE_NAME (type)) == TYPE_DECL in dbxout_typedefs()
1097 && ! TREE_ASM_WRITTEN (TYPE_NAME (type))) in dbxout_typedefs()
1098 dbxout_symbol (TYPE_NAME (type), 0); in dbxout_typedefs()
1808 if (TYPE_NAME (type) in dbxout_type()
1809 && TREE_CODE (TYPE_NAME (type)) == TYPE_DECL in dbxout_type()
1810 && TYPE_DECL_SUPPRESS_DEBUG (TYPE_NAME (type))) in dbxout_type()
1815 if (TYPE_NAME (type) && TREE_CODE (TYPE_NAME (type)) == TYPE_DECL in dbxout_type()
1816 && DECL_ORIGINAL_TYPE (TYPE_NAME (type))) in dbxout_type()
1817 main_variant = TREE_TYPE (TYPE_NAME (type)); in dbxout_type()
[all …]
HDprint-tree.c99 if (TYPE_NAME (node)) in print_node_brief()
101 if (TREE_CODE (TYPE_NAME (node)) == IDENTIFIER_NODE) in print_node_brief()
102 fprintf (file, " %s", IDENTIFIER_POINTER (TYPE_NAME (node))); in print_node_brief()
103 else if (TREE_CODE (TYPE_NAME (node)) == TYPE_DECL in print_node_brief()
104 && DECL_NAME (TYPE_NAME (node))) in print_node_brief()
106 IDENTIFIER_POINTER (DECL_NAME (TYPE_NAME (node)))); in print_node_brief()
257 if (TYPE_NAME (node)) in print_node()
259 if (TREE_CODE (TYPE_NAME (node)) == IDENTIFIER_NODE) in print_node()
260 fprintf (file, " %s", IDENTIFIER_POINTER (TYPE_NAME (node))); in print_node()
261 else if (TREE_CODE (TYPE_NAME (node)) == TYPE_DECL in print_node()
[all …]
HDgodump.c528 && (TYPE_NAME (TREE_TYPE (decl)) == NULL_TREE in go_type_decl()
529 || TREE_CODE (TYPE_NAME (TREE_TYPE (decl))) != IDENTIFIER_NODE) in go_type_decl()
699 if (TYPE_NAME (type) != NULL_TREE in go_format_type()
701 || container->decls_seen.contains (TYPE_NAME (type))) in go_format_type()
824 && TYPE_NAME (TREE_TYPE (type)) != NULL_TREE in go_format_type()
973 if (TYPE_NAME (TREE_TYPE (field)) != NULL_TREE in go_format_type()
1214 type = IDENTIFIER_POINTER (TYPE_NAME (TREE_TYPE ((decl)))); in go_output_typedef()
1229 IDENTIFIER_POINTER (TYPE_NAME (TREE_TYPE (decl)))); in go_output_typedef()
1236 IDENTIFIER_POINTER (TYPE_NAME (TREE_TYPE (decl))), in go_output_typedef()
1260 type_name = TYPE_NAME (TREE_TYPE (decl)); in go_output_var()
HDtree-nested.c221 TYPE_NAME (type) = get_identifier (name); in get_frame_type()
484 TYPE_NAME (trampoline_type) = get_identifier ("__builtin_trampoline"); in get_trampoline_type()
514 TYPE_NAME (descriptor_type) = get_identifier ("__builtin_descriptor"); in get_descriptor_type()
1375 while (POINTER_TYPE_P (type) && !TYPE_NAME (type)) in note_nonlocal_vla_type()
1378 if (TYPE_NAME (type) in note_nonlocal_vla_type()
1379 && TREE_CODE (TYPE_NAME (type)) == TYPE_DECL in note_nonlocal_vla_type()
1380 && DECL_ORIGINAL_TYPE (TYPE_NAME (type))) in note_nonlocal_vla_type()
1381 type = DECL_ORIGINAL_TYPE (TYPE_NAME (type)); in note_nonlocal_vla_type()
2924 while (POINTER_TYPE_P (newt) && !TYPE_NAME (newt)) in remap_vla_decls()
2929 if (TYPE_NAME (newt) in remap_vla_decls()
[all …]
/dragonfly/contrib/gcc-4.7/gcc/
HDdbxout.c1125 if (TYPE_NAME (type) in dbxout_typedefs()
1126 && TREE_CODE (TYPE_NAME (type)) == TYPE_DECL in dbxout_typedefs()
1128 && ! TREE_ASM_WRITTEN (TYPE_NAME (type))) in dbxout_typedefs()
1129 dbxout_symbol (TYPE_NAME (type), 0); in dbxout_typedefs()
1791 if (TYPE_NAME (type) in dbxout_type()
1792 && TREE_CODE (TYPE_NAME (type)) == TYPE_DECL in dbxout_type()
1793 && TYPE_DECL_SUPPRESS_DEBUG (TYPE_NAME (type))) in dbxout_type()
1798 if (TYPE_NAME (type) && TREE_CODE (TYPE_NAME (type)) == TYPE_DECL in dbxout_type()
1799 && DECL_ORIGINAL_TYPE (TYPE_NAME (type))) in dbxout_type()
1800 main_variant = TREE_TYPE (TYPE_NAME (type)); in dbxout_type()
[all …]
HDc-aux-info.c282 if (TYPE_NAME (t) && TREE_CODE (TYPE_NAME (t)) == TYPE_DECL) in gen_type()
283 data_type = IDENTIFIER_POINTER (DECL_NAME (TYPE_NAME (t))); in gen_type()
343 if (TYPE_NAME (t)) in gen_type()
344 data_type = IDENTIFIER_POINTER (TYPE_NAME (t)); in gen_type()
362 if (TYPE_NAME (t)) in gen_type()
363 data_type = IDENTIFIER_POINTER (TYPE_NAME (t)); in gen_type()
381 if (TYPE_NAME (t)) in gen_type()
382 data_type = IDENTIFIER_POINTER (TYPE_NAME (t)); in gen_type()
406 data_type = IDENTIFIER_POINTER (DECL_NAME (TYPE_NAME (t))); in gen_type()
414 data_type = IDENTIFIER_POINTER (DECL_NAME (TYPE_NAME (t))); in gen_type()
HDgodump.c514 && (TYPE_NAME (TREE_TYPE (decl)) == NULL_TREE in go_type_decl()
515 || TREE_CODE (TYPE_NAME (TREE_TYPE (decl))) != IDENTIFIER_NODE) in go_type_decl()
570 if (TYPE_NAME (type) != NULL_TREE in go_format_type()
572 || pointer_set_contains (container->decls_seen, TYPE_NAME (type))) in go_format_type()
580 name = TYPE_NAME (type); in go_format_type()
678 && TYPE_NAME (TREE_TYPE (type)) != NULL_TREE in go_format_type()
687 name = TYPE_NAME (TREE_TYPE (type)); in go_format_type()
799 if (TYPE_NAME (TREE_TYPE (field)) != NULL_TREE in go_format_type()
808 name = TYPE_NAME (TREE_TYPE (field)); in go_format_type()
1047 type = IDENTIFIER_POINTER (TYPE_NAME (TREE_TYPE ((decl)))); in go_output_typedef()
[all …]
HDsdbout.c440 if (TYPE_NAME (type) != 0) in sdbout_record_type_name()
445 if (TREE_CODE (TYPE_NAME (type)) == IDENTIFIER_NODE) in sdbout_record_type_name()
446 t = TYPE_NAME (type); in sdbout_record_type_name()
447 else if (TREE_CODE (TYPE_NAME (type)) == TYPE_DECL) in sdbout_record_type_name()
449 t = DECL_NAME (TYPE_NAME (type)); in sdbout_record_type_name()
454 t = DECL_ASSEMBLER_NAME (TYPE_NAME (type)); in sdbout_record_type_name()
505 if (TYPE_NAME (type) != 0 in plain_type_1()
506 && TREE_CODE (TYPE_NAME (type)) == TYPE_DECL in plain_type_1()
507 && DECL_NAME (TYPE_NAME (type)) != 0 in plain_type_1()
508 && TREE_CODE (DECL_NAME (TYPE_NAME (type))) == IDENTIFIER_NODE) in plain_type_1()
[all …]
HDgimple-streamer-in.c196 if (TYPE_NAME (TREE_TYPE (field)) in input_gimple_stmt()
197 && (TREE_CODE (TYPE_NAME (TREE_TYPE (field))) in input_gimple_stmt()
200 (TYPE_NAME (TREE_TYPE (field))), in input_gimple_stmt()
203 && TYPE_NAME (TREE_TYPE (closest_match)) in input_gimple_stmt()
204 && (TREE_CODE (TYPE_NAME in input_gimple_stmt()
207 (TYPE_NAME (TREE_TYPE (closest_match))), in input_gimple_stmt()
HDprint-tree.c131 if (TYPE_NAME (node)) in print_node_brief()
133 if (TREE_CODE (TYPE_NAME (node)) == IDENTIFIER_NODE) in print_node_brief()
134 fprintf (file, " %s", IDENTIFIER_POINTER (TYPE_NAME (node))); in print_node_brief()
135 else if (TREE_CODE (TYPE_NAME (node)) == TYPE_DECL in print_node_brief()
136 && DECL_NAME (TYPE_NAME (node))) in print_node_brief()
138 IDENTIFIER_POINTER (DECL_NAME (TYPE_NAME (node)))); in print_node_brief()
306 if (TYPE_NAME (node)) in print_node()
308 if (TREE_CODE (TYPE_NAME (node)) == IDENTIFIER_NODE) in print_node()
309 fprintf (file, " %s", IDENTIFIER_POINTER (TYPE_NAME (node))); in print_node()
310 else if (TREE_CODE (TYPE_NAME (node)) == TYPE_DECL in print_node()
[all …]
HDtree-nested.c233 TYPE_NAME (type) = get_identifier (name); in get_frame_type()
497 TYPE_NAME (trampoline_type) = get_identifier ("__builtin_trampoline"); in get_trampoline_type()
1165 while (POINTER_TYPE_P (type) && !TYPE_NAME (type)) in note_nonlocal_vla_type()
1168 if (TYPE_NAME (type) in note_nonlocal_vla_type()
1169 && TREE_CODE (TYPE_NAME (type)) == TYPE_DECL in note_nonlocal_vla_type()
1170 && DECL_ORIGINAL_TYPE (TYPE_NAME (type))) in note_nonlocal_vla_type()
1171 type = DECL_ORIGINAL_TYPE (TYPE_NAME (type)); in note_nonlocal_vla_type()
2281 while (POINTER_TYPE_P (newt) && !TYPE_NAME (newt)) in remap_vla_decls()
2286 if (TYPE_NAME (newt) in remap_vla_decls()
2287 && TREE_CODE (TYPE_NAME (newt)) == TYPE_DECL in remap_vla_decls()
[all …]
HDtree-pretty-print.c706 if (TYPE_NAME (node)) in dump_generic_node()
708 if (TREE_CODE (TYPE_NAME (node)) == IDENTIFIER_NODE) in dump_generic_node()
709 pp_tree_identifier (buffer, TYPE_NAME (node)); in dump_generic_node()
710 else if (TREE_CODE (TYPE_NAME (node)) == TYPE_DECL in dump_generic_node()
711 && DECL_NAME (TYPE_NAME (node))) in dump_generic_node()
712 dump_decl_name (buffer, TYPE_NAME (node), flags); in dump_generic_node()
775 if (TYPE_NAME (node) && DECL_NAME (TYPE_NAME (node))) in dump_generic_node()
776 dump_decl_name (buffer, TYPE_NAME (node), flags); in dump_generic_node()
963 if (TYPE_NAME (node)) in dump_generic_node()
964 dump_generic_node (buffer, TYPE_NAME (node), spc, flags, false); in dump_generic_node()
[all …]
/dragonfly/contrib/gcc-8.0/gcc/c/
HDc-aux-info.c278 if (TYPE_NAME (t) && TREE_CODE (TYPE_NAME (t)) == TYPE_DECL) in gen_type()
279 data_type = IDENTIFIER_POINTER (DECL_NAME (TYPE_NAME (t))); in gen_type()
342 if (TYPE_NAME (t)) in gen_type()
343 data_type = IDENTIFIER_POINTER (TYPE_NAME (t)); in gen_type()
361 if (TYPE_NAME (t)) in gen_type()
362 data_type = IDENTIFIER_POINTER (TYPE_NAME (t)); in gen_type()
380 if (TYPE_NAME (t)) in gen_type()
381 data_type = IDENTIFIER_POINTER (TYPE_NAME (t)); in gen_type()
405 data_type = IDENTIFIER_POINTER (DECL_NAME (TYPE_NAME (t))); in gen_type()
413 data_type = IDENTIFIER_POINTER (DECL_NAME (TYPE_NAME (t))); in gen_type()
/dragonfly/contrib/gcc-8.0/gcc/c-family/
HDc-ada-spec.c1027 if (TYPE_P (type) && TYPE_NAME (type) && DECL_P (TYPE_NAME (type))) in get_underlying_decl()
1028 return TYPE_NAME (type); in get_underlying_decl()
1531 tree type_name = TYPE_NAME (TREE_TYPE (decl)); in dump_ada_decl_name()
1626 while (TREE_CODE (tmp) == POINTER_TYPE && !TYPE_NAME (tmp)) in check_name()
1633 else if (!TYPE_NAME (tmp)) in check_name()
1635 else if (TREE_CODE (TYPE_NAME (tmp)) == IDENTIFIER_NODE) in check_name()
1636 s = IDENTIFIER_POINTER (TYPE_NAME (tmp)); in check_name()
1638 s = IDENTIFIER_POINTER (DECL_NAME (TYPE_NAME (tmp))); in check_name()
1858 && id_equal (DECL_NAME (TYPE_NAME (t)), "char"); in is_char_array()
1891 if (TYPE_NAME (tmp) || !RECORD_OR_UNION_TYPE_P (tmp)) in dump_ada_array_type()
[all …]
/dragonfly/contrib/gdb-7/gdb/
HDf-typeprint.c64 || ((show > 0 || TYPE_NAME (type) == 0) in f_print_type()
99 if (TYPE_NAME (type) && show <= 0) in f_type_print_varspec_prefix()
160 if (TYPE_NAME (type) && show <= 0) in f_type_print_varspec_suffix()
272 if ((show <= 0) && (TYPE_NAME (type) != NULL)) in f_type_print_base()
274 fputs_filtered (TYPE_NAME (type), stream); in f_type_print_base()
325 if (strcmp (TYPE_NAME (type), "char") == 0) in f_type_print_base()
375 if (TYPE_NAME (type) != NULL) in f_type_print_base()
376 fprintfi_filtered (level, stream, "%s", TYPE_NAME (type)); in f_type_print_base()
HDc-valprint.c81 if (TYPE_NAME (iter_type) && textual_name (TYPE_NAME (iter_type))) in c_textual_element_type()
489 && TYPE_NAME (val_type) == NULL in c_value_print()
490 && TYPE_NAME (TYPE_TARGET_TYPE (val_type)) != NULL in c_value_print()
491 && (strcmp (TYPE_NAME (TYPE_TARGET_TYPE (val_type)), in c_value_print()
493 || textual_name (TYPE_NAME (TYPE_TARGET_TYPE (val_type))))) in c_value_print()
558 TYPE_NAME (real_type), in c_value_print()
574 TYPE_NAME (value_enclosing_type (val))); in c_value_print()
HDm2-typeprint.c168 if (!TYPE_NAME (SYMBOL_TYPE (new_symbol)) in m2_print_typedef()
169 || strcmp (TYPE_NAME ((SYMBOL_TYPE (new_symbol))), in m2_print_typedef()
183 if (TYPE_NAME (type) != NULL) in m2_type_name()
184 fputs_filtered (TYPE_NAME (type), stream); in m2_type_name()
212 if (TYPE_NAME (type) != NULL) in m2_typedef()
214 fputs_filtered (TYPE_NAME (type), stream); in m2_typedef()
446 else if (TYPE_NAME (type) != NULL) in m2_long_set()
448 fputs_filtered (TYPE_NAME (type), stream); in m2_long_set()
453 if (TYPE_TAG_NAME (type) != NULL || TYPE_NAME (type) != NULL) in m2_long_set()
HDp-typeprint.c215 if (TYPE_NAME (type) && show <= 0) in pascal_type_print_varspec_prefix()
352 if (TYPE_NAME (type) && show <= 0) in pascal_type_print_varspec_suffix()
470 fputs_filtered (TYPE_NAME (type) ? TYPE_NAME (type) : "pointer", in pascal_type_print_base()
478 && TYPE_NAME (type) != NULL) in pascal_type_print_base()
480 fputs_filtered (TYPE_NAME (type), stream); in pascal_type_print_base()
811 if (TYPE_NAME (type) != NULL) in pascal_type_print_base()
813 fputs_filtered (TYPE_NAME (type), stream); in pascal_type_print_base()
HDgdbtypes.c1163 return TYPE_NAME (type); in type_name_no_tag()
1320 alloca (strlen (name) + strlen (TYPE_NAME (type)) + 4); in lookup_template_type()
1324 strcat (nam, TYPE_NAME (type)); in lookup_template_type()
1993 TYPE_NAME (type) = name; in init_type()
2114 || (TYPE_NAME (a) && TYPE_NAME (b) in class_types_same_p()
2115 && !strcmp (TYPE_NAME (a), TYPE_NAME (b)))); in class_types_same_p()
2451 if (TYPE_NAME (a) && TYPE_NAME (b) in types_equal()
2452 && strcmp (TYPE_NAME (a), TYPE_NAME (b)) == 0) in types_equal()
2499 TYPE_NAME (arg), TYPE_CODE (arg), in rank_one_type()
2500 TYPE_NAME (parm), TYPE_CODE (parm)); in rank_one_type()
[all …]
HDc-typeprint.c110 || ((show > 0 || TYPE_NAME (type) == 0) in c_print_type()
152 if (TYPE_NAME ((SYMBOL_TYPE (new_symbol))) == 0 in c_print_typedef()
153 || strcmp (TYPE_NAME ((SYMBOL_TYPE (new_symbol))), in c_print_typedef()
303 if (TYPE_NAME (type) && show <= 0) in c_type_print_varspec_prefix()
675 if (TYPE_NAME (type) && show <= 0) in c_type_print_varspec_suffix()
859 && TYPE_NAME (type) != NULL) in c_type_print_base()
862 print_name_maybe_canonical (TYPE_NAME (type), flags, stream); in c_type_print_base()
873 gdb_assert (TYPE_NAME (type) == NULL); in c_type_print_base()
1400 if (TYPE_NAME (type) != NULL) in c_type_print_base()
1403 print_name_maybe_canonical (TYPE_NAME (type), flags, stream); in c_type_print_base()
HDgnu-v2-abi.c331 if (TYPE_NAME (basetype) != NULL in vb_match()
332 && TYPE_NAME (TYPE_TARGET_TYPE (fieldtype)) != NULL in vb_match()
333 && strcmp (TYPE_NAME (basetype), in vb_match()
334 TYPE_NAME (TYPE_TARGET_TYPE (fieldtype))) == 0) in vb_match()
/dragonfly/contrib/gcc-4.7/gcc/c-family/
HDc-ada-spec.c898 if (TYPE_P (type) && TYPE_NAME (type) && DECL_P (TYPE_NAME (type))) in get_underlying_decl()
899 decl = TYPE_NAME (type); in get_underlying_decl()
1317 tree type_name = TYPE_NAME (TREE_TYPE (decl)); in dump_ada_decl_name()
1394 while (TREE_CODE (tmp) == POINTER_TYPE && !TYPE_NAME (tmp)) in check_name()
1401 else if (!TYPE_NAME (tmp)) in check_name()
1403 else if (TREE_CODE (TYPE_NAME (tmp)) == IDENTIFIER_NODE) in check_name()
1404 s = IDENTIFIER_POINTER (TYPE_NAME (tmp)); in check_name()
1406 s = IDENTIFIER_POINTER (DECL_NAME (TYPE_NAME (tmp))); in check_name()
1619 && !strcmp (IDENTIFIER_POINTER (DECL_NAME (TYPE_NAME (tmp))), "char"); in is_char_array()
1838 (buffer, TYPE_NAME (node), node, cpp_check, spc, 0, true); in dump_generic_ada_node()
[all …]

1234567