Lines Matching refs:ctfp

256 	ctf_file_t *ctfp = tip->dtt_ctfp;
258 ctf_id_t base = ctf_type_resolve(ctfp, type);
263 if ((ptr = ctf_type_pointer(ctfp, type)) != CTF_ERR ||
264 (ptr = ctf_type_pointer(ctfp, base)) != CTF_ERR) {
274 if (ctfp != dmp->dm_ctfp && ctfp != ctf_parent_file(dmp->dm_ctfp) &&
275 (type = ctf_add_type(dmp->dm_ctfp, ctfp, type)) == CTF_ERR) {
295 dt_type_name(ctf_file_t *ctfp, ctf_id_t type, char *buf, size_t len)
299 if (ctfp == DT_FPTR_CTFP(dtp) && type == DT_FPTR_TYPE(dtp))
301 else if (ctfp == DT_FUNC_CTFP(dtp) && type == DT_FUNC_TYPE(dtp))
303 else if (ctfp == DT_DYN_CTFP(dtp) && type == DT_DYN_TYPE(dtp))
305 else if (ctfp == NULL)
307 else if (ctf_type_name(ctfp, type, buf, len) == NULL)
3126 ctf_file_t *ctfp;
3349 dt_type_promote(lp, rp, &ctfp, &type);
3352 ctfp = lp->dn_ctfp;
3356 ctfp = rp->dn_ctfp;
3361 ctfp = dtp->dt_ddefs->dm_ctfp;
3362 type = ctf_lookup_by_name(ctfp, "ptrdiff_t");
3371 dt_node_type_assign(dnp, ctfp, type);
3496 ctfp = idp->di_ctfp;
3500 ctfp = rp->dn_ctfp;
3512 dt_node_type_assign(lp, ctfp, type);
3513 dt_ident_type_assign(lp->dn_ident, ctfp, type);
3542 ctf_type_compat(lp->dn_ctfp, lp->dn_type, ctfp, type))
3661 ctfp = idp->di_ctfp;
3662 type = ctf_type_resolve(ctfp, idp->di_type);
3665 ctfp = lp->dn_ctfp;
3666 type = ctf_type_resolve(ctfp, lp->dn_type);
3670 kind = ctf_type_kind(ctfp, type);
3677 type = ctf_type_reference(ctfp, type);
3678 type = ctf_type_resolve(ctfp, type);
3679 kind = ctf_type_kind(ctfp, type);
3687 char *tag = ctf_type_name(ctfp, type, n1, sizeof (n1));
3691 (dtt.dtt_ctfp != ctfp || dtt.dtt_type != type)) {
3692 ctfp = dtt.dtt_ctfp;
3693 type = ctf_type_resolve(ctfp, dtt.dtt_type);
3694 kind = ctf_type_kind(ctfp, type);
3708 ctf_type_name(ctfp, type, n1, sizeof (n1)));
3713 ctf_type_name(ctfp, type, n1, sizeof (n1)));
3717 if (ctf_member_info(ctfp, type, rp->dn_string, &m) == CTF_ERR) {
3720 ctf_type_name(ctfp, type, n1, sizeof (n1)));
3723 type = ctf_type_resolve(ctfp, m.ctm_type);
3724 kind = ctf_type_kind(ctfp, type);
3726 dt_node_type_assign(dnp, ctfp, m.ctm_type);
3975 ctf_file_t *ctfp;
3999 ctfp = lp->dn_ctfp;
4002 dt_type_promote(lp, rp, &ctfp, &type);
4005 ctfp = DT_STR_CTFP(yypcb->pcb_hdl);
4007 } else if (dt_node_is_ptrcompat(lp, rp, &ctfp, &type) == 0) {
4017 dt_node_type_assign(dnp, ctfp, type);