/illumos-gate/usr/src/lib/abi/apptrace/common/ |
H A D | apptraceutil.c | 67 (CTF_INT_CHAR | CTF_INT_SIGNED) && e.cte_bits == NBBY) { in print_value() 99 uint64_t mask = (1ULL << ep->cte_bits) - 1; in print_bitfield() 102 size_t size = (ep->cte_bits + (NBBY - 1)) / NBBY; in print_bitfield() 114 off += ep->cte_bits; in print_bitfield() 158 size = e.cte_bits / NBBY; in print_int() 159 if (size > 8 || (e.cte_bits % NBBY) != 0 || (size & (size - 1)) != 0) { in print_int() 165 (CTF_INT_CHAR | CTF_INT_SIGNED) && (e).cte_bits == NBBY) { in print_int() 205 e.cte_bits == sizeof (float) * NBBY) { in print_float() 208 e.cte_bits == sizeof (double) * NBBY) { in print_float() 211 e.cte_bits == sizeof (long double) * NBBY) { in print_float() [all …]
|
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_print.c | 91 (CTF_INT_CHAR | CTF_INT_SIGNED) && (e).cte_bits == NBBY) 161 uint64_t mask = (1ULL << ep->cte_bits) - 1; in print_bitfield() 172 uint_t nbits = ep->cte_bits + (off % NBBY); in print_bitfield() 195 off += ep->cte_bits; in print_bitfield() 274 size = e.cte_bits / NBBY; in dt_print_int() 311 e.cte_bits == sizeof (float) * NBBY) { in dt_print_float() 315 e.cte_bits == sizeof (double) * NBBY) { in dt_print_float() 319 e.cte_bits == sizeof (long double) * NBBY) { in dt_print_float() 634 ulong_t bits = e.cte_bits; in dt_print_member()
|
H A D | dt_cg.c | 170 uint_t nbits = e.cte_bits + (dnp->dn_bitoff % NBBY); in dt_cg_load() 274 shift = clp2(P2ROUNDUP(e.cte_bits, NBBY) / NBBY) * NBBY - in dt_cg_field_get() 277 shift = mp->ctm_offset % NBBY + e.cte_bits; in dt_cg_field_get() 283 dt_cg_setx(dlp, r2, 64 - e.cte_bits); in dt_cg_field_get() 289 (mp->ctm_offset % NBBY + e.cte_bits); in dt_cg_field_get() 297 dt_cg_setx(dlp, r2, (1ULL << e.cte_bits) - 1); in dt_cg_field_get() 359 "bits %u\n", m.ctm_offset, m.ctm_type, e.cte_bits); in dt_cg_field_set() 375 shift = clp2(P2ROUNDUP(e.cte_bits, NBBY) / NBBY) * NBBY - in dt_cg_field_set() 376 (m.ctm_offset % NBBY + e.cte_bits); in dt_cg_field_set() 380 fmask = (1ULL << e.cte_bits) - 1; in dt_cg_field_set() [all …]
|
H A D | dt_parser.h | 266 (CTF_INT_CHAR | CTF_INT_SIGNED) && (e).cte_bits == NBBY) 269 ((e).cte_offset == 0 && (e).cte_bits == 0)
|
H A D | dt_subr.c | 931 size_t bsize = ep->cte_bits / NBBY; in dt_is_bitfield() 932 return (bsize > 8 || (ep->cte_bits % NBBY) != 0 || in dt_is_bitfield()
|
H A D | dt_decl.c | 634 if (dnp->dn_value > cte.cte_bits) { in dt_decl_member() 640 cte.cte_bits = (uint_t)dnp->dn_value; in dt_decl_member()
|
H A D | dt_parser.c | 379 lrank = le.cte_bits + ((le.cte_format & CTF_INT_SIGNED) == 0); in dt_type_promote() 380 rrank = re.cte_bits + ((re.cte_format & CTF_INT_SIGNED) == 0); in dt_type_promote() 695 if (e.cte_bits / NBBY > sizeof (uint64_t)) in dt_node_type_assign_member()
|
H A D | dt_printf.c | 128 ctf_type_encoding(ctfp, base, &e) == 0 && e.cte_bits == 32); in pfcheck_wstr()
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_print.c | 874 size_t bsize = ep->cte_bits / NBBY; in is_bitfield() 922 off += ep->cte_bits; in print_bitfield() 1026 size = ep->cte_bits / NBBY; in print_int_val() 1154 e.cte_format, e.cte_bits); in print_float() 1543 e.cte_bits = bits; in print_hole() 1684 newoff = off + e.cte_bits; in elt_print() 1741 ulong_t bits = e.cte_bits; in elt_print() 1840 size = e.cte_bits / NBBY; in pipe_print() 2635 size = e.cte_bits / NBBY; in printf_signed() 2657 nbits = e.cte_bits + (off % NBBY); in printf_signed() [all …]
|
H A D | mdb_ctf.c | 976 size = e.cte_bits; in offset_to_name_cb()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | ctf_api.h | 145 uint_t cte_bits; /* size of storage in bits */ member
|
/illumos-gate/usr/src/common/ctf/ |
H A D | ctf_create.c | 538 dtd->dtd_u.dtu_enc.cte_bits); in ctf_update() 543 dtd->dtd_u.dtu_enc.cte_bits); in ctf_update() 1012 dtd->dtd_data.ctt_size = ep->cte_bits / NBBY; in ctf_add_encoded() 1013 if ((ep->cte_bits % NBBY) != 0) in ctf_add_encoded() 1502 mbitsz = e.cte_bits; in ctf_add_member() 1546 off += linfo.cte_bits; in ctf_add_member()
|
H A D | ctf_types.c | 706 ep->cte_bits = CTF_INT_BITS(data); in ctf_type_encoding() 712 ep->cte_bits = CTF_FP_BITS(data); in ctf_type_encoding()
|
H A D | ctf_open.c | 376 &cte) == 0 && cte.cte_bits == 0) { in init_types()
|
/illumos-gate/usr/src/tools/ctf/stabs/common/ |
H A D | fth_struct.c | 382 e.cte_bits, mem->fsm_format, level)); in fth_print_member()
|
/illumos-gate/usr/src/test/util-tests/tests/ctf/ |
H A D | check-common.c | 189 if (enc.cte_bits != tests[i].cn_size) { in ctftest_check_numbers() 191 "expected 0x%x", tests[i].cn_tname, enc.cte_bits, in ctftest_check_numbers()
|
/illumos-gate/usr/src/lib/libctf/common/ |
H A D | ctf_dwarf.c | 387 enc.cte_bits = cup->cu_ptrsz * 8; in ctf_dwarf_long() 993 if (ent->cdfe_size * mult * 8 == enc->cte_bits) { in ctf_dwarf_float_base() 1001 type, enc->cte_bits); in ctf_dwarf_float_base() 1154 enc.cte_bits = sz * 8; in ctf_dwarf_create_base() 1329 e.cte_bits = dtd->dtd_data.ctt_size * NBBY; in ctf_dwarf_member_bitfield() 1347 e.cte_bits = bitsz; in ctf_dwarf_member_bitfield()
|
/illumos-gate/usr/src/cmd/ctfdump/ |
H A D | ctfdump.c | 543 name, ienc, cte.cte_offset, cte.cte_bits); in ctfdump_types_cb() 554 "bits=%u", name, encn, cte.cte_offset, cte.cte_bits); in ctfdump_types_cb()
|