Lines Matching defs:dst_type

1088 	ctf_id_t dst_type = CTF_ERR;
1139 dst_type = (ctf_id_t)hep->h_type;
1140 dst_kind = ctf_type_kind(dst_fp, dst_type);
1144 * If an identically named dst_type exists, fail with ECTF_CONFLICT
1145 * unless dst_type is a forward declaration and src_type is a struct,
1148 if (dst_type != CTF_ERR && dst_kind != kind && (
1161 if (dst_type == CTF_ERR && name[0] != '\0') {
1177 dst.ctb_type = dst_type;
1181 * Now perform kind-specific processing. If dst_type is CTF_ERR, then
1183 * If dst_type is not CTF_ERR, then we verify that dst_type has the
1192 if (dst_type != CTF_ERR) {
1193 if (ctf_type_encoding(dst_fp, dst_type, &dst_en) != 0)
1200 dst_type = ctf_add_integer(dst_fp, flag, name, &src_en);
1202 dst_type = ctf_add_float(dst_fp, flag, name, &src_en);
1215 dst_type = ctf_add_reftype(dst_fp, flag, src_type, kind);
1232 if (dst_type != CTF_ERR) {
1233 if (ctf_array_info(dst_fp, dst_type, &dst_ar) != 0)
1239 dst_type = ctf_add_array(dst_fp, flag, &src_ar);
1250 dst_type = ctf_add_function(dst_fp, flag, &ctc, NULL);
1267 if (dst_type != CTF_ERR && dst_kind != CTF_K_FORWARD) {
1269 ctf_type_size(dst_fp, dst_type))
1283 dst_type = ctf_add_generic(dst_fp, flag, name, &dtd);
1284 if (dst_type == CTF_ERR)
1287 dst.ctb_type = dst_type;
1320 if (dst_type != CTF_ERR && dst_kind != CTF_K_FORWARD) {
1322 ctf_enum_iter(dst_fp, dst_type, enumcmp, &src))
1325 dst_type = ctf_add_enum(dst_fp, flag, name);
1326 if ((dst.ctb_type = dst_type) == CTF_ERR ||
1333 if (dst_type == CTF_ERR) {
1334 dst_type = ctf_add_forward(dst_fp,
1347 * If dst_type is not CTF_ERR at this point, we should check if
1348 * ctf_type_reference(dst_fp, dst_type) != src_type and if so
1355 if (dst_type == CTF_ERR) {
1356 dst_type = ctf_add_typedef(dst_fp, flag,
1365 return (dst_type);