Lines Matching refs:ctfp

117 dt_print_type_name(ctf_file_t *ctfp, ctf_id_t id, char *buf, size_t buflen)  in dt_print_type_name()  argument
119 if (ctf_type_name(ctfp, id, buf, buflen) == NULL) in dt_print_type_name()
239 ctf_file_t *ctfp = pap->pa_ctfp; in dt_print_int() local
245 if (ctf_type_encoding(ctfp, base, &e) == CTF_ERR) { in dt_print_int()
301 ctf_file_t *ctfp = pap->pa_ctfp; in dt_print_float() local
306 if (ctf_type_encoding(ctfp, base, &e) == 0) { in dt_print_float()
330 ctf_file_t *ctfp = pap->pa_ctfp; in dt_print_ptr() local
332 size_t size = ctf_type_size(ctfp, base); in dt_print_ptr()
333 ctf_id_t bid = ctf_type_reference(ctfp, base); in dt_print_ptr()
338 if (bid == CTF_ERR || ctf_type_kind(ctfp, bid) != CTF_K_FUNCTION) { in dt_print_ptr()
381 ctf_file_t *ctfp = pap->pa_ctfp; in dt_print_array() local
393 if (ctf_array_info(ctfp, base, &car) == CTF_ERR) { in dt_print_array()
398 if ((eltsize = ctf_type_size(ctfp, car.ctr_contents)) < 0 || in dt_print_array()
399 (rtype = ctf_type_resolve(ctfp, car.ctr_contents)) == CTF_ERR || in dt_print_array()
400 (kind = ctf_type_kind(ctfp, rtype)) == CTF_ERR) { in dt_print_array()
409 ctf_type_encoding(ctfp, rtype, &e) != CTF_ERR && CTF_IS_CHAR(e)) { in dt_print_array()
466 (void) ctf_type_visit(ctfp, car.ctr_contents, in dt_print_array()
478 (void) ctf_type_visit(ctfp, car.ctr_contents, in dt_print_array()
530 ctf_file_t *ctfp = pap->pa_ctfp; in dt_print_enum() local
542 size = ctf_type_size(ctfp, base); in dt_print_enum()
559 if ((ename = ctf_enum_name(ctfp, base, value)) != NULL) { in dt_print_enum()
603 ctf_file_t *ctfp = pap->pa_ctfp; in dt_format_member() local
609 if ((rtype = ctf_type_resolve(ctfp, id)) == CTF_ERR || in dt_format_member()
610 (kind = ctf_type_kind(ctfp, rtype)) == CTF_ERR || in dt_format_member()
618 dt_print_type_name(ctfp, id, type, sizeof (type)); in dt_format_member()
647 ctf_file_t *ctfp = pap->pa_ctfp; in dt_print_member() local
662 if ((rtype = ctf_type_resolve(ctfp, id)) == CTF_ERR || in dt_print_member()
663 (kind = ctf_type_kind(ctfp, rtype)) == CTF_ERR || in dt_print_member()
670 dt_print_type_name(ctfp, id, type, sizeof (type)); in dt_print_member()
710 ctf_type_encoding(ctfp, id, &e) == 0) { in dt_print_member()
717 size != ctf_type_size(ctfp, id)) { in dt_print_member()
744 ctf_file_t *ctfp; in dt_print_prepare() local
773 ctfp = dmp->dm_libctfp[libid]; in dt_print_prepare()
775 ctfp = dt_module_getctf(dtp, dmp); in dt_print_prepare()
785 if (ctfp == NULL || ctf_type_kind(ctfp, id) == CTF_ERR) in dt_print_prepare()
790 pa->pa_ctfp = ctfp; in dt_print_prepare()