Home
last modified time | relevance | path

Searched refs:TARGET_CHAR_BIT (Results 1 – 25 of 54) sorted by relevance

123

/openbsd/src/gnu/usr.bin/binutils/gdb/
Dm2-lang.c211 TARGET_INT_BIT / TARGET_CHAR_BIT, in m2_create_fundamental_type()
217 TARGET_CHAR_BIT / TARGET_CHAR_BIT, in m2_create_fundamental_type()
222 TARGET_CHAR_BIT / TARGET_CHAR_BIT, in m2_create_fundamental_type()
227 TARGET_CHAR_BIT / TARGET_CHAR_BIT, in m2_create_fundamental_type()
232 TARGET_CHAR_BIT / TARGET_CHAR_BIT, in m2_create_fundamental_type()
237 TARGET_CHAR_BIT / TARGET_CHAR_BIT, in m2_create_fundamental_type()
242 TARGET_CHAR_BIT / TARGET_CHAR_BIT, in m2_create_fundamental_type()
247 TARGET_SHORT_BIT / TARGET_CHAR_BIT, in m2_create_fundamental_type()
252 TARGET_SHORT_BIT / TARGET_CHAR_BIT, in m2_create_fundamental_type()
257 TARGET_SHORT_BIT / TARGET_CHAR_BIT, in m2_create_fundamental_type()
[all …]
Dp-lang.c61 *length_pos = TYPE_FIELD_BITPOS (type, 0) / TARGET_CHAR_BIT; in is_pascal_string_type()
65 *string_pos = TYPE_FIELD_BITPOS (type, 1) / TARGET_CHAR_BIT; in is_pascal_string_type()
79 *length_pos = TYPE_FIELD_BITPOS (type, 1) / TARGET_CHAR_BIT; in is_pascal_string_type()
83 *string_pos = TYPE_FIELD_BITPOS (type, 2) / TARGET_CHAR_BIT; in is_pascal_string_type()
287 TARGET_INT_BIT / TARGET_CHAR_BIT, in pascal_create_fundamental_type()
293 TARGET_CHAR_BIT / TARGET_CHAR_BIT, in pascal_create_fundamental_type()
298 TARGET_CHAR_BIT / TARGET_CHAR_BIT, in pascal_create_fundamental_type()
303 TARGET_CHAR_BIT / TARGET_CHAR_BIT, in pascal_create_fundamental_type()
308 TARGET_CHAR_BIT / TARGET_CHAR_BIT, in pascal_create_fundamental_type()
313 TARGET_SHORT_BIT / TARGET_CHAR_BIT, in pascal_create_fundamental_type()
[all …]
Df-lang.c259 TARGET_CHAR_BIT / TARGET_CHAR_BIT, in f_create_fundamental_type()
264 TARGET_CHAR_BIT / TARGET_CHAR_BIT, in f_create_fundamental_type()
269 TARGET_CHAR_BIT / TARGET_CHAR_BIT, in f_create_fundamental_type()
274 TARGET_CHAR_BIT / TARGET_CHAR_BIT, in f_create_fundamental_type()
279 TARGET_CHAR_BIT / TARGET_CHAR_BIT, in f_create_fundamental_type()
284 TARGET_CHAR_BIT / TARGET_CHAR_BIT, in f_create_fundamental_type()
289 TARGET_SHORT_BIT / TARGET_CHAR_BIT, in f_create_fundamental_type()
294 TARGET_SHORT_BIT / TARGET_CHAR_BIT, in f_create_fundamental_type()
299 TARGET_SHORT_BIT / TARGET_CHAR_BIT, in f_create_fundamental_type()
304 TARGET_INT_BIT / TARGET_CHAR_BIT, in f_create_fundamental_type()
[all …]
Dc-lang.c220 TARGET_INT_BIT / TARGET_CHAR_BIT, in c_create_fundamental_type()
226 TARGET_CHAR_BIT / TARGET_CHAR_BIT, in c_create_fundamental_type()
231 TARGET_CHAR_BIT / TARGET_CHAR_BIT, in c_create_fundamental_type()
236 TARGET_CHAR_BIT / TARGET_CHAR_BIT, in c_create_fundamental_type()
241 TARGET_CHAR_BIT / TARGET_CHAR_BIT, in c_create_fundamental_type()
246 TARGET_CHAR_BIT / TARGET_CHAR_BIT, in c_create_fundamental_type()
251 TARGET_SHORT_BIT / TARGET_CHAR_BIT, in c_create_fundamental_type()
256 TARGET_SHORT_BIT / TARGET_CHAR_BIT, in c_create_fundamental_type()
261 TARGET_SHORT_BIT / TARGET_CHAR_BIT, in c_create_fundamental_type()
266 TARGET_INT_BIT / TARGET_CHAR_BIT, in c_create_fundamental_type()
[all …]
Dgdbtypes.c267 TYPE_LENGTH (ntype) = TARGET_PTR_BIT / TARGET_CHAR_BIT; in make_pointer_type()
335 TYPE_LENGTH (ntype) = TARGET_PTR_BIT / TARGET_CHAR_BIT; in make_reference_type()
710 *lowp = -(1 << (TYPE_LENGTH (type) * TARGET_CHAR_BIT - 1)); in get_discrete_bounds()
720 *highp = 1 << (TYPE_LENGTH (type) * TARGET_CHAR_BIT - 1); in get_discrete_bounds()
813 = (bit_length + TARGET_CHAR_BIT - 1) / TARGET_CHAR_BIT; in create_set_type()
1750 + TYPE_LENGTH (field) * TARGET_CHAR_BIT); in append_composite_type_field()
3132 init_type (TYPE_CODE_INT, TARGET_CHAR_BIT / TARGET_CHAR_BIT, in build_gdbtypes()
3137 init_type (TYPE_CODE_CHAR, TARGET_CHAR_BIT / TARGET_CHAR_BIT, in build_gdbtypes()
3141 init_type (TYPE_CODE_INT, TARGET_CHAR_BIT / TARGET_CHAR_BIT, in build_gdbtypes()
3145 init_type (TYPE_CODE_INT, TARGET_CHAR_BIT / TARGET_CHAR_BIT, in build_gdbtypes()
[all …]
Dobjc-lang.c463 TARGET_INT_BIT / TARGET_CHAR_BIT, in objc_create_fundamental_type()
469 TARGET_CHAR_BIT / TARGET_CHAR_BIT, in objc_create_fundamental_type()
474 TARGET_CHAR_BIT / TARGET_CHAR_BIT, in objc_create_fundamental_type()
479 TARGET_CHAR_BIT / TARGET_CHAR_BIT, in objc_create_fundamental_type()
484 TARGET_CHAR_BIT / TARGET_CHAR_BIT, in objc_create_fundamental_type()
489 TARGET_SHORT_BIT / TARGET_CHAR_BIT, in objc_create_fundamental_type()
494 TARGET_SHORT_BIT / TARGET_CHAR_BIT, in objc_create_fundamental_type()
499 TARGET_SHORT_BIT / TARGET_CHAR_BIT, in objc_create_fundamental_type()
504 TARGET_INT_BIT / TARGET_CHAR_BIT, in objc_create_fundamental_type()
509 TARGET_INT_BIT / TARGET_CHAR_BIT, in objc_create_fundamental_type()
[all …]
Dh8300-tdep.c1205 set_gdbarch_ptr_bit (gdbarch, 2 * TARGET_CHAR_BIT); in h8300_gdbarch_init()
1206 set_gdbarch_addr_bit (gdbarch, 2 * TARGET_CHAR_BIT); in h8300_gdbarch_init()
1222 set_gdbarch_ptr_bit (gdbarch, 4 * TARGET_CHAR_BIT); in h8300_gdbarch_init()
1223 set_gdbarch_addr_bit (gdbarch, 4 * TARGET_CHAR_BIT); in h8300_gdbarch_init()
1227 set_gdbarch_ptr_bit (gdbarch, 2 * TARGET_CHAR_BIT); in h8300_gdbarch_init()
1228 set_gdbarch_addr_bit (gdbarch, 2 * TARGET_CHAR_BIT); in h8300_gdbarch_init()
1245 set_gdbarch_ptr_bit (gdbarch, 4 * TARGET_CHAR_BIT); in h8300_gdbarch_init()
1246 set_gdbarch_addr_bit (gdbarch, 4 * TARGET_CHAR_BIT); in h8300_gdbarch_init()
1250 set_gdbarch_ptr_bit (gdbarch, 2 * TARGET_CHAR_BIT); in h8300_gdbarch_init()
1251 set_gdbarch_addr_bit (gdbarch, 2 * TARGET_CHAR_BIT); in h8300_gdbarch_init()
[all …]
Ddwarf2expr.c203 if (buf_end - buf < TARGET_ADDR_BIT / TARGET_CHAR_BIT) in dwarf2_read_address()
206 *bytes_read = TARGET_ADDR_BIT / TARGET_CHAR_BIT; in dwarf2_read_address()
209 result = extract_unsigned_integer (buf, TARGET_ADDR_BIT / TARGET_CHAR_BIT); in dwarf2_read_address()
218 switch (TARGET_ADDR_BIT / TARGET_CHAR_BIT) in unsigned_address_type()
237 switch (TARGET_ADDR_BIT / TARGET_CHAR_BIT) in signed_address_type()
536 char *buf = alloca (TARGET_ADDR_BIT / TARGET_CHAR_BIT); in execute_stack_op()
540 TARGET_ADDR_BIT / TARGET_CHAR_BIT); in execute_stack_op()
543 / TARGET_CHAR_BIT), in execute_stack_op()
550 char *buf = alloca (TARGET_ADDR_BIT / TARGET_CHAR_BIT); in execute_stack_op()
556 / TARGET_CHAR_BIT), in execute_stack_op()
Dgnu-v3-abi.c116 = init_type (TYPE_CODE_INT, TARGET_PTR_BIT / TARGET_CHAR_BIT, 0, in build_gdb_vtable_type()
135 FIELD_BITPOS (*field) = offset * TARGET_CHAR_BIT; in build_gdb_vtable_type()
142 FIELD_BITPOS (*field) = offset * TARGET_CHAR_BIT; in build_gdb_vtable_type()
149 FIELD_BITPOS (*field) = offset * TARGET_CHAR_BIT; in build_gdb_vtable_type()
158 FIELD_BITPOS (*field) = offset * TARGET_CHAR_BIT; in build_gdb_vtable_type()
184 / TARGET_CHAR_BIT); in vtable_address_point_offset()
Dxstormy16-tdep.c809 set_gdbarch_short_bit (gdbarch, 2 * TARGET_CHAR_BIT); in xstormy16_gdbarch_init()
810 set_gdbarch_int_bit (gdbarch, 2 * TARGET_CHAR_BIT); in xstormy16_gdbarch_init()
811 set_gdbarch_long_bit (gdbarch, 4 * TARGET_CHAR_BIT); in xstormy16_gdbarch_init()
812 set_gdbarch_long_long_bit (gdbarch, 8 * TARGET_CHAR_BIT); in xstormy16_gdbarch_init()
814 set_gdbarch_float_bit (gdbarch, 4 * TARGET_CHAR_BIT); in xstormy16_gdbarch_init()
815 set_gdbarch_double_bit (gdbarch, 8 * TARGET_CHAR_BIT); in xstormy16_gdbarch_init()
816 set_gdbarch_long_double_bit (gdbarch, 8 * TARGET_CHAR_BIT); in xstormy16_gdbarch_init()
818 set_gdbarch_ptr_bit (gdbarch, 2 * TARGET_CHAR_BIT); in xstormy16_gdbarch_init()
819 set_gdbarch_addr_bit (gdbarch, 4 * TARGET_CHAR_BIT); in xstormy16_gdbarch_init()
Dax-gdb.c360 ax_ext (ax, TYPE_LENGTH (type) * TARGET_CHAR_BIT); in gen_sign_extend()
370 int bits = TYPE_LENGTH (type) * TARGET_CHAR_BIT; in gen_extend()
398 case 8 / TARGET_CHAR_BIT: in gen_fetch()
401 case 16 / TARGET_CHAR_BIT: in gen_fetch()
404 case 32 / TARGET_CHAR_BIT: in gen_fetch()
407 case 64 / TARGET_CHAR_BIT: in gen_fetch()
1230 int bound_start = (start / TARGET_CHAR_BIT) * TARGET_CHAR_BIT; in gen_bitfield_ref()
1231 int bound_end = (((end + TARGET_CHAR_BIT - 1) in gen_bitfield_ref()
1232 / TARGET_CHAR_BIT) in gen_bitfield_ref()
1233 * TARGET_CHAR_BIT); in gen_bitfield_ref()
[all …]
Dmipsv4-nat.c163 buf = alloca (TARGET_PTR_BIT / TARGET_CHAR_BIT); in get_longjmp_target()
167 TARGET_PTR_BIT / TARGET_CHAR_BIT)) in get_longjmp_target()
170 *pc = extract_unsigned_integer (buf, TARGET_PTR_BIT / TARGET_CHAR_BIT); in get_longjmp_target()
Davr-tdep.c1260 set_gdbarch_short_bit (gdbarch, 2 * TARGET_CHAR_BIT); in avr_gdbarch_init()
1261 set_gdbarch_int_bit (gdbarch, 2 * TARGET_CHAR_BIT); in avr_gdbarch_init()
1262 set_gdbarch_long_bit (gdbarch, 4 * TARGET_CHAR_BIT); in avr_gdbarch_init()
1263 set_gdbarch_long_long_bit (gdbarch, 8 * TARGET_CHAR_BIT); in avr_gdbarch_init()
1264 set_gdbarch_ptr_bit (gdbarch, 2 * TARGET_CHAR_BIT); in avr_gdbarch_init()
1267 set_gdbarch_float_bit (gdbarch, 4 * TARGET_CHAR_BIT); in avr_gdbarch_init()
1268 set_gdbarch_double_bit (gdbarch, 4 * TARGET_CHAR_BIT); in avr_gdbarch_init()
1269 set_gdbarch_long_double_bit (gdbarch, 4 * TARGET_CHAR_BIT); in avr_gdbarch_init()
Dirix5-nat.c184 buf = alloca (TARGET_PTR_BIT / TARGET_CHAR_BIT); in get_longjmp_target()
188 TARGET_PTR_BIT / TARGET_CHAR_BIT)) in get_longjmp_target()
191 *pc = extract_unsigned_integer (buf, TARGET_PTR_BIT / TARGET_CHAR_BIT); in get_longjmp_target()
Dsolib-irix.c504 read_memory (debug_base, addr_buf, TARGET_ADDR_BIT / TARGET_CHAR_BIT); in irix_current_sos()
505 lma = extract_mips_address (addr_buf, TARGET_ADDR_BIT / TARGET_CHAR_BIT); in irix_current_sos()
608 read_memory (debug_base, addr_buf, TARGET_ADDR_BIT / TARGET_CHAR_BIT); in irix_open_symbol_file_object()
609 lma = extract_mips_address (addr_buf, TARGET_ADDR_BIT / TARGET_CHAR_BIT); in irix_open_symbol_file_object()
Dada-lang.c1312 return TARGET_CHAR_BIT * TYPE_LENGTH (TYPE_FIELD_TYPE (type, 0)); in fat_pntr_data_bitsize()
2027 TYPE_LENGTH (VALUE_TYPE (fromval)) * TARGET_CHAR_BIT - in ada_value_assign()
5803 return TARGET_CHAR_BIT; in field_alignment()
5805 return atoi (name + align_offset) * TARGET_CHAR_BIT; in field_alignment()
6098 cond_offset_host (valaddr, off / TARGET_CHAR_BIT), in ada_template_to_fixed_record_type_1()
6099 cond_offset_target (address, off / TARGET_CHAR_BIT), dval); in ada_template_to_fixed_record_type_1()
6102 TYPE_LENGTH (TYPE_FIELD_TYPE (rtype, f)) * TARGET_CHAR_BIT; in ada_template_to_fixed_record_type_1()
6113 TYPE_LENGTH (TYPE_FIELD_TYPE (type, f)) * TARGET_CHAR_BIT; in ada_template_to_fixed_record_type_1()
6119 align_value (bit_len, TARGET_CHAR_BIT) / TARGET_CHAR_BIT; in ada_template_to_fixed_record_type_1()
6140 cond_offset_host (valaddr, off / TARGET_CHAR_BIT), in ada_template_to_fixed_record_type_1()
[all …]
Ddoublest.c637 if (len * TARGET_CHAR_BIT == TARGET_FLOAT_BIT) in floatformat_from_length()
639 else if (len * TARGET_CHAR_BIT == TARGET_DOUBLE_BIT) in floatformat_from_length()
641 else if (len * TARGET_CHAR_BIT == TARGET_LONG_DOUBLE_BIT) in floatformat_from_length()
648 && (len * TARGET_CHAR_BIT == in floatformat_from_length()
655 len * TARGET_CHAR_BIT); in floatformat_from_length()
Dd10v-tdep.c1474 set_gdbarch_ptr_bit (gdbarch, 2 * TARGET_CHAR_BIT); in d10v_gdbarch_init()
1479 set_gdbarch_short_bit (gdbarch, 2 * TARGET_CHAR_BIT); in d10v_gdbarch_init()
1480 set_gdbarch_int_bit (gdbarch, 2 * TARGET_CHAR_BIT); in d10v_gdbarch_init()
1481 set_gdbarch_long_bit (gdbarch, 4 * TARGET_CHAR_BIT); in d10v_gdbarch_init()
1482 set_gdbarch_long_long_bit (gdbarch, 8 * TARGET_CHAR_BIT); in d10v_gdbarch_init()
1485 set_gdbarch_float_bit (gdbarch, 4 * TARGET_CHAR_BIT); in d10v_gdbarch_init()
1486 set_gdbarch_double_bit (gdbarch, 4 * TARGET_CHAR_BIT); in d10v_gdbarch_init()
1487 set_gdbarch_long_double_bit (gdbarch, 8 * TARGET_CHAR_BIT); in d10v_gdbarch_init()
Dmips-linux-tdep.c77 char buf[TARGET_PTR_BIT / TARGET_CHAR_BIT]; in mips_linux_get_longjmp_target()
83 buf, TARGET_PTR_BIT / TARGET_CHAR_BIT)) in mips_linux_get_longjmp_target()
86 *pc = extract_unsigned_integer (buf, TARGET_PTR_BIT / TARGET_CHAR_BIT); in mips_linux_get_longjmp_target()
367 void *buf = alloca (TARGET_PTR_BIT / TARGET_CHAR_BIT); in mips64_linux_get_longjmp_target()
373 buf, TARGET_PTR_BIT / TARGET_CHAR_BIT)) in mips64_linux_get_longjmp_target()
376 *pc = extract_unsigned_integer (buf, TARGET_PTR_BIT / TARGET_CHAR_BIT); in mips64_linux_get_longjmp_target()
Darm-linux-tdep.c119 nstack_size += TARGET_DOUBLE_BIT / TARGET_CHAR_BIT; in arm_linux_push_arguments()
169 len = TARGET_DOUBLE_BIT / TARGET_CHAR_BIT; in arm_linux_push_arguments()
Dsh-tdep.c2587 set_gdbarch_short_bit (gdbarch, 2 * TARGET_CHAR_BIT); in sh_gdbarch_init()
2588 set_gdbarch_int_bit (gdbarch, 4 * TARGET_CHAR_BIT); in sh_gdbarch_init()
2589 set_gdbarch_long_bit (gdbarch, 4 * TARGET_CHAR_BIT); in sh_gdbarch_init()
2590 set_gdbarch_long_long_bit (gdbarch, 8 * TARGET_CHAR_BIT); in sh_gdbarch_init()
2591 set_gdbarch_float_bit (gdbarch, 4 * TARGET_CHAR_BIT); in sh_gdbarch_init()
2592 set_gdbarch_double_bit (gdbarch, 8 * TARGET_CHAR_BIT); in sh_gdbarch_init()
2593 set_gdbarch_long_double_bit (gdbarch, 8 * TARGET_CHAR_BIT); in sh_gdbarch_init()
2594 set_gdbarch_ptr_bit (gdbarch, 4 * TARGET_CHAR_BIT); in sh_gdbarch_init()
2644 set_gdbarch_double_bit (gdbarch, 4 * TARGET_CHAR_BIT); in sh_gdbarch_init()
2688 set_gdbarch_double_bit (gdbarch, 4 * TARGET_CHAR_BIT); in sh_gdbarch_init()
Dsh64-tdep.c2807 set_gdbarch_ptr_bit (gdbarch, 8 * TARGET_CHAR_BIT); in sh64_gdbarch_init()
2808 set_gdbarch_long_bit (gdbarch, 8 * TARGET_CHAR_BIT); in sh64_gdbarch_init()
2815 set_gdbarch_ptr_bit (gdbarch, 4 * TARGET_CHAR_BIT); in sh64_gdbarch_init()
2816 set_gdbarch_long_bit (gdbarch, 4 * TARGET_CHAR_BIT); in sh64_gdbarch_init()
2819 set_gdbarch_short_bit (gdbarch, 2 * TARGET_CHAR_BIT); in sh64_gdbarch_init()
2820 set_gdbarch_int_bit (gdbarch, 4 * TARGET_CHAR_BIT); in sh64_gdbarch_init()
2821 set_gdbarch_long_long_bit (gdbarch, 8 * TARGET_CHAR_BIT); in sh64_gdbarch_init()
2822 set_gdbarch_float_bit (gdbarch, 4 * TARGET_CHAR_BIT); in sh64_gdbarch_init()
2823 set_gdbarch_double_bit (gdbarch, 8 * TARGET_CHAR_BIT); in sh64_gdbarch_init()
2824 set_gdbarch_long_double_bit (gdbarch, 8 * TARGET_CHAR_BIT); in sh64_gdbarch_init()
Dm68k-tdep.c1064 buf = alloca (TARGET_PTR_BIT / TARGET_CHAR_BIT); in m68k_get_longjmp_target()
1068 buf, TARGET_PTR_BIT / TARGET_CHAR_BIT)) in m68k_get_longjmp_target()
1071 jb_addr = extract_unsigned_integer (buf, TARGET_PTR_BIT / TARGET_CHAR_BIT); in m68k_get_longjmp_target()
1074 TARGET_PTR_BIT / TARGET_CHAR_BIT)) in m68k_get_longjmp_target()
1077 *pc = extract_unsigned_integer (buf, TARGET_PTR_BIT / TARGET_CHAR_BIT); in m68k_get_longjmp_target()
Dvalarith.c233 offset = index / TARGET_CHAR_BIT; in value_subscript()
235 bit_index = index % TARGET_CHAR_BIT; in value_subscript()
236 byte >>= (BITS_BIG_ENDIAN ? TARGET_CHAR_BIT - 1 - bit_index : bit_index); in value_subscript()
1385 valaddr + (rel_index / TARGET_CHAR_BIT)); in value_bit_index()
1386 rel_index %= TARGET_CHAR_BIT; in value_bit_index()
1388 rel_index = TARGET_CHAR_BIT - 1 - rel_index; in value_bit_index()
Dstabsread.c769 sizeof (int) * HOST_CHAR_BIT / TARGET_CHAR_BIT, 0, in define_symbol()
973 init_type (TYPE_CODE_INT, TARGET_INT_BIT / TARGET_CHAR_BIT, in define_symbol()
978 init_type (TYPE_CODE_INT, TARGET_INT_BIT / TARGET_CHAR_BIT, in define_symbol()
1895 TYPE_LENGTH (type) = (type_size + TARGET_CHAR_BIT - 1) / TARGET_CHAR_BIT; in read_type()
1920 #if TARGET_CHAR_BIT != 8 in rs6000_builtin_type()
1921 #error This code wrong for TARGET_CHAR_BIT not 8 in rs6000_builtin_type()
2783 == TARGET_CHAR_BIT * TYPE_LENGTH (field_type) in read_one_struct_field()
3595 type_bits / TARGET_CHAR_BIT, in read_sun_builtin_type()
3809 return init_type (TYPE_CODE_INT, nbits / TARGET_CHAR_BIT, in read_range_type()
3856 return init_type (TYPE_CODE_INT, TARGET_INT_BIT / TARGET_CHAR_BIT, in read_range_type()
[all …]

123