Lines Matching refs:ctfp

271 	ctf_file_t *ctfp = tip->dtt_ctfp;
273 ctf_id_t base = ctf_type_resolve(ctfp, type);
279 if ((ptr = ctf_type_pointer(ctfp, type)) != CTF_ERR ||
280 (ptr = ctf_type_pointer(ctfp, base)) != CTF_ERR) {
290 if (ctfp != dmp->dm_ctfp && ctfp != ctf_parent_file(dmp->dm_ctfp) &&
291 (type = ctf_add_type(dmp->dm_ctfp, ctfp, type)) == CTF_ERR) {
312 dt_type_name(ctf_file_t *ctfp, ctf_id_t type, char *buf, size_t len)
316 if (ctfp == DT_FPTR_CTFP(dtp) && type == DT_FPTR_TYPE(dtp))
318 else if (ctfp == DT_FUNC_CTFP(dtp) && type == DT_FUNC_TYPE(dtp))
320 else if (ctfp == DT_DYN_CTFP(dtp) && type == DT_DYN_TYPE(dtp))
322 else if (ctfp == NULL)
324 else if (ctf_type_name(ctfp, type, buf, len) == NULL)
3171 ctf_file_t *ctfp;
3397 dt_type_promote(lp, rp, &ctfp, &type);
3400 ctfp = lp->dn_ctfp;
3404 ctfp = rp->dn_ctfp;
3409 ctfp = dtp->dt_ddefs->dm_ctfp;
3410 type = ctf_lookup_by_name(ctfp, "ptrdiff_t");
3419 dt_node_type_assign(dnp, ctfp, type, B_FALSE);
3544 ctfp = idp->di_ctfp;
3548 ctfp = rp->dn_ctfp;
3560 dt_node_type_assign(lp, ctfp, type, B_FALSE);
3561 dt_ident_type_assign(lp->dn_ident, ctfp, type);
3590 ctf_type_compat(lp->dn_ctfp, lp->dn_type, ctfp, type))
3709 ctfp = idp->di_ctfp;
3710 type = ctf_type_resolve(ctfp, idp->di_type);
3713 ctfp = lp->dn_ctfp;
3714 type = ctf_type_resolve(ctfp, lp->dn_type);
3718 kind = ctf_type_kind(ctfp, type);
3725 type = ctf_type_reference(ctfp, type);
3726 type = ctf_type_resolve(ctfp, type);
3727 kind = ctf_type_kind(ctfp, type);
3735 char *tag = ctf_type_name(ctfp, type, n1, sizeof (n1));
3739 (dtt.dtt_ctfp != ctfp || dtt.dtt_type != type)) {
3740 ctfp = dtt.dtt_ctfp;
3741 type = ctf_type_resolve(ctfp, dtt.dtt_type);
3742 kind = ctf_type_kind(ctfp, type);
3756 ctf_type_name(ctfp, type, n1, sizeof (n1)));
3761 ctf_type_name(ctfp, type, n1, sizeof (n1)));
3765 if (ctf_member_info(ctfp, type, rp->dn_string, &m) == CTF_ERR) {
3768 ctf_type_name(ctfp, type, n1, sizeof (n1)));
3771 type = ctf_type_resolve(ctfp, m.ctm_type);
3772 kind = ctf_type_kind(ctfp, type);
3774 dt_node_type_assign(dnp, ctfp, m.ctm_type, B_FALSE);
4024 ctf_file_t *ctfp;
4048 ctfp = lp->dn_ctfp;
4051 dt_type_promote(lp, rp, &ctfp, &type);
4054 ctfp = DT_STR_CTFP(yypcb->pcb_hdl);
4056 } else if (dt_node_is_ptrcompat(lp, rp, &ctfp, &type) == 0) {
4066 dt_node_type_assign(dnp, ctfp, type, B_FALSE);