Lines Matching defs:dst_type

1091 	ctf_id_t dst_type = CTF_ERR;
1142 dst_type = (ctf_id_t)hep->h_type;
1143 dst_kind = ctf_type_kind(dst_fp, dst_type);
1147 * If an identically named dst_type exists, fail with ECTF_CONFLICT
1148 * unless dst_type is a forward declaration and src_type is a struct,
1151 if (dst_type != CTF_ERR && dst_kind != kind && (
1164 if (dst_type == CTF_ERR && name[0] != '\0') {
1180 dst.ctb_type = dst_type;
1184 * Now perform kind-specific processing. If dst_type is CTF_ERR, then
1186 * If dst_type is not CTF_ERR, then we verify that dst_type has the
1195 if (dst_type != CTF_ERR) {
1196 if (ctf_type_encoding(dst_fp, dst_type, &dst_en) != 0)
1203 dst_type = ctf_add_integer(dst_fp, flag, name, &src_en);
1205 dst_type = ctf_add_float(dst_fp, flag, name, &src_en);
1218 dst_type = ctf_add_reftype(dst_fp, flag, src_type, kind);
1235 if (dst_type != CTF_ERR) {
1236 if (ctf_array_info(dst_fp, dst_type, &dst_ar) != 0)
1242 dst_type = ctf_add_array(dst_fp, flag, &src_ar);
1253 dst_type = ctf_add_function(dst_fp, flag, &ctc, NULL);
1270 if (dst_type != CTF_ERR && dst_kind != CTF_K_FORWARD) {
1272 ctf_type_size(dst_fp, dst_type))
1286 dst_type = ctf_add_generic(dst_fp, flag, name, &dtd);
1287 if (dst_type == CTF_ERR)
1290 dst.ctb_type = dst_type;
1323 if (dst_type != CTF_ERR && dst_kind != CTF_K_FORWARD) {
1325 ctf_enum_iter(dst_fp, dst_type, enumcmp, &src))
1328 dst_type = ctf_add_enum(dst_fp, flag, name);
1329 if ((dst.ctb_type = dst_type) == CTF_ERR ||
1336 if (dst_type == CTF_ERR) {
1337 dst_type = ctf_add_forward(dst_fp,
1350 * If dst_type is not CTF_ERR at this point, we should check if
1351 * ctf_type_reference(dst_fp, dst_type) != src_type and if so
1358 if (dst_type == CTF_ERR) {
1359 dst_type = ctf_add_typedef(dst_fp, flag,
1368 return (dst_type);