Lines Matching defs:tgt
73 iidesc_t *tgt = find->iif_tgt;
75 if (src->ii_type != tgt->ii_type ||
76 !streq(src->ii_name, tgt->ii_name))
122 iidesc_t *tgt;
124 tgt = xmalloc(sizeof (iidesc_t));
125 bcopy(src, tgt, sizeof (iidesc_t));
127 tgt->ii_name = src->ii_name ? xstrdup(src->ii_name) : NULL;
128 tgt->ii_owner = src->ii_owner ? xstrdup(src->ii_owner) : NULL;
130 if (tgt->ii_nargs) {
131 tgt->ii_args = xmalloc(sizeof (tdesc_t *) * tgt->ii_nargs);
132 bcopy(src->ii_args, tgt->ii_args,
133 sizeof (tdesc_t *) * tgt->ii_nargs);
136 return (tgt);
142 iidesc_t *tgt = iidesc_dup(src);
143 free(tgt->ii_name);
144 free(tgt->ii_owner);
146 tgt->ii_name = name ? xstrdup(name) : NULL;
147 tgt->ii_owner = owner ? xstrdup(owner) : NULL;
149 return (tgt);