Searched defs:pool2 (Results 1 - 2 of 2) sorted by relevance

/bind-9.11.3/lib/isc/tests/
H A Dtaskpool_test.c59 isc_taskpool_t *pool1 = NULL, *pool2 = NULL, *hold = NULL; local
72 result = isc_taskpool_expand(&pool1, 5, &pool2);
74 ATF_REQUIRE_EQ(isc_taskpool_size(pool2), 10);
75 ATF_REQUIRE_EQ(pool2, hold);
77 pool1 = pool2;
78 pool2 = NULL;
82 result = isc_taskpool_expand(&pool1, 10, &pool2);
84 ATF_REQUIRE_EQ(isc_taskpool_size(pool2), 10);
85 ATF_REQUIRE_EQ(pool2, hold);
87 pool1 = pool2;
[all...]
H A Dpool_test.c80 isc_pool_t *pool1 = NULL, *pool2 = NULL, *hold = NULL; local
93 result = isc_pool_expand(&pool1, 5, &pool2);
95 ATF_REQUIRE_EQ(isc_pool_count(pool2), 10);
96 ATF_REQUIRE_EQ(pool2, hold);
98 pool1 = pool2;
99 pool2 = NULL;
103 result = isc_pool_expand(&pool1, 10, &pool2);
105 ATF_REQUIRE_EQ(isc_pool_count(pool2), 10);
106 ATF_REQUIRE_EQ(pool2, hold);
108 pool1 = pool2;
[all...]

Completed in 10 milliseconds