Lines Matching refs:tdp

1064 	tdesc_t *tdp;  in resurrect_types()  local
1116 tdp = tdarr[tid]; in resurrect_types()
1122 tdp->t_name = xstrdup(sbuf + CTF_NAME_OFFSET(name)); in resurrect_types()
1124 tdp->t_name = NULL; in resurrect_types()
1128 tdp->t_type = INTRINSIC; in resurrect_types()
1129 tdp->t_size = size; in resurrect_types()
1151 tdp->t_intr = ip; in resurrect_types()
1155 tdp->t_type = INTRINSIC; in resurrect_types()
1156 tdp->t_size = size; in resurrect_types()
1167 tdp->t_intr = ip; in resurrect_types()
1171 tdp->t_type = POINTER; in resurrect_types()
1172 tdp->t_tdesc = tdarr[type]; in resurrect_types()
1178 tdp->t_type = ARRAY; in resurrect_types()
1179 tdp->t_size = size; in resurrect_types()
1195 tdp->t_ardef = xmalloc(sizeof (ardef_t)); in resurrect_types()
1196 tdp->t_ardef->ad_contents = tdarr[contents]; in resurrect_types()
1197 tdp->t_ardef->ad_idxtype = tdarr[index]; in resurrect_types()
1198 tdp->t_ardef->ad_nelems = nelems; in resurrect_types()
1204 tdp->t_type = (kind == CTF_K_STRUCT ? STRUCT : UNION); in resurrect_types()
1205 tdp->t_size = size; in resurrect_types()
1209 for (i = 0, mpp = &tdp->t_members; i < vlen; in resurrect_types()
1223 for (i = 0, mpp = &tdp->t_members; i < vlen; in resurrect_types()
1241 for (i = 0, mpp = &tdp->t_members; i < vlen; in resurrect_types()
1255 for (i = 0, mpp = &tdp->t_members; i < vlen; in resurrect_types()
1278 tdp->t_type = ENUM; in resurrect_types()
1279 tdp->t_size = size; in resurrect_types()
1281 for (i = 0, epp = &tdp->t_emem; i < vlen; in resurrect_types()
1295 tdp->t_type = FORWARD; in resurrect_types()
1296 list_add(&td->td_fwdlist, tdp); in resurrect_types()
1300 tdp->t_type = TYPEDEF; in resurrect_types()
1301 tdp->t_tdesc = tdarr[type]; in resurrect_types()
1305 tdp->t_type = VOLATILE; in resurrect_types()
1306 tdp->t_tdesc = tdarr[type]; in resurrect_types()
1310 tdp->t_type = CONST; in resurrect_types()
1311 tdp->t_tdesc = tdarr[type]; in resurrect_types()
1315 tdp->t_type = FUNCTION; in resurrect_types()
1316 tdp->t_fndef = xcalloc(sizeof (fndef_t)); in resurrect_types()
1317 tdp->t_fndef->fn_ret = tdarr[type]; in resurrect_types()
1321 tdp->t_fndef->fn_vargs = 1; in resurrect_types()
1323 tdp->t_fndef->fn_nargs = vlen - tdp->t_fndef->fn_vargs; in resurrect_types()
1324 tdp->t_fndef->fn_args = xcalloc(sizeof (tdesc_t) * in resurrect_types()
1325 vlen - tdp->t_fndef->fn_vargs); in resurrect_types()
1333 tdp->t_fndef->fn_args[i] = tdarr[argid]; in resurrect_types()
1340 tdp->t_type = RESTRICT; in resurrect_types()
1341 tdp->t_tdesc = tdarr[type]; in resurrect_types()
1352 iidesc_t *ii = iidesc_new(tdp->t_name); in resurrect_types()
1353 if (tdp->t_type == STRUCT || tdp->t_type == UNION || in resurrect_types()
1354 tdp->t_type == ENUM) in resurrect_types()
1358 ii->ii_dtype = tdp; in resurrect_types()
1364 debug(3, "Resurrected %d %stype %s (%d)\n", tdp->t_type, in resurrect_types()
1365 (isroot ? "root " : ""), tdesc_name(tdp), tdp->t_id); in resurrect_types()