Home
last modified time | relevance | path

Searched refs:elttype (Results 1 – 25 of 34) sorted by relevance

12

/netbsd/src/external/gpl3/gdb/dist/gdb/
Dm2-valprint.c189 struct type *elttype = check_typedef (type->target_type ()); in print_unpacked_pointer() local
192 if (elttype->code () == TYPE_CODE_FUNC) in print_unpacked_pointer()
209 if (elttype->length () == 1 in print_unpacked_pointer()
210 && elttype->code () == TYPE_CODE_INT in print_unpacked_pointer()
232 struct type *elttype = check_typedef (type->target_type ()); in print_variable_at_address() local
238 if (elttype->code () != TYPE_CODE_UNDEF) in print_variable_at_address()
305 struct type *elttype; in value_print_inner() local
316 elttype = check_typedef (type->target_type ()); in value_print_inner()
317 len = type->length () / elttype->length (); in value_print_inner()
319 if (elttype->length () == 1 && in value_print_inner()
[all …]
Dp-valprint.c77 struct type *elttype; in value_print_inner() local
94 elttype = check_typedef (type->target_type ()); in value_print_inner()
95 eltlen = elttype->length (); in value_print_inner()
101 && elttype->code () == TYPE_CODE_CHAR in value_print_inner()
131 if (pascal_object_is_vtbl_ptr_type (elttype)) in value_print_inner()
171 elttype = check_typedef (type->target_type ()); in value_print_inner()
173 if (elttype->code () == TYPE_CODE_FUNC) in value_print_inner()
188 if (((elttype->length () == 1 in value_print_inner()
189 && (elttype->code () == TYPE_CODE_INT in value_print_inner()
190 || elttype->code () == TYPE_CODE_CHAR)) in value_print_inner()
[all …]
Dm2-lang.h105 void printstr (struct ui_file *stream, struct type *elttype,
124 struct type *elttype = check_typedef (type->target_type ()); in is_string_type_p() local
126 if (elttype->length () == 1 in is_string_type_p()
127 && (elttype->code () == TYPE_CODE_INT in is_string_type_p()
128 || elttype->code () == TYPE_CODE_CHAR)) in is_string_type_p()
Dada-valprint.c120 struct type *elttype, *index_type; in val_print_packed_array_elements() local
126 elttype = type->target_type (); in val_print_packed_array_elements()
150 annotate_array_section_begin (i, elttype); in val_print_packed_array_elements()
186 bitsize, elttype); in val_print_packed_array_elements()
198 bitsize, elttype); in val_print_packed_array_elements()
444 printstr (struct ui_file *stream, struct type *elttype, const gdb_byte *string, in printstr() argument
448 enum bfd_endian byte_order = type_byte_order (elttype); in printstr()
496 elttype, stream, '\'', type_len); in printstr()
512 elttype, stream, '"', type_len); in printstr()
678 struct type *elttype = type->target_type (); in ada_val_print_string() local
[all …]
Dc-valprint.c140 print_unpacked_pointer (struct type *type, struct type *elttype, in print_unpacked_pointer() argument
149 if (elttype->code () == TYPE_CODE_FUNC) in print_unpacked_pointer()
242 struct type *elttype = check_typedef (unresolved_elttype); in c_value_print_array() local
253 eltlen = elttype->length (); in c_value_print_array()
306 if (cp_is_vtbl_ptr_type (elttype)) in c_value_print_array()
319 print_unpacked_pointer (type, elttype, unresolved_elttype, valaddr, in c_value_print_array()
352 struct type *elttype = check_typedef (unresolved_elttype); in c_value_print_ptr() local
355 print_unpacked_pointer (type, elttype, unresolved_elttype, valaddr, in c_value_print_ptr()
Dp-lang.c227 pascal_language::printstr (struct ui_file *stream, struct type *elttype, in printstr() argument
232 enum bfd_endian byte_order = type_byte_order (elttype); in printstr()
240 check_typedef (elttype); in printstr()
241 width = elttype->length (); in printstr()
295 printchar (current_char, elttype, stream); in printstr()
Dd-valprint.c44 struct type *elttype; in dynamic_array_type() local
54 elttype = check_typedef (ptr_type->target_type ()); in dynamic_array_type()
58 true_type = check_typedef (elttype); in dynamic_array_type()
Dc-lang.c76 classify_type (struct type *elttype, struct gdbarch *gdbarch, in classify_type() argument
86 while (elttype) in classify_type()
88 const char *name = elttype->name (); in classify_type()
114 if (elttype->code () != TYPE_CODE_TYPEDEF) in classify_type()
118 check_typedef (elttype); in classify_type()
120 if (elttype->target_type ()) in classify_type()
121 elttype = elttype->target_type (); in classify_type()
127 elttype = check_typedef (elttype); in classify_type()
Df-lang.h172 void printstr (struct ui_file *stream, struct type *elttype, in printstr() argument
177 const char *type_encoding = get_encoding (elttype); in printstr()
179 if (elttype->length () == 4) in printstr()
185 generic_printstr (stream, elttype, string, length, encoding, in printstr()
Dvalprint.c451 print_unpacked_pointer (struct type *type, struct type *elttype, in print_unpacked_pointer() argument
457 if (elttype->code () == TYPE_CODE_FUNC) in print_unpacked_pointer()
481 struct type *elttype = check_typedef (unresolved_elttype); in generic_val_print_array() local
497 print_unpacked_pointer (type, elttype, val->address (), in generic_val_print_array()
515 struct type *elttype = check_typedef (type->target_type ()); in generic_value_print_ptr() local
519 print_unpacked_pointer (type, elttype, addr, stream, options); in generic_value_print_ptr()
568 struct type *elttype = check_typedef (type->target_type ()); in generic_val_print_ref() local
575 const int type_is_defined = elttype->code () != TYPE_CODE_UNDEF; in generic_val_print_ref()
1943 struct type *elttype, *index_type; in value_print_array_elements() local
1953 elttype = type->target_type (); in value_print_array_elements()
[all …]
Dm2-lang.c156 m2_language::printstr (struct ui_file *stream, struct type *elttype, in printstr() argument
204 printchar (string[i], elttype, stream); in printstr()
217 emitchar (string[i], elttype, stream, '"'); in printstr()
Df-valprint.c459 struct type *elttype; in value_print_inner() local
498 elttype = check_typedef (type->target_type ()); in value_print_inner()
500 if (elttype->code () == TYPE_CODE_FUNC) in value_print_inner()
518 if (elttype->length () == 1 in value_print_inner()
519 && elttype->code () == TYPE_CODE_INT in value_print_inner()
Dannotate.c572 annotate_array_section_begin (int idx, struct type *elttype) in annotate_array_section_begin() argument
577 print_value_flags (elttype); in annotate_array_section_begin()
Dp-lang.h129 void printstr (struct ui_file *stream, struct type *elttype,
Drust-lang.h174 void printstr (struct ui_file *stream, struct type *elttype,
Dlanguage.h556 virtual void printstr (struct ui_file *stream, struct type *elttype,
Drust-lang.c678 struct type *elttype = check_typedef (type->target_type ()); in value_print_inner() local
689 val_print_string (elttype->target_type (), "ASCII", addr, in value_print_inner()
Dlanguage.c821 void printstr (struct ui_file *stream, struct type *elttype, in printstr() argument
Dvalue.h1553 extern int val_print_string (struct type *elttype, const char *encoding,
Dprintcmd.c312 struct type *elttype = val->type (); in print_formatted() local
315 + val_print_string (elttype, NULL, in print_formatted()
/netbsd/src/external/gpl3/gcc/dist/gcc/cp/
Dcall.cc829 tree elttype = TREE_VEC_ELT (CLASSTYPE_TI_ARGS (type), 0); in build_list_conv() local
843 if (TYPE_REF_P (elttype) in build_list_conv()
844 || TREE_CODE (elttype) == FUNCTION_TYPE in build_list_conv()
845 || VOID_TYPE_P (elttype)) in build_list_conv()
851 = implicit_conversion (elttype, TREE_TYPE (val), val, in build_list_conv()
910 tree elttype = TREE_TYPE (atype); in can_convert_array() local
919 if (TREE_CODE (elttype) == ARRAY_TYPE) in can_convert_array()
920 ok = can_convert_array (elttype, val, flags, complain); in can_convert_array()
922 ok = can_convert_arg (elttype, TREE_TYPE (val), val, flags, in can_convert_array()
930 if (char_type_p (TYPE_MAIN_VARIANT (elttype)) in can_convert_array()
[all …]
Dtypeck2.cc971 tree elttype = TREE_TYPE (type); in check_narrowing() local
973 ok &= check_narrowing (elttype, CONSTRUCTOR_ELT (init, 0)->value, in check_narrowing()
976 ok &= check_narrowing (elttype, CONSTRUCTOR_ELT (init, 1)->value, in check_narrowing()
Dconstexpr.cc4876 tree elttype = TREE_TYPE (atype); in cxx_eval_vec_init_1() local
4892 if (TREE_CODE (elttype) == ARRAY_TYPE) in cxx_eval_vec_init_1()
4896 init = build_value_init (elttype, complain); in cxx_eval_vec_init_1()
4903 &argvec, elttype, LOOKUP_NORMAL, in cxx_eval_vec_init_1()
4905 init = build_aggr_init_expr (elttype, init); in cxx_eval_vec_init_1()
4930 init_subob_ctx (ctx, new_ctx, idx, pre_init ? init : elttype); in cxx_eval_vec_init_1()
4937 if (TREE_CODE (elttype) == ARRAY_TYPE) in cxx_eval_vec_init_1()
4947 eltinit = cxx_eval_vec_init_1 (&new_ctx, elttype, eltinit, value_init, in cxx_eval_vec_init_1()
/netbsd/src/external/gpl3/gcc/dist/gcc/
Dgimple-fold.cc4791 tree elttype = TREE_TYPE (type); in clear_padding_type() local
4792 buf->base = create_tmp_var (build_pointer_type (elttype)); in clear_padding_type()
4803 buf->align = TYPE_ALIGN (elttype); in clear_padding_type()
4806 clear_padding_emit_loop (buf, elttype, end, for_auto_init); in clear_padding_type()
4939 tree elttype = type; in gimple_fold_builtin_clear_padding() local
4941 while (TREE_CODE (elttype) == ARRAY_TYPE in gimple_fold_builtin_clear_padding()
4942 && int_size_in_bytes (elttype) < 0) in gimple_fold_builtin_clear_padding()
4943 elttype = TREE_TYPE (elttype); in gimple_fold_builtin_clear_padding()
4944 HOST_WIDE_INT eltsz = int_size_in_bytes (elttype); in gimple_fold_builtin_clear_padding()
4948 buf.base = create_tmp_var (build_pointer_type (elttype)); in gimple_fold_builtin_clear_padding()
[all …]
Dexpr.cc6890 tree elttype = TREE_TYPE (type); in store_constructor() local
6993 mode = TYPE_MODE (elttype); in store_constructor()
6996 else if (!poly_int_tree_p (TYPE_SIZE (elttype), &bitsize)) in store_constructor()
7016 || (tree_fits_uhwi_p (TYPE_SIZE (elttype)) in store_constructor()
7017 && (tree_to_uhwi (TYPE_SIZE (elttype)) * count in store_constructor()
7023 bitpos = lo * tree_to_shwi (TYPE_SIZE (elttype)); in store_constructor()
7037 get_alias_set (elttype), reverse); in store_constructor()
7069 TYPE_SIZE_UNIT (elttype))); in store_constructor()
7102 || ! tree_fits_uhwi_p (TYPE_SIZE (elttype))) in store_constructor()
7119 TYPE_SIZE_UNIT (elttype))); in store_constructor()
[all …]

12