• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/cddl/contrib/opensolaris/tools/ctf/cvt/

Lines Matching defs:new

67  * 2. Creating new tdesc_t nodes (the md_tdtba hash)
78 * yet. As such, we can't establish the links from these new nodes into the
84 * 3. Creating new iidesc_t nodes (the md_iitba list)
455 debug(3, "Creating new defn type %d <%x>\n", id, id);
476 debug(3, "Creating new type %d <%x>\n", id, id);
519 debug(3, "Creating new type %d <%x>\n", id, id);
712 tdesc_t *new = xcalloc(sizeof (tdesc_t));
714 new->t_name = old->t_name ? xstrdup(old->t_name) : NULL;
715 new->t_type = old->t_type;
716 new->t_size = old->t_size;
717 new->t_id = newselfid;
718 new->t_flags = old->t_flags;
720 return (new);
727 tdesc_t *new = conjure_template(old, newselfid);
729 new->t_intr = xmalloc(sizeof (intr_t));
730 bcopy(old->t_intr, new->t_intr, sizeof (intr_t));
732 return (new);
738 tdesc_t *new = conjure_template(old, newselfid);
740 (void) remap_node(&new->t_tdesc, old->t_tdesc, old->t_id, new, mcd);
742 return (new);
748 tdesc_t *new = conjure_template(old, newselfid);
753 (void) remap_node(&nfn->fn_ret, ofn->fn_ret, old->t_id, new, mcd);
763 new, mcd);
766 new->t_fndef = nfn;
768 return (new);
774 tdesc_t *new = conjure_template(old, newselfid);
778 (void) remap_node(&nar->ad_contents, oar->ad_contents, old->t_id, new,
780 (void) remap_node(&nar->ad_idxtype, oar->ad_idxtype, old->t_id, new,
785 new->t_ardef = nar;
787 return (new);
793 tdesc_t *new = conjure_template(old, newselfid);
796 for (omem = old->t_members, nmemp = &new->t_members;
803 old->t_id, new, mcd);
807 return (new);
814 tdesc_t *new = conjure_template(old, newselfid);
817 for (oel = old->t_emem, nelp = &new->t_emem;
825 return (new);
832 tdesc_t *new = conjure_template(old, newselfid);
834 list_add(&mcd->md_tgt->td_fwdlist, new);
836 return (new);
850 iidesc_t *new = iidesc_dup(old);
853 (void) remap_node(&new->ii_dtype, old->ii_dtype, -1, NULL, mcd);
854 for (i = 0; i < new->ii_nargs; i++) {
855 (void) remap_node(&new->ii_args[i], old->ii_args[i], -1, NULL,
859 return (new);
946 iidesc_t *new;
967 new = conjure_iidesc(tba, mcd);
968 hash_add(mcd->md_tgt->td_iihash, new);
1062 * We now have an alist of master forwards and the ids of the new master