| /freebsd-12.1/contrib/gdb/gdb/ |
| H A D | valarith.c | 99 if ((TYPE_CODE (type1) == TYPE_CODE_PTR in value_add() 102 (TYPE_CODE (type1) == TYPE_CODE_INT in value_add() 142 if (TYPE_CODE (type1) == TYPE_CODE_PTR) in value_sub() 301 || (TYPE_CODE (type1) == TYPE_CODE_REF in binop_user_defined_p() 303 || (TYPE_CODE (type2) == TYPE_CODE_REF in binop_user_defined_p() 1230 code1 = TYPE_CODE (type1); in value_equal() 1231 code2 = TYPE_CODE (type2); in value_equal() 1287 code1 = TYPE_CODE (type1); in value_less() 1288 code2 = TYPE_CODE (type2); in value_less() 1330 else if (TYPE_CODE (type) == TYPE_CODE_INT || TYPE_CODE (type) == TYPE_CODE_BOOL) in value_neg() [all …]
|
| H A D | language.c | 728 switch (TYPE_CODE (type)) 751 switch (TYPE_CODE (type)) 776 return (TYPE_CODE (arg2) == TYPE_CODE (arg1)) && 808 switch (TYPE_CODE (type)) 867 if (TYPE_CODE (type) == TYPE_CODE_BOOL) 898 TYPE_CODE (type) == TYPE_CODE_REF; 912 (TYPE_CODE (type) == TYPE_CODE_UNION) || 913 (TYPE_CODE (type) == TYPE_CODE_ARRAY); 917 (TYPE_CODE(type) == TYPE_CODE_SET) || 921 (TYPE_CODE (type) == TYPE_CODE_SET) || [all …]
|
| H A D | ppc-sysv-tdep.c | 103 if (TYPE_CODE (type) == TYPE_CODE_FLT in ppc_sysv_abi_push_dummy_call() 192 && TYPE_CODE (type) == TYPE_CODE_ARRAY in ppc_sysv_abi_push_dummy_call() 213 && TYPE_CODE (type) == TYPE_CODE_ARRAY in ppc_sysv_abi_push_dummy_call() 245 || TYPE_CODE (type) == TYPE_CODE_STRUCT in ppc_sysv_abi_push_dummy_call() 246 || TYPE_CODE (type) == TYPE_CODE_UNION) in ppc_sysv_abi_push_dummy_call() 332 if (TYPE_CODE (type) == TYPE_CODE_FLT in do_ppc_sysv_return_value() 377 if (TYPE_CODE (type) == TYPE_CODE_INT in do_ppc_sysv_return_value() 400 && TYPE_CODE (type) == TYPE_CODE_ARRAY in do_ppc_sysv_return_value() 416 && TYPE_CODE (type) == TYPE_CODE_ARRAY in do_ppc_sysv_return_value() 678 && TYPE_CODE (type) == TYPE_CODE_ARRAY in ppc64_sysv_abi_push_dummy_call() [all …]
|
| H A D | valops.c | 219 code1 = TYPE_CODE (type); in value_cast() 262 code2 = TYPE_CODE (type2); in value_cast() 1232 && (TYPE_CODE (check_typedef (TYPE_TARGET_TYPE (tt1))) == TYPE_CODE (tt2))) in typecmp() 1254 TYPE_CODE(tt2) == TYPE_CODE_REF) in typecmp() 1258 if (TYPE_CODE (tt1) == TYPE_CODE (tt2)) in typecmp() 1265 if (TYPE_CODE (t1[i].type) != TYPE_CODE (VALUE_TYPE (t2[i]))) in typecmp() 1677 while (TYPE_CODE (t) == TYPE_CODE_PTR || TYPE_CODE (t) == TYPE_CODE_REF) in value_struct_elt() 1876 while (TYPE_CODE (t) == TYPE_CODE_PTR || TYPE_CODE (t) == TYPE_CODE_REF) in value_find_oload_method_list() 2411 if (TYPE_CODE (t) != TYPE_CODE_PTR && TYPE_CODE (t) != TYPE_CODE_REF) in check_field() 2437 switch (TYPE_CODE (curtype)) in value_aggregate_elt() [all …]
|
| H A D | c-valprint.c | 84 switch (TYPE_CODE (type)) in c_val_print() 98 ((TYPE_CODE (elttype) == TYPE_CODE_INT) in c_val_print() 100 && (TYPE_CODE (elttype) == TYPE_CODE_CHAR))) in c_val_print() 161 if (TYPE_CODE (elttype) == TYPE_CODE_METHOD) in c_val_print() 176 if (TYPE_CODE (elttype) == TYPE_CODE_FUNC) in c_val_print() 194 && TYPE_CODE (elttype) == TYPE_CODE_INT in c_val_print() 277 if (TYPE_CODE (elttype) != TYPE_CODE_UNDEF) in c_val_print() 504 if (TYPE_CODE (type) == TYPE_CODE_PTR || in c_value_print() 505 TYPE_CODE (type) == TYPE_CODE_REF) in c_value_print() 509 if (TYPE_CODE (type) == TYPE_CODE_PTR && in c_value_print() [all …]
|
| H A D | gdbtypes.c | 666 switch (TYPE_CODE (type)) in get_discrete_bounds() 1700 TYPE_CODE (type) = code; in init_type() 2375 TYPE_NAME (arg), TYPE_CODE (arg), TYPE_NAME (parm), TYPE_CODE (parm)); in rank_one_type() 2379 switch (TYPE_CODE (parm)) in rank_one_type() 2382 switch (TYPE_CODE (arg)) in rank_one_type() 2403 switch (TYPE_CODE (arg)) in rank_one_type() 2412 switch (TYPE_CODE (arg)) in rank_one_type() 2420 switch (TYPE_CODE (arg)) in rank_one_type() 2488 switch (TYPE_CODE (arg)) in rank_one_type() 2893 switch (TYPE_CODE (type)) in recursive_dump_type() [all …]
|
| H A D | ada-lang.c | 1342 switch (TYPE_CODE (type)) in has_negatives() 2352 switch (TYPE_CODE (ftype)) in ada_type_match() 2390 return (TYPE_CODE (atype) == TYPE_CODE (ftype)); in ada_type_match() 2455 return TYPE_CODE (return_type) == TYPE_CODE (context_type); in return_match() 3215 || TYPE_CODE (type0) != TYPE_CODE (type1)) in equiv_types() 3250 TYPE_CODE (type0) == TYPE_CODE (type1) in lesseq_defined_than() 5511 while (TYPE_CODE (t) == TYPE_CODE_PTR || TYPE_CODE (t) == TYPE_CODE_REF) in ada_value_struct_elt() 5517 if (TYPE_CODE (t) != TYPE_CODE_STRUCT && TYPE_CODE (t) != TYPE_CODE_UNION) in ada_value_struct_elt() 6071 TYPE_CODE (type) = TYPE_CODE (templ_type); in template_to_static_fixed_type() 6319 switch (TYPE_CODE (type)) in ada_to_fixed_type() [all …]
|
| H A D | f-typeprint.c | 66 code = TYPE_CODE (type); in f_print_type() 110 switch (TYPE_CODE (type)) in f_type_print_varspec_prefix() 172 switch (TYPE_CODE (type)) in f_type_print_varspec_suffix() 180 if (TYPE_CODE (TYPE_TARGET_TYPE (type)) == TYPE_CODE_ARRAY) in f_type_print_varspec_suffix() 214 if (TYPE_CODE (TYPE_TARGET_TYPE (type)) != TYPE_CODE_ARRAY) in f_type_print_varspec_suffix() 306 if (TYPE_CODE (type) == TYPE_CODE_FLT) in f_type_print_base() 313 if (TYPE_CODE (type) != TYPE_CODE_TYPEDEF) in f_type_print_base() 316 switch (TYPE_CODE (type)) in f_type_print_base() 403 error ("Invalid type code (%d) in symbol table.", TYPE_CODE (type)); in f_type_print_base()
|
| H A D | infcall.c | 91 switch (TYPE_CODE (type)) in value_arg_coerce() 94 if (TYPE_CODE (arg_type) != TYPE_CODE_REF in value_arg_coerce() 95 && TYPE_CODE (arg_type) != TYPE_CODE_PTR) in value_arg_coerce() 165 enum type_code code = TYPE_CODE (ftype); in find_function_addr() 182 if (TYPE_CODE (ftype) == TYPE_CODE_FUNC in find_function_addr() 183 || TYPE_CODE (ftype) == TYPE_CODE_METHOD) in find_function_addr() 621 if (TYPE_CODE (ftype) == TYPE_CODE_METHOD) in call_function_by_hand() 651 if (TYPE_CODE (param_type) == TYPE_CODE_PTR) in call_function_by_hand() 682 if ((TYPE_CODE (arg_type) == TYPE_CODE_STRUCT in call_function_by_hand() 687 || TYPE_CODE (arg_type) == TYPE_CODE_SET in call_function_by_hand() [all …]
|
| H A D | eval.c | 503 && TYPE_CODE (type) == TYPE_CODE_STRUCT) in evaluate_subexp_standard() 511 && TYPE_CODE (type) == TYPE_CODE_ARRAY) in evaluate_subexp_standard() 561 && TYPE_CODE (type) == TYPE_CODE_SET) in evaluate_subexp_standard() 605 if ((TYPE_CODE (range_low_type) != TYPE_CODE (range_high_type)) || in evaluate_subexp_standard() 610 if ((TYPE_CODE (check_type) != TYPE_CODE (range_low_type)) || in evaluate_subexp_standard() 1249 code = TYPE_CODE (type); in evaluate_subexp_standard() 1540 if (TYPE_CODE (type) != TYPE_CODE_ARRAY in evaluate_subexp_standard() 1902 if (TYPE_CODE (type) == TYPE_CODE_PTR in evaluate_subexp_standard() 1903 || TYPE_CODE (type) == TYPE_CODE_REF in evaluate_subexp_standard() 2214 && TYPE_CODE (type) != TYPE_CODE_REF in evaluate_subexp_for_sizeof() [all …]
|
| H A D | ax-gdb.c | 388 switch (TYPE_CODE (type)) in gen_fetch() 716 switch (TYPE_CODE (value->type)) in gen_usual_unary() 833 if (TYPE_CODE (value1->type) == TYPE_CODE_INT in gen_usual_arithmetic() 891 switch (TYPE_CODE (type)) in gen_cast() 960 if (TYPE_CODE (value1->type) == TYPE_CODE_INT in gen_add() 1077 if (TYPE_CODE (value->type) != TYPE_CODE_INT in gen_logical_not() 1090 if (TYPE_CODE (value->type) != TYPE_CODE_INT) in gen_complement() 1109 if (TYPE_CODE (value->type) != TYPE_CODE_PTR) in gen_deref() 1371 if (TYPE_CODE (type) != TYPE_CODE_STRUCT in gen_struct_ref() 1372 && TYPE_CODE (type) != TYPE_CODE_UNION) in gen_struct_ref() [all …]
|
| H A D | p-valprint.c | 73 switch (TYPE_CODE (type)) in pascal_val_print() 87 ((TYPE_CODE (elttype) == TYPE_CODE_INT) in pascal_val_print() 89 && (TYPE_CODE (elttype) == TYPE_CODE_CHAR))) in pascal_val_print() 166 if (TYPE_CODE (elttype) == TYPE_CODE_FUNC) in pascal_val_print() 182 && TYPE_CODE (elttype) == TYPE_CODE_INT in pascal_val_print() 285 if (TYPE_CODE (elttype) != TYPE_CODE_UNDEF) in pascal_val_print() 546 if (TYPE_CODE (type) == TYPE_CODE_PTR || in pascal_value_print() 547 TYPE_CODE (type) == TYPE_CODE_REF) in pascal_value_print() 551 if (TYPE_CODE (type) == TYPE_CODE_PTR && in pascal_value_print() 701 if (TYPE_CODE (type) == TYPE_CODE_PTR) in pascal_object_is_vtbl_member() [all …]
|
| H A D | p-typeprint.c | 56 code = TYPE_CODE (type); in pascal_print_type() 203 switch (TYPE_CODE (type)) in pascal_type_print_varspec_prefix() 226 if (TYPE_CODE (TYPE_TARGET_TYPE (type)) != TYPE_CODE_VOID) in pascal_type_print_varspec_prefix() 252 if (TYPE_CODE (TYPE_TARGET_TYPE (type)) != TYPE_CODE_VOID) in pascal_type_print_varspec_prefix() 348 switch (TYPE_CODE (type)) in pascal_type_print_varspec_suffix() 367 if (TYPE_CODE (TYPE_TARGET_TYPE (type)) != TYPE_CODE_VOID) in pascal_type_print_varspec_suffix() 387 if (TYPE_CODE (TYPE_TARGET_TYPE (type)) != TYPE_CODE_VOID) in pascal_type_print_varspec_suffix() 461 …if ((TYPE_CODE (type) == TYPE_CODE_PTR) && (TYPE_CODE (TYPE_TARGET_TYPE (type)) == TYPE_CODE_VOID)) in pascal_type_print_base() 479 switch (TYPE_CODE (type)) in pascal_type_print_base() 690 TYPE_CODE (TYPE_TARGET_TYPE (TYPE_FN_FIELD_TYPE (f, j))) != TYPE_CODE_VOID) in pascal_type_print_base() [all …]
|
| H A D | typeprint.c | 140 if (((TYPE_CODE (type) == TYPE_CODE_PTR) || in whatis_exp() 141 (TYPE_CODE (type) == TYPE_CODE_REF)) in whatis_exp() 143 (TYPE_CODE (TYPE_TARGET_TYPE (type)) == TYPE_CODE_CLASS)) in whatis_exp() 148 if (TYPE_CODE (type) == TYPE_CODE_PTR) in whatis_exp() 154 else if (TYPE_CODE (type) == TYPE_CODE_CLASS) in whatis_exp() 256 switch (TYPE_CODE (type)) in print_type_scalar()
|
| H A D | jv-valprint.c | 75 if (TYPE_CODE (type) == TYPE_CODE_PTR && !value_logical_not (val)) in java_value_print() 79 if (TYPE_CODE (type) == TYPE_CODE_STRUCT && name != NULL in java_value_print() 209 if (TYPE_CODE (type) == TYPE_CODE_PTR in java_value_print() 348 if (TYPE_CODE (TYPE_FIELD_TYPE (type, i)) == TYPE_CODE_PTR) in java_print_value_fields() 409 if (TYPE_CODE (t) == TYPE_CODE_STRUCT) in java_print_value_fields() 460 switch (TYPE_CODE (type)) in java_val_print() 488 if (TYPE_CODE (target_type) == TYPE_CODE_FUNC) in java_val_print() 511 else if (TYPE_CODE (type) == TYPE_CODE_CHAR in java_val_print() 512 || (TYPE_CODE (type) == TYPE_CODE_INT in java_val_print()
|
| H A D | f-valprint.c | 209 if (TYPE_CODE (TYPE_TARGET_TYPE (type)) == TYPE_CODE_ARRAY in f77_get_dynamic_length_of_aggregate() 210 || TYPE_CODE (TYPE_TARGET_TYPE (type)) == TYPE_CODE_STRING) in f77_get_dynamic_length_of_aggregate() 241 while ((TYPE_CODE (tmp_type) == TYPE_CODE_ARRAY)) in f77_create_arrayprint_offset_tbl() 374 switch (TYPE_CODE (type)) in f_val_print() 399 if (TYPE_CODE (elttype) == TYPE_CODE_FUNC) in f_val_print() 413 && TYPE_CODE (elttype) == TYPE_CODE_INT in f_val_print() 439 if (TYPE_CODE (elttype) != TYPE_CODE_UNDEF) in f_val_print() 545 TYPE_CODE (type) = TYPE_CODE_INT; in f_val_print() 549 TYPE_CODE (type) = TYPE_CODE_BOOL; in f_val_print() 584 error ("Invalid F77 type code %d in symbol table.", TYPE_CODE (type)); in f_val_print()
|
| H A D | gnu-v2-abi.c | 141 if (TYPE_CODE (VALUE_TYPE (vtbl)) == TYPE_CODE_PTR in gnuv2_virtual_fn_field() 142 && TYPE_CODE (TYPE_TARGET_TYPE (VALUE_TYPE (vtbl))) == TYPE_CODE_ARRAY) in gnuv2_virtual_fn_field() 163 if (TYPE_CODE (entry_type) == TYPE_CODE_STRUCT) in gnuv2_virtual_fn_field() 176 else if (TYPE_CODE (entry_type) == TYPE_CODE_PTR) in gnuv2_virtual_fn_field() 214 if (TYPE_CODE (known_type) != TYPE_CODE_CLASS) in gnuv2_value_rtti_type() 322 || TYPE_CODE (fieldtype) != TYPE_CODE_PTR) in vb_match()
|
| H A D | ada-valprint.c | 78 if (type != NULL && TYPE_CODE (type) == TYPE_CODE_RANGE in adjust_type_signedness() 99 if (TYPE_CODE (index_type) == TYPE_CODE_RANGE) in print_optional_low_bound() 107 switch (TYPE_CODE (index_type)) in print_optional_low_bound() 307 switch (TYPE_CODE (type)) in ada_print_scalar() 564 switch (TYPE_CODE (type)) in ada_val_print_1() 608 else if (TYPE_CODE (type) == TYPE_CODE_RANGE) in ada_val_print_1() 756 if (TYPE_CODE (elttype) != TYPE_CODE_UNDEF) in ada_val_print_1() 815 if (TYPE_CODE (type) == TYPE_CODE_PTR || TYPE_CODE (type) == TYPE_CODE_REF) in ada_value_print() 819 if (TYPE_CODE (type) == TYPE_CODE_PTR && in ada_value_print() 821 TYPE_CODE (TYPE_TARGET_TYPE (type)) == TYPE_CODE_INT && in ada_value_print() [all …]
|
| H A D | jv-lang.c | 187 TYPE_CODE (type) = TYPE_CODE_STRUCT; in java_lookup_class() 226 if (TYPE_CODE (VALUE_TYPE (obj_val)) == TYPE_CODE_PTR in java_class_from_object() 261 if (TYPE_CODE (type) == TYPE_CODE_PTR) in type_from_class() 304 TYPE_CODE (type) = TYPE_CODE_STRUCT; in type_from_class() 479 if (TYPE_CODE (ftype) == TYPE_CODE_STRUCT) in java_link_class_type() 599 if (TYPE_CODE (type) == TYPE_CODE_PTR) in is_object_type() 603 if (TYPE_CODE (ttype) != TYPE_CODE_STRUCT) in is_object_type() 870 if (TYPE_CODE (type) == TYPE_CODE_PTR) in evaluate_subexp_java() 876 if (TYPE_CODE (type) == TYPE_CODE_STRUCT in evaluate_subexp_java() 891 if (TYPE_CODE (el_type) == TYPE_CODE_STRUCT) in evaluate_subexp_java() [all …]
|
| H A D | varobj.c | 1743 switch (TYPE_CODE (type)) in type_changeable() 1770 switch (TYPE_CODE (type)) in c_number_of_children() 1795 switch (TYPE_CODE (target)) in c_number_of_children() 1837 switch (TYPE_CODE (type)) in c_name_of_child() 1850 switch (TYPE_CODE (target)) in c_name_of_child() 1947 switch (TYPE_CODE (type)) in c_value_of_child() 1968 switch (TYPE_CODE (target)) in c_value_of_child() 2000 switch (TYPE_CODE (parent->type)) in c_type_of_child() 2040 switch (TYPE_CODE (get_type (var))) in c_variable_editable() 2212 switch (TYPE_CODE (type)) in cplus_name_of_child() [all …]
|
| H A D | stabsread.c | 1581 TYPE_CODE (type) = code; in read_type() 1610 TYPE_CODE (type) = TYPE_CODE_TYPEDEF; in read_type() 1616 TYPE_CODE (type) = TYPE_CODE_VOID; in read_type() 1911 TYPE_CODE (type) = TYPE_CODE_STRING; in read_type() 1920 TYPE_CODE (type) = TYPE_CODE_BITSTRING; in read_type() 3279 switch (TYPE_CODE (type)) in complain_about_struct_wipeout() 3350 TYPE_CODE (type) = type_code; in read_struct_type() 3523 TYPE_CODE (type) = TYPE_CODE_ENUM; in read_enum_type() 4166 switch (TYPE_CODE (*type)) in cleanup_undefined_types() 4198 TYPE_CODE (*type)) in cleanup_undefined_types() [all …]
|
| H A D | cp-valprint.c | 192 if (TYPE_CODE (type) == TYPE_CODE_PTR) in cp_is_vtbl_member() 195 if (TYPE_CODE (type) == TYPE_CODE_ARRAY) in cp_is_vtbl_member() 198 if (TYPE_CODE (type) == TYPE_CODE_STRUCT /* if not using thunks */ in cp_is_vtbl_member() 199 || TYPE_CODE (type) == TYPE_CODE_PTR) /* if using thunks */ in cp_is_vtbl_member() 206 else if (TYPE_CODE (type) == TYPE_CODE_STRUCT) /* if not using thunks */ in cp_is_vtbl_member() 210 else if (TYPE_CODE (type) == TYPE_CODE_PTR) /* if using thunks */ in cp_is_vtbl_member() 317 if (TYPE_CODE (TYPE_FIELD_TYPE (type, i)) == TYPE_CODE_PTR) in cp_print_value_fields() 642 if (TYPE_CODE (type) == TYPE_CODE_STRUCT) in cp_print_static_field()
|
| H A D | values.c | 599 if (TYPE_CODE (VALUE_TYPE (val)) == TYPE_CODE_FUNC in value_as_address() 600 || TYPE_CODE (VALUE_TYPE (val)) == TYPE_CODE_METHOD) in value_as_address() 642 if (TYPE_CODE (VALUE_TYPE (val)) != TYPE_CODE_PTR in value_as_address() 643 && TYPE_CODE (VALUE_TYPE (val)) != TYPE_CODE_REF in value_as_address() 668 enum type_code code = TYPE_CODE (type); in unpack_long() 723 code = TYPE_CODE (type); in unpack_double() 1124 code = TYPE_CODE (type); in value_from_longest() 1193 enum type_code code = TYPE_CODE (base_type); in value_from_double() 1228 if (TYPE_CODE (valtype) == TYPE_CODE_VOID) in register_value_being_returned() 1284 enum type_code code = TYPE_CODE (value_type); in using_struct_return()
|
| H A D | ada-typeprint.c | 143 switch (TYPE_CODE (target_type)) in print_range() 250 else if (TYPE_CODE (raw_type) == TYPE_CODE_RANGE) in print_range_type_named() 376 for (arr_type = type; TYPE_CODE (arr_type) == TYPE_CODE_ARRAY; in print_array_type() 510 if (TYPE_CODE (var_type) == TYPE_CODE_PTR) in print_variant_clauses() 695 if (TYPE_CODE (TYPE_TARGET_TYPE (type)) == TYPE_CODE_VOID) in print_func_type() 719 if (TYPE_CODE (TYPE_TARGET_TYPE (type)) != TYPE_CODE_VOID) in print_func_type() 762 if (is_var_decl && TYPE_CODE (type) != TYPE_CODE_FUNC) in ada_print_type() 778 switch (TYPE_CODE (type)) in ada_print_type()
|
| /freebsd-12.1/contrib/llvm/tools/llvm-bcanalyzer/ |
| H A D | llvm-bcanalyzer.cpp | 207 STRINGIFY_CODE(TYPE_CODE, NUMENTRY) in GetCodeName() 208 STRINGIFY_CODE(TYPE_CODE, VOID) in GetCodeName() 209 STRINGIFY_CODE(TYPE_CODE, FLOAT) in GetCodeName() 210 STRINGIFY_CODE(TYPE_CODE, DOUBLE) in GetCodeName() 211 STRINGIFY_CODE(TYPE_CODE, LABEL) in GetCodeName() 212 STRINGIFY_CODE(TYPE_CODE, OPAQUE) in GetCodeName() 213 STRINGIFY_CODE(TYPE_CODE, INTEGER) in GetCodeName() 214 STRINGIFY_CODE(TYPE_CODE, POINTER) in GetCodeName() 215 STRINGIFY_CODE(TYPE_CODE, ARRAY) in GetCodeName() 216 STRINGIFY_CODE(TYPE_CODE, VECTOR) in GetCodeName() [all …]
|