Searched defs:mctx2 (Results 1 - 3 of 3) sorted by relevance

/bind-9.11.3/lib/isc/tests/
H A Dmem_test.c43 isc_mem_t *mctx2 = NULL; local
52 mctx2 = NULL;
54 NULL, &mctx2, 0);
58 before = isc_mem_total(mctx2);
63 ptr = isc_mem_allocate(mctx2, 2048);
64 isc_mem_free(mctx2, ptr);
67 after = isc_mem_total(mctx2);
97 if (mctx2 != NULL)
98 isc_mem_destroy(&mctx2);
110 isc_mem_t *mctx2 local
[all...]
/bind-9.11.3/bin/tests/
H A Dtimer_test.c24 isc_mem_t *mctx1, *mctx2, *mctx3; variable
H A Dshutdown_test.c166 isc_mem_t *mctx, *mctx2; local
182 mctx2 = NULL;
183 RUNTIME_CHECK(isc_mem_create(0, 0, &mctx2) == ISC_R_SUCCESS);
190 t2 = new_task(mctx2, NULL);
197 (void)new_task(mctx2, "foo");
222 printf("Statistics for mctx2:\n");
223 isc_mem_stats(mctx2, stdout);
224 isc_mem_destroy(&mctx2);

Completed in 12 milliseconds