Lines Matching refs:ctfp

45 type_name(ctf_file_t *ctfp, ctf_id_t type, char *buf, size_t len)  in type_name()  argument
47 if (ctf_type_name(ctfp, type, buf, len) == NULL) in type_name()
54 print_value(ctf_file_t *ctfp, ctf_id_t type, ulong_t value) in print_value() argument
56 ctf_id_t rtype = ctf_type_resolve(ctfp, type); in print_value()
61 if (ctf_type_kind(ctfp, rtype) == CTF_K_POINTER) { in print_value()
62 type = ctf_type_reference(ctfp, rtype); in print_value()
63 rtype = ctf_type_resolve(ctfp, type); in print_value()
65 if (ctf_type_encoding(ctfp, rtype, &e) == 0 && in print_value()
77 if (ctf_type_kind(ctfp, rtype) == CTF_K_STRUCT) { in print_value()
83 pa.pa_ctfp = ctfp; in print_value()
87 (void) ctf_type_visit(ctfp, rtype, elt_print, &pa); in print_value()
141 ctf_file_t *ctfp = pap->pa_ctfp; in print_int() local
146 if (ctf_type_encoding(ctfp, base, &e) == CTF_ERR) { in print_int()
193 ctf_file_t *ctfp = pap->pa_ctfp; in print_float() local
203 if (ctf_type_encoding(ctfp, base, &e) == 0) { in print_float()
223 ctf_file_t *ctfp = pap->pa_ctfp; in print_ptr() local
227 if (ctf_type_kind(ctfp, base) != CTF_K_POINTER) in print_ptr()
230 if ((base = ctf_type_reference(ctfp, base)) == CTF_ERR) in print_ptr()
233 if ((base = ctf_type_resolve(ctfp, base)) == CTF_ERR) in print_ptr()
236 if (ctf_type_encoding(ctfp, base, &e) != 0) in print_ptr()
266 ctf_file_t *ctfp = pap->pa_ctfp; in print_enum() local
270 if ((ename = ctf_enum_name(ctfp, base, value)) != NULL) in print_enum()
303 ctf_file_t *ctfp = pap->pa_ctfp; in elt_print() local
310 if ((base = ctf_type_resolve(ctfp, id)) == CTF_ERR || in elt_print()
311 (kind = ctf_type_kind(ctfp, base)) == CTF_ERR) in elt_print()
314 if (ctf_type_name(ctfp, id, type, sizeof (type)) == NULL) in elt_print()