Lines Matching refs:ctfp
114 dt_print_type_name(ctf_file_t *ctfp, ctf_id_t id, char *buf, size_t buflen)
116 if (ctf_type_name(ctfp, id, buf, buflen) == NULL)
232 ctf_file_t *ctfp = pap->pa_ctfp;
237 if (ctf_type_encoding(ctfp, base, &e) == CTF_ERR) {
286 ctf_file_t *ctfp = pap->pa_ctfp;
290 if (ctf_type_encoding(ctfp, base, &e) == 0) {
317 ctf_file_t *ctfp = pap->pa_ctfp;
319 size_t size = ctf_type_size(ctfp, base);
320 ctf_id_t bid = ctf_type_reference(ctfp, base);
325 if (bid == CTF_ERR || ctf_type_kind(ctfp, bid) != CTF_K_FUNCTION) {
369 ctf_file_t *ctfp = pap->pa_ctfp;
379 if (ctf_array_info(ctfp, base, &car) == CTF_ERR) {
384 if ((eltsize = ctf_type_size(ctfp, car.ctr_contents)) < 0 ||
385 (rtype = ctf_type_resolve(ctfp, car.ctr_contents)) == CTF_ERR ||
386 (kind = ctf_type_kind(ctfp, rtype)) == CTF_ERR) {
394 ctf_type_encoding(ctfp, rtype, &e) != CTF_ERR && CTF_IS_CHAR(e)) {
437 (void) ctf_type_visit(ctfp, car.ctr_contents,
479 ctf_file_t *ctfp = pap->pa_ctfp;
490 size = ctf_type_size(ctfp, base);
506 if ((ename = ctf_enum_name(ctfp, base, value)) != NULL)
549 ctf_file_t *ctfp = pap->pa_ctfp;
564 if ((rtype = ctf_type_resolve(ctfp, id)) == CTF_ERR ||
565 (kind = ctf_type_kind(ctfp, rtype)) == CTF_ERR ||
572 dt_print_type_name(ctfp, id, type, sizeof (type));
612 ctf_type_encoding(ctfp, id, &e) == 0) {
619 size != ctf_type_size(ctfp, id)) {