Lines Matching defs:child2
8 struct istream *parent, *child1, *child2;
18 child2 = i_stream_create_limit(parent, (uoff_t)-1);
29 /* child2 read beginning.. */
30 test_assert(i_stream_read(child2) == 3);
31 data = i_stream_get_data(child2, &size);
43 /* child2 check beginning again.. */
45 i_stream_skip(child2, 3);
46 /* child2 read middle */
47 test_assert(i_stream_read(child2) == 3);
48 data = i_stream_get_data(child2, &size);
50 i_stream_skip(child2, 3);
53 i_stream_destroy(&child2);