Lines Matching refs:ctfp

266 	ctf_file_t *ctfp = tip->dtt_ctfp;  in dt_type_pointer()  local
268 ctf_id_t base = ctf_type_resolve(ctfp, type); in dt_type_pointer()
274 if ((ptr = ctf_type_pointer(ctfp, type)) != CTF_ERR || in dt_type_pointer()
275 (ptr = ctf_type_pointer(ctfp, base)) != CTF_ERR) { in dt_type_pointer()
285 if (ctfp != dmp->dm_ctfp && ctfp != ctf_parent_file(dmp->dm_ctfp) && in dt_type_pointer()
286 (type = ctf_add_type(dmp->dm_ctfp, ctfp, type)) == CTF_ERR) { in dt_type_pointer()
307 dt_type_name(ctf_file_t *ctfp, ctf_id_t type, char *buf, size_t len) in dt_type_name() argument
311 if (ctfp == DT_FPTR_CTFP(dtp) && type == DT_FPTR_TYPE(dtp)) in dt_type_name()
313 else if (ctfp == DT_FUNC_CTFP(dtp) && type == DT_FUNC_TYPE(dtp)) in dt_type_name()
315 else if (ctfp == DT_DYN_CTFP(dtp) && type == DT_DYN_TYPE(dtp)) in dt_type_name()
317 else if (ctfp == NULL) in dt_type_name()
319 else if (ctf_type_name(ctfp, type, buf, len) == NULL) in dt_type_name()
3175 ctf_file_t *ctfp; in dt_cook_op2() local
3404 dt_type_promote(lp, rp, &ctfp, &type); in dt_cook_op2()
3407 ctfp = lp->dn_ctfp; in dt_cook_op2()
3411 ctfp = rp->dn_ctfp; in dt_cook_op2()
3416 ctfp = dtp->dt_ddefs->dm_ctfp; in dt_cook_op2()
3417 type = ctf_lookup_by_name(ctfp, "ptrdiff_t"); in dt_cook_op2()
3426 dt_node_type_assign(dnp, ctfp, type, B_FALSE); in dt_cook_op2()
3551 ctfp = idp->di_ctfp; in dt_cook_op2()
3555 ctfp = rp->dn_ctfp; in dt_cook_op2()
3567 dt_node_type_assign(lp, ctfp, type, B_FALSE); in dt_cook_op2()
3568 dt_ident_type_assign(lp->dn_ident, ctfp, type); in dt_cook_op2()
3597 ctf_type_compat(lp->dn_ctfp, lp->dn_type, ctfp, type)) in dt_cook_op2()
3705 ctfp = idp->di_ctfp; in dt_cook_op2()
3706 type = ctf_type_resolve(ctfp, idp->di_type); in dt_cook_op2()
3709 ctfp = lp->dn_ctfp; in dt_cook_op2()
3710 type = ctf_type_resolve(ctfp, lp->dn_type); in dt_cook_op2()
3714 kind = ctf_type_kind(ctfp, type); in dt_cook_op2()
3721 type = ctf_type_reference(ctfp, type); in dt_cook_op2()
3722 type = ctf_type_resolve(ctfp, type); in dt_cook_op2()
3723 kind = ctf_type_kind(ctfp, type); in dt_cook_op2()
3731 char *tag = ctf_type_name(ctfp, type, n1, sizeof (n1)); in dt_cook_op2()
3735 (dtt.dtt_ctfp != ctfp || dtt.dtt_type != type)) { in dt_cook_op2()
3736 ctfp = dtt.dtt_ctfp; in dt_cook_op2()
3737 type = ctf_type_resolve(ctfp, dtt.dtt_type); in dt_cook_op2()
3738 kind = ctf_type_kind(ctfp, type); in dt_cook_op2()
3752 ctf_type_name(ctfp, type, n1, sizeof (n1))); in dt_cook_op2()
3757 ctf_type_name(ctfp, type, n1, sizeof (n1))); in dt_cook_op2()
3761 if (ctf_member_info(ctfp, type, rp->dn_string, &m) == CTF_ERR) { in dt_cook_op2()
3764 ctf_type_name(ctfp, type, n1, sizeof (n1))); in dt_cook_op2()
3767 type = ctf_type_resolve(ctfp, m.ctm_type); in dt_cook_op2()
3768 kind = ctf_type_kind(ctfp, type); in dt_cook_op2()
3770 dt_node_type_assign(dnp, ctfp, m.ctm_type, B_FALSE); in dt_cook_op2()
4020 ctf_file_t *ctfp; in dt_cook_op3() local
4044 ctfp = lp->dn_ctfp; in dt_cook_op3()
4047 dt_type_promote(lp, rp, &ctfp, &type); in dt_cook_op3()
4050 ctfp = DT_STR_CTFP(yypcb->pcb_hdl); in dt_cook_op3()
4052 } else if (dt_node_is_ptrcompat(lp, rp, &ctfp, &type) == 0) { in dt_cook_op3()
4062 dt_node_type_assign(dnp, ctfp, type, B_FALSE); in dt_cook_op3()