Lines Matching defs:oid
107 ctf_diff_name(ctf_file_t *ifp, ctf_id_t iid, ctf_file_t *ofp, ctf_id_t oid)
115 if ((otp = ctf_lookup_by_id(&ofp, oid)) == NULL)
135 ctf_diff_number(ctf_file_t *ifp, ctf_id_t iid, ctf_file_t *ofp, ctf_id_t oid)
142 if (ctf_type_encoding(ofp, oid, &den) != 0)
162 ctf_file_t *ofp, ctf_id_t oid)
173 while (ctf_type_kind(ofp, oid) == CTF_K_TYPEDEF) {
174 oref = ctf_type_reference(ofp, oid);
177 oid = oref;
189 ctf_file_t *ofp, ctf_id_t oid)
197 oref = ctf_type_reference(ofp, oid);
210 ctf_id_t oid)
218 if (ctf_array_info(ofp, oid, &oar) == CTF_ERR)
254 ctf_id_t oid)
263 if (ctf_func_info_by_id(ofp, oid, &ofunc) == CTF_ERR)
291 if (ctf_func_args_by_id(ofp, oid, ofunc.ctc_argc, oids) == CTF_ERR) {
317 ctf_id_t oid)
332 if ((otp = ctf_lookup_by_id(&ofp, oid)) == NULL)
335 if (ctf_type_size(ifp, iid) != ctf_type_size(ofp, oid))
368 cdg->cdg_oid = oid;
371 cds->cds_forward[TINDEX(iid)] = oid;
372 cds->cds_reverse[TINDEX(oid)] = iid;
509 ctf_id_t oid)
520 if ((otp = ctf_lookup_by_id(&ofp, oid)) == NULL)
531 cdg->cdg_oid = oid;
534 cds->cds_forward[TINDEX(iid)] = oid;
535 cds->cds_reverse[TINDEX(oid)] = iid;
540 cduf.cduf_type = oid;
554 ctf_diff_enum(ctf_file_t *ifp, ctf_id_t iid, ctf_file_t *ofp, ctf_id_t oid)
565 if ((otp = ctf_lookup_by_id(&ofp, oid)) == NULL)
596 ctf_diff_forward(ctf_file_t *ifp, ctf_id_t iid, ctf_file_t *ofp, ctf_id_t oid)
601 okind = ctf_type_kind(ofp, oid);
618 ctf_id_t oid)
623 if (ifp == ofp && iid == oid)
631 if (cds->cds_forward[TINDEX(iid)] == oid)
635 if (cds->cds_reverse[TINDEX(oid)] == iid)
638 cds->cds_reverse[TINDEX(oid)] != 0)
642 okind = ctf_type_kind(ofp, oid);
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));
988 ctf_id_t oid, void *arg)