Lines Matching defs:ctfp

248 	ctf_file_t *ctfp = tip->dtt_ctfp;
250 ctf_id_t base = ctf_type_resolve(ctfp, type);
255 if ((ptr = ctf_type_pointer(ctfp, type)) != CTF_ERR ||
256 (ptr = ctf_type_pointer(ctfp, base)) != CTF_ERR) {
266 if (ctfp != dmp->dm_ctfp && ctfp != ctf_parent_file(dmp->dm_ctfp) &&
267 (type = ctf_add_type(dmp->dm_ctfp, ctfp, type)) == CTF_ERR) {
287 dt_type_name(ctf_file_t *ctfp, ctf_id_t type, char *buf, size_t len)
291 if (ctfp == DT_FPTR_CTFP(dtp) && type == DT_FPTR_TYPE(dtp))
293 else if (ctfp == DT_FUNC_CTFP(dtp) && type == DT_FUNC_TYPE(dtp))
295 else if (ctfp == DT_DYN_CTFP(dtp) && type == DT_DYN_TYPE(dtp))
297 else if (ctfp == NULL)
299 else if (ctf_type_name(ctfp, type, buf, len) == NULL)
3076 ctf_file_t *ctfp;
3299 dt_type_promote(lp, rp, &ctfp, &type);
3302 ctfp = lp->dn_ctfp;
3306 ctfp = rp->dn_ctfp;
3311 ctfp = dtp->dt_ddefs->dm_ctfp;
3312 type = ctf_lookup_by_name(ctfp, "ptrdiff_t");
3321 dt_node_type_assign(dnp, ctfp, type);
3446 ctfp = idp->di_ctfp;
3450 ctfp = rp->dn_ctfp;
3462 dt_node_type_assign(lp, ctfp, type);
3463 dt_ident_type_assign(lp->dn_ident, ctfp, type);
3492 ctf_type_compat(lp->dn_ctfp, lp->dn_type, ctfp, type))
3623 ctfp = idp->di_ctfp;
3624 type = ctf_type_resolve(ctfp, idp->di_type);
3627 ctfp = lp->dn_ctfp;
3628 type = ctf_type_resolve(ctfp, lp->dn_type);
3632 kind = ctf_type_kind(ctfp, type);
3639 type = ctf_type_reference(ctfp, type);
3640 type = ctf_type_resolve(ctfp, type);
3641 kind = ctf_type_kind(ctfp, type);
3649 char *tag = ctf_type_name(ctfp, type, n1, sizeof (n1));
3653 (dtt.dtt_ctfp != ctfp || dtt.dtt_type != type)) {
3654 ctfp = dtt.dtt_ctfp;
3655 type = ctf_type_resolve(ctfp, dtt.dtt_type);
3656 kind = ctf_type_kind(ctfp, type);
3670 ctf_type_name(ctfp, type, n1, sizeof (n1)));
3675 ctf_type_name(ctfp, type, n1, sizeof (n1)));
3679 if (ctf_member_info(ctfp, type, rp->dn_string, &m) == CTF_ERR) {
3682 ctf_type_name(ctfp, type, n1, sizeof (n1)));
3685 type = ctf_type_resolve(ctfp, m.ctm_type);
3686 kind = ctf_type_kind(ctfp, type);
3688 dt_node_type_assign(dnp, ctfp, m.ctm_type);
3929 ctf_file_t *ctfp;
3953 ctfp = lp->dn_ctfp;
3956 dt_type_promote(lp, rp, &ctfp, &type);
3959 ctfp = DT_STR_CTFP(yypcb->pcb_hdl);
3961 } else if (dt_node_is_ptrcompat(lp, rp, &ctfp, &type) == 0) {
3971 dt_node_type_assign(dnp, ctfp, type);