Lines Matching defs:containers
88 struct container *containers;
114 containers = talloc_array(NULL, struct container, 100);
115 fail_if(containers == NULL);
117 containers[i].foo = rc_reference(containers, struct foo, global->foo);
118 containers[i].bar = rc_reference(containers, struct bar, global->bar);
119 containers[i].baz = rc_reference(containers, struct baz, global->baz);
120 REF_ASSERT(containers[i].foo, i + 2);
122 REF_ASSERT(containers[i].bar, i + 2);
124 REF_ASSERT(containers[i].baz, i + 2);
127 talloc_free(containers);