Lines Matching defs:iid
107 ctf_diff_name(ctf_file_t *ifp, ctf_id_t iid, ctf_file_t *ofp, ctf_id_t oid)
112 if ((itp = ctf_lookup_by_id(&ifp, iid)) == NULL)
116 return (ctf_set_errno(ifp, iid));
135 ctf_diff_number(ctf_file_t *ifp, ctf_id_t iid, ctf_file_t *ofp, ctf_id_t oid)
139 if (ctf_type_encoding(ifp, iid, &ien) != 0)
143 return (ctf_set_errno(ifp, iid));
161 ctf_diff_typedef(ctf_diff_t *cds, ctf_file_t *ifp, ctf_id_t iid,
166 while (ctf_type_kind(ifp, iid) == CTF_K_TYPEDEF) {
167 iref = ctf_type_reference(ifp, iid);
170 iid = iref;
188 ctf_diff_qualifier(ctf_diff_t *cds, ctf_file_t *ifp, ctf_id_t iid,
193 iref = ctf_type_reference(ifp, iid);
209 ctf_diff_array(ctf_diff_t *cds, ctf_file_t *ifp, ctf_id_t iid, ctf_file_t *ofp,
215 if (ctf_array_info(ifp, iid, &iar) == CTF_ERR)
253 ctf_diff_fptr(ctf_diff_t *cds, ctf_file_t *ifp, ctf_id_t iid, ctf_file_t *ofp,
260 if (ctf_func_info_by_id(ifp, iid, &ifunc) == CTF_ERR)
286 if (ctf_func_args_by_id(ifp, iid, ifunc.ctc_argc, iids) == CTF_ERR) {
316 ctf_diff_struct(ctf_diff_t *cds, ctf_file_t *ifp, ctf_id_t iid, ctf_file_t *ofp,
329 if ((itp = ctf_lookup_by_id(&ifp, iid)) == NULL)
335 if (ctf_type_size(ifp, iid) != ctf_type_size(ofp, oid))
367 cdg->cdg_iid = iid;
371 cds->cds_forward[TINDEX(iid)] = oid;
372 cds->cds_reverse[TINDEX(oid)] = iid;
508 ctf_diff_union(ctf_diff_t *cds, ctf_file_t *ifp, ctf_id_t iid, ctf_file_t *ofp,
518 if ((itp = ctf_lookup_by_id(&ifp, iid)) == NULL)
530 cdg->cdg_iid = iid;
534 cds->cds_forward[TINDEX(iid)] = oid;
535 cds->cds_reverse[TINDEX(oid)] = iid;
542 ret = ctf_member_iter(ifp, iid, ctf_diff_union_check_fp, &cduf);
554 ctf_diff_enum(ctf_file_t *ifp, ctf_id_t iid, ctf_file_t *ofp, ctf_id_t oid)
563 if ((itp = ctf_lookup_by_id(&ifp, iid)) == NULL)
596 ctf_diff_forward(ctf_file_t *ifp, ctf_id_t iid, ctf_file_t *ofp, ctf_id_t oid)
600 ikind = ctf_type_kind(ifp, iid);
617 ctf_diff_type(ctf_diff_t *cds, ctf_file_t *ifp, ctf_id_t iid, ctf_file_t *ofp,
623 if (ifp == ofp && iid == oid)
631 if (cds->cds_forward[TINDEX(iid)] == oid)
633 if (cds->cds_forward[TINDEX(iid)] != 0)
635 if (cds->cds_reverse[TINDEX(oid)] == iid)
641 ikind = ctf_type_kind(ifp, iid);
649 if ((ret = ctf_diff_name(ifp, iid, ofp, oid)) != B_FALSE) {
656 return (ctf_diff_forward(ifp, iid, ofp, oid));
661 ret = ctf_diff_number(ifp, iid, ofp, oid);
664 ret = ctf_diff_array(cds, ifp, iid, ofp, oid);
667 ret = ctf_diff_fptr(cds, ifp, iid, ofp, oid);
670 ret = ctf_diff_struct(cds, ifp, iid, ofp, oid);
673 ret = ctf_diff_union(cds, ifp, iid, ofp, oid);
676 ret = ctf_diff_enum(ifp, iid, ofp, oid);
679 ret = ctf_diff_forward(ifp, iid, ofp, oid);
682 ret = ctf_diff_typedef(cds, ifp, iid, ofp, oid);
688 ret = ctf_diff_qualifier(cds, ifp, iid, ofp, oid);
961 ctf_diff_symid(ctf_diff_t *cds, ctf_id_t iid, ctf_id_t oid)
973 if (iid == 0 || oid == 0)
974 return (iid == oid ? B_FALSE: B_TRUE);
977 if (cds->cds_forward[TINDEX(iid)] != oid)
982 return (ctf_diff_type(cds, ifp, iid, ofp, oid));
987 ctf_diff_void_cb(ctf_file_t *ifp, ctf_id_t iid, boolean_t same, ctf_file_t *ofp,