/netbsd-src/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() 248 if (ctf_type_encoding(fp, mp->ctm_type, &e) != 0 || e.cte_bits > 64) { in dt_cg_field_get() 250 "bits %u\n", mp->ctm_offset, mp->ctm_type, e.cte_bits); in dt_cg_field_get() 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() 284 shift = clp2(P2ROUNDUP(e.cte_bits, NBBY) / NBBY) * NBBY - 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() 353 if (ctf_type_encoding(fp, m.ctm_type, &e) != 0 || e.cte_bits > 64) { 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)
|
H A D | dt_decl.c | 594 if (dnp->dn_value > cte.cte_bits) { in dt_decl_member() 600 cte.cte_bits = (uint_t)dnp->dn_value; in dt_decl_member()
|
H A D | dt_parser.c | 383 lrank = le.cte_bits + ((le.cte_format & CTF_INT_SIGNED) == 0); in dt_type_promote() 384 rrank = re.cte_bits + ((re.cte_format & CTF_INT_SIGNED) == 0); in dt_type_promote() 690 size_t size = e.cte_bits / NBBY; in dt_node_type_assign() 692 if (size > 8 || (e.cte_bits % NBBY) != 0 || (size & (size - 1))) in dt_node_type_assign() 700 if (e.cte_bits / NBBY > sizeof (uint64_t)) in dt_node_type_assign()
|
H A D | dt_printf.c | 131 ctf_type_encoding(ctfp, base, &e) == 0 && e.cte_bits == 32); in pfcheck_wstr()
|
/netbsd-src/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
|
H A D | btfout.cc | 919 dtd->dtd_u.dtu_enc.cte_bits); in output_asm_btf_vlen_bytes()
|
H A D | ctfc.cc | 415 uint32_t roundup_nbytes = (ROUND_UP (ep->cte_bits, BITS_PER_UNIT) in ctf_add_encoded()
|
/netbsd-src/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 | 544 dtd->dtd_data.ctt_size = clp2 (P2ROUNDUP (ep->cte_bits, CHAR_BIT) in ctf_add_encoded() 549 encoding = CTF_INT_DATA (ep->cte_format, ep->cte_offset, ep->cte_bits); in ctf_add_encoded() 552 encoding = CTF_FP_DATA (ep->cte_format, ep->cte_offset, ep->cte_bits); in ctf_add_encoded() 614 if ((ep->cte_bits > 255) || (ep->cte_offset > 255)) in ctf_add_slice() 642 dtd->dtd_data.ctt_size = clp2 (P2ROUNDUP (ep->cte_bits, CHAR_BIT) in ctf_add_slice() 645 slice.cts_bits = ep->cte_bits; in ctf_add_slice() 1244 off += linfo.cte_bits; in ctf_add_member_offset()
|
H A D | ctf-types.c | 1207 ep->cte_bits = CTF_INT_BITS (data); in ctf_type_encoding() 1213 ep->cte_bits = CTF_FP_BITS (data); in ctf_type_encoding() 1219 ep->cte_bits = 0; in ctf_type_encoding() 1234 ep->cte_bits = slice->cts_bits; in ctf_type_encoding()
|
/netbsd-src/external/gpl3/binutils.old/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-src/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-src/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()
|
H A D | ctf_open.c | 378 &cte) == 0 && cte.cte_bits == 0) { in init_types()
|
/netbsd-src/external/gpl3/binutils/dist/include/ |
H A D | ctf-api.h | 140 uint32_t cte_bits; /* Size of storage in bits. */ member
|
/netbsd-src/external/gpl3/binutils.old/dist/include/ |
H A D | ctf-api.h | 140 uint32_t cte_bits; /* Size of storage in bits. */ member
|