Lines Matching refs:tdp
908 tdesc_t *tdp; in resurrect_types() local
946 tdp = tdarr[tid]; in resurrect_types()
952 tdp->t_name = in resurrect_types()
955 tdp->t_name = NULL; in resurrect_types()
962 tdp->t_type = INTRINSIC; in resurrect_types()
963 tdp->t_size = size; in resurrect_types()
985 tdp->t_intr = ip; in resurrect_types()
989 tdp->t_type = INTRINSIC; in resurrect_types()
990 tdp->t_size = size; in resurrect_types()
1001 tdp->t_intr = ip; in resurrect_types()
1005 tdp->t_type = POINTER; in resurrect_types()
1006 tdp->t_tdesc = tdarr[ctt->ctt_type]; in resurrect_types()
1010 tdp->t_type = ARRAY; in resurrect_types()
1011 tdp->t_size = size; in resurrect_types()
1017 tdp->t_ardef = xmalloc(sizeof (ardef_t)); in resurrect_types()
1018 tdp->t_ardef->ad_contents = tdarr[cta->cta_contents]; in resurrect_types()
1019 tdp->t_ardef->ad_idxtype = tdarr[cta->cta_index]; in resurrect_types()
1020 tdp->t_ardef->ad_nelems = cta->cta_nelems; in resurrect_types()
1025 tdp->t_type = (kind == CTF_K_STRUCT ? STRUCT : UNION); in resurrect_types()
1026 tdp->t_size = size; in resurrect_types()
1029 for (i = 0, mpp = &tdp->t_members; i < vlen; in resurrect_types()
1044 for (i = 0, mpp = &tdp->t_members; i < vlen; in resurrect_types()
1066 tdp->t_type = ENUM; in resurrect_types()
1067 tdp->t_size = size; in resurrect_types()
1069 for (i = 0, epp = &tdp->t_emem; i < vlen; in resurrect_types()
1083 tdp->t_type = FORWARD; in resurrect_types()
1084 list_add(&td->td_fwdlist, tdp); in resurrect_types()
1088 tdp->t_type = TYPEDEF; in resurrect_types()
1089 tdp->t_tdesc = tdarr[ctt->ctt_type]; in resurrect_types()
1093 tdp->t_type = VOLATILE; in resurrect_types()
1094 tdp->t_tdesc = tdarr[ctt->ctt_type]; in resurrect_types()
1098 tdp->t_type = CONST; in resurrect_types()
1099 tdp->t_tdesc = tdarr[ctt->ctt_type]; in resurrect_types()
1103 tdp->t_type = FUNCTION; in resurrect_types()
1104 tdp->t_fndef = xcalloc(sizeof (fndef_t)); in resurrect_types()
1105 tdp->t_fndef->fn_ret = tdarr[ctt->ctt_type]; in resurrect_types()
1110 tdp->t_fndef->fn_vargs = 1; in resurrect_types()
1112 tdp->t_fndef->fn_nargs = vlen - tdp->t_fndef->fn_vargs; in resurrect_types()
1113 tdp->t_fndef->fn_args = xcalloc(sizeof (tdesc_t) * in resurrect_types()
1114 vlen - tdp->t_fndef->fn_vargs); in resurrect_types()
1122 tdp->t_fndef->fn_args[i] = tdarr[argid]; in resurrect_types()
1130 tdp->t_type = RESTRICT; in resurrect_types()
1131 tdp->t_tdesc = tdarr[ctt->ctt_type]; in resurrect_types()
1142 iidesc_t *ii = iidesc_new(tdp->t_name); in resurrect_types()
1143 if (tdp->t_type == STRUCT || tdp->t_type == UNION || in resurrect_types()
1144 tdp->t_type == ENUM) in resurrect_types()
1148 ii->ii_dtype = tdp; in resurrect_types()
1154 debug(3, "Resurrected %d %stype %s (%d)\n", tdp->t_type, in resurrect_types()
1156 tdesc_name(tdp), tdp->t_id); in resurrect_types()