Lines Matching defs: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);
508 if ((ename = ctf_enum_name(ctfp, base, value)) != NULL)
551 ctf_file_t *ctfp = pap->pa_ctfp;
566 if ((rtype = ctf_type_resolve(ctfp, id)) == CTF_ERR ||
567 (kind = ctf_type_kind(ctfp, rtype)) == CTF_ERR ||
574 dt_print_type_name(ctfp, id, type, sizeof (type));
614 ctf_type_encoding(ctfp, id, &e) == 0) {
621 size != ctf_type_size(ctfp, id)) {
652 ctf_file_t *ctfp;
681 ctfp = dmp->dm_libctfp[libid];
683 ctfp = dt_module_getctf(dtp, dmp);
693 if (ctfp == NULL || ctf_type_kind(ctfp, id) == CTF_ERR)
699 pa.pa_ctfp = ctfp;