/netbsd/external/cddl/osnet/dist/lib/libdtrace/common/ |
H A D | dt_print.c | 90 (CTF_INT_CHAR | CTF_INT_SIGNED) && (e).cte_bits == NBBY) 159 uint64_t mask = (1ULL << ep->cte_bits) - 1; in print_bitfield() 161 size_t size = (ep->cte_bits + (NBBY - 1)) / NBBY; in print_bitfield() 172 off += ep->cte_bits; in print_bitfield() 255 size = e.cte_bits / NBBY; in dt_print_int() 256 if (size > 8 || (e.cte_bits % NBBY) != 0 || (size & (size - 1)) != 0) { in dt_print_int() 292 e.cte_bits == sizeof (float) * NBBY) { in dt_print_float() 296 e.cte_bits == sizeof (double) * NBBY) { in dt_print_float() 300 e.cte_bits == sizeof (long double) * NBBY) { in dt_print_float() 613 ulong_t bits = e.cte_bits; in dt_print_member()
|
H A D | dt_cg.c | 168 size = clp2(P2ROUNDUP(e.cte_bits, NBBY) / NBBY); in dt_cg_load() 270 shift = clp2(P2ROUNDUP(e.cte_bits, NBBY) / NBBY) * NBBY - in dt_cg_field_get() 273 shift = mp->ctm_offset % NBBY + e.cte_bits; in dt_cg_field_get() 279 dt_cg_setx(dlp, r2, 64 - e.cte_bits); in dt_cg_field_get() 285 (mp->ctm_offset % NBBY + e.cte_bits); in dt_cg_field_get() 293 dt_cg_setx(dlp, r2, (1ULL << e.cte_bits) - 1); in dt_cg_field_get() 355 "bits %u\n", m.ctm_offset, m.ctm_type, e.cte_bits); in dt_cg_field_set() 371 shift = clp2(P2ROUNDUP(e.cte_bits, NBBY) / NBBY) * NBBY - in dt_cg_field_set() 372 (m.ctm_offset % NBBY + e.cte_bits); in dt_cg_field_set() 376 fmask = (1ULL << e.cte_bits) - 1; in dt_cg_field_set() [all …]
|
H A D | dt_parser.h | 262 (CTF_INT_CHAR | CTF_INT_SIGNED) && (e).cte_bits == NBBY) 265 ((e).cte_offset == 0 && (e).cte_bits == 0)
|
/netbsd/external/gpl3/gcc/dist/gcc/ |
H A D | dwarf2ctf.cc | 167 ctf_encoding.cte_bits = 0; in gen_ctf_void_type() 236 ctf_encoding.cte_bits = 0; in gen_ctf_base_type() 246 ctf_encoding.cte_bits = bit_size; in gen_ctf_base_type() 271 ctf_encoding.cte_bits = bit_size; in gen_ctf_base_type() 293 ctf_encoding.cte_bits = bit_size; in gen_ctf_base_type() 317 ctf_encoding.cte_bits = bit_size; in gen_ctf_base_type()
|
H A D | ctfout.cc | 707 ctftype->dtd_u.dtu_enc.cte_bits); in output_asm_ctf_vlen_bytes() 713 ctftype->dtd_u.dtu_enc.cte_bits); in output_asm_ctf_vlen_bytes()
|
H A D | ctfc.h | 77 unsigned int cte_bits; /* Size of storage in bits. */ member
|
/netbsd/external/gpl3/gdb/dist/libctf/ |
H A D | ctf-dump.c | 138 enc.cte_offset, enc.cte_bits) < 0) in ctf_dump_format_type() 145 enc.cte_offset, enc.cte_bits) < 0) in ctf_dump_format_type() 550 ep.cte_bits, (unsigned long) ctf_type_align (state->cdm_fp, in ctf_dump_member() 573 ep.cte_offset, ep.cte_bits) < 0) in ctf_dump_member()
|
H A D | ctf-create.c | 425 dtd->dtd_u.dtu_enc.cte_bits); in ctf_serialize() 431 dtd->dtd_u.dtu_enc.cte_bits); in ctf_serialize() 909 dtd->dtd_data.ctt_size = clp2 (P2ROUNDUP (ep->cte_bits, CHAR_BIT) in ctf_add_encoded() 979 if ((ep->cte_bits > 255) || (ep->cte_offset > 255)) in ctf_add_slice() 1004 dtd->dtd_data.ctt_size = clp2 (P2ROUNDUP (ep->cte_bits, CHAR_BIT) in ctf_add_slice() 1007 dtd->dtd_u.dtu_slice.cts_bits = ep->cte_bits; in ctf_add_slice() 1482 off += linfo.cte_bits; in ctf_add_member_offset()
|
H A D | ctf-types.c | 1202 ep->cte_bits = slice->cts_bits; in ctf_type_encoding() 1219 ep->cte_bits = CTF_INT_BITS (data); in ctf_type_encoding() 1225 ep->cte_bits = CTF_FP_BITS (data); in ctf_type_encoding() 1239 ep->cte_bits = slice->cts_bits; in ctf_type_encoding()
|
/netbsd/external/gpl3/binutils/dist/libctf/ |
H A D | ctf-dump.c | 151 if ((ssize_t) ep.cte_bits != ctf_type_size (fp, id) * CHAR_BIT in ctf_dump_format_type() 154 if (asprintf (&bit, ":%i", ep.cte_bits) < 0) in ctf_dump_format_type() 161 if ((ssize_t) ep.cte_bits != ctf_type_size (fp, id) * CHAR_BIT in ctf_dump_format_type() 170 slice, ep.cte_offset, ep.cte_bits) < 0) in ctf_dump_format_type()
|
H A D | ctf-create.c | 548 dtd->dtd_data.ctt_size = clp2 (P2ROUNDUP (ep->cte_bits, CHAR_BIT) in ctf_add_encoded() 553 encoding = CTF_INT_DATA (ep->cte_format, ep->cte_offset, ep->cte_bits); in ctf_add_encoded() 556 encoding = CTF_FP_DATA (ep->cte_format, ep->cte_offset, ep->cte_bits); in ctf_add_encoded() 618 if ((ep->cte_bits > 255) || (ep->cte_offset > 255)) in ctf_add_slice() 646 dtd->dtd_data.ctt_size = clp2 (P2ROUNDUP (ep->cte_bits, CHAR_BIT) in ctf_add_slice() 649 slice.cts_bits = ep->cte_bits; in ctf_add_slice() 1219 off += linfo.cte_bits; in ctf_add_member_offset()
|
H A D | ctf-types.c | 1198 ep->cte_bits = CTF_INT_BITS (data); in ctf_type_encoding() 1204 ep->cte_bits = CTF_FP_BITS (data); in ctf_type_encoding() 1210 ep->cte_bits = 0; in ctf_type_encoding() 1225 ep->cte_bits = slice->cts_bits; in ctf_type_encoding()
|
/netbsd/external/gpl3/gdb.old/dist/libctf/ |
H A D | ctf-dump.c | 138 enc.cte_offset, enc.cte_bits) < 0) in ctf_dump_format_type() 145 enc.cte_offset, enc.cte_bits) < 0) in ctf_dump_format_type() 550 ep.cte_bits, (unsigned long) ctf_type_align (state->cdm_fp, in ctf_dump_member() 573 ep.cte_offset, ep.cte_bits) < 0) in ctf_dump_member()
|
H A D | ctf-create.c | 425 dtd->dtd_u.dtu_enc.cte_bits); in ctf_serialize() 431 dtd->dtd_u.dtu_enc.cte_bits); in ctf_serialize() 909 dtd->dtd_data.ctt_size = clp2 (P2ROUNDUP (ep->cte_bits, CHAR_BIT) in ctf_add_encoded() 979 if ((ep->cte_bits > 255) || (ep->cte_offset > 255)) in ctf_add_slice() 1004 dtd->dtd_data.ctt_size = clp2 (P2ROUNDUP (ep->cte_bits, CHAR_BIT) in ctf_add_slice() 1007 dtd->dtd_u.dtu_slice.cts_bits = ep->cte_bits; in ctf_add_slice() 1482 off += linfo.cte_bits; in ctf_add_member_offset()
|
H A D | ctf-types.c | 1202 ep->cte_bits = slice->cts_bits; in ctf_type_encoding() 1219 ep->cte_bits = CTF_INT_BITS (data); in ctf_type_encoding() 1225 ep->cte_bits = CTF_FP_BITS (data); in ctf_type_encoding() 1239 ep->cte_bits = slice->cts_bits; in ctf_type_encoding()
|
/netbsd/external/gpl3/gdb/dist/gdb/ |
H A D | ctfread.c | 282 return cet.cte_bits; 540 if (cet.cte_bits && ((cet.cte_bits % TARGET_CHAR_BIT) == 0)) 541 bits = cet.cte_bits; 554 type = ctf_init_float_type (of, cet.cte_bits, name, name); 558 = ctf_init_float_type (of, cet.cte_bits / 2, NULL, name); 565 type = init_type (of, TYPE_CODE_ERROR, cet.cte_bits, name);
|
/netbsd/external/gpl3/gdb.old/dist/gdb/ |
H A D | ctfread.c | 282 return cet.cte_bits; 540 if (cet.cte_bits && ((cet.cte_bits % TARGET_CHAR_BIT) == 0)) 541 bits = cet.cte_bits; 554 type = ctf_init_float_type (of, cet.cte_bits, name, name); 558 = ctf_init_float_type (of, cet.cte_bits / 2, NULL, name); 565 type = init_type (of, TYPE_CODE_ERROR, cet.cte_bits, name);
|
/netbsd/external/cddl/osnet/dist/uts/common/sys/ |
H A D | ctf_api.h | 90 uint_t cte_bits; /* size of storage in bits */ member
|
/netbsd/external/gpl3/binutils.old/dist/libctf/ |
H A D | ctf-types.c | 757 ep->cte_bits = slice->cts_bits; in ctf_type_encoding() 774 ep->cte_bits = CTF_INT_BITS (data); in ctf_type_encoding() 780 ep->cte_bits = CTF_FP_BITS (data); in ctf_type_encoding() 792 ep->cte_bits = slice->cts_bits; in ctf_type_encoding()
|
H A D | ctf-create.c | 419 dtd->dtd_u.dtu_enc.cte_bits); in ctf_serialize() 425 dtd->dtd_u.dtu_enc.cte_bits); in ctf_serialize() 876 dtd->dtd_data.ctt_size = clp2 (P2ROUNDUP (ep->cte_bits, CHAR_BIT) in ctf_add_encoded() 945 if ((ep->cte_bits > 255) || (ep->cte_offset > 255)) in ctf_add_slice() 963 dtd->dtd_data.ctt_size = clp2 (P2ROUNDUP (ep->cte_bits, CHAR_BIT) in ctf_add_slice() 966 dtd->dtd_u.dtu_slice.cts_bits = ep->cte_bits; in ctf_add_slice() 1408 off += linfo.cte_bits; in ctf_add_member_offset()
|
H A D | ctf-dump.c | 138 nonroot_leader, id, enc.cte_offset, enc.cte_bits, in ctf_dump_format_type() 566 ep.cte_offset, ep.cte_bits) < 0) in ctf_dump_member()
|
/netbsd/external/cddl/osnet/dist/common/ctf/ |
H A D | ctf_create.c | 369 dtd->dtd_u.dtu_enc.cte_bits); in ctf_update() 374 dtd->dtd_u.dtu_enc.cte_bits); in ctf_update() 683 dtd->dtd_data.ctt_size = clp2(P2ROUNDUP(ep->cte_bits, NBBY) / NBBY); in ctf_add_encoded() 1111 off += linfo.cte_bits; in ctf_add_member()
|
H A D | ctf_types.c | 548 ep->cte_bits = CTF_INT_BITS(data); in ctf_type_encoding() 554 ep->cte_bits = CTF_FP_BITS(data); in ctf_type_encoding()
|
/netbsd/external/gpl3/binutils.old/dist/include/ |
H A D | ctf-api.h | 110 uint32_t cte_bits; /* Size of storage in bits. */ member
|
/netbsd/external/gpl3/gdb/dist/include/ |
H A D | ctf-api.h | 120 uint32_t cte_bits; /* Size of storage in bits. */ member
|