Searched defs:pool1 (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
66 result = isc_taskpool_create(taskmgr, mctx, 10, 2, &pool1);
68 ATF_REQUIRE_EQ(isc_taskpool_size(pool1), 10);
71 hold = pool1;
72 result = isc_taskpool_expand(&pool1, 5, &pool2);
76 ATF_REQUIRE_EQ(pool1, NULL);
77 pool1 = pool2;
81 hold = pool1;
82 result = isc_taskpool_expand(&pool1, 10, &pool2);
86 ATF_REQUIRE_EQ(pool1, NUL
[all...]
H A Dpool_test.c80 isc_pool_t *pool1 = NULL, *pool2 = NULL, *hold = NULL; local
87 result = isc_pool_create(mctx, 10, poolfree, poolinit, taskmgr, &pool1);
89 ATF_REQUIRE_EQ(isc_pool_count(pool1), 10);
92 hold = pool1;
93 result = isc_pool_expand(&pool1, 5, &pool2);
97 ATF_REQUIRE_EQ(pool1, NULL);
98 pool1 = pool2;
102 hold = pool1;
103 result = isc_pool_expand(&pool1, 10, &pool2);
107 ATF_REQUIRE_EQ(pool1, NUL
[all...]

Completed in 11 milliseconds