Lines Matching defs:i2
275 ctf_next_t *i2;
277 if ((i2 = ctf_next_create()) == NULL)
279 memcpy (i2, i, sizeof (struct ctf_next));
281 if (i2->ctn_next)
283 i2->ctn_next = ctf_next_copy (i2->ctn_next);
284 if (i2->ctn_next == NULL)
288 if (i2->ctn_next_inner)
290 i2->ctn_next_inner = ctf_next_copy (i2->ctn_next_inner);
291 if (i2->ctn_next_inner == NULL)
295 if (i2->ctn_iter_fun == (void (*) (void)) ctf_dynhash_next_sorted)
298 if ((i2->u.ctn_sorted_hkv = calloc (els, sizeof (ctf_next_hkv_t))) == NULL)
300 memcpy (i2->u.ctn_sorted_hkv, i->u.ctn_sorted_hkv,
303 return i2;
306 ctf_next_destroy (i2->ctn_next_inner);
308 ctf_next_destroy (i2->ctn_next);
310 ctf_next_destroy (i2);