Lines Matching defs:test_ctx
46 static void create_empty_file(TALLOC_CTX *test_ctx, const char *path,
53 tmp_ctx = talloc_new(test_ctx);
68 static void create_nonempty_file(TALLOC_CTX *test_ctx,
80 tmp_ctx = talloc_new(test_ctx);
83 create_empty_file(test_ctx, TESTS_PATH, TESTS_FILE);
98 TALLOC_CTX *test_ctx = NULL;
102 test_ctx = talloc_new(global_talloc_context);
103 assert_non_null(test_ctx);
109 create_empty_file(test_ctx, TESTS_PATH, TESTS_FILE);
112 create_nonempty_file(test_ctx, TESTS_PATH, TESTS_FILE);
118 check_leaks_push(test_ctx);
119 *state = test_ctx;
160 TALLOC_CTX *test_ctx = *state;
163 db = sss_colondb_open(test_ctx, SSS_COLONDB_READ,
171 TALLOC_CTX *test_ctx = *state;
174 db = sss_colondb_open(test_ctx, SSS_COLONDB_WRITE,
182 TALLOC_CTX *test_ctx = *state;
185 db = sss_colondb_open(test_ctx, SSS_COLONDB_READ,
193 TALLOC_CTX *test_ctx = *state;
196 db = sss_colondb_open(test_ctx, SSS_COLONDB_WRITE,
204 TALLOC_CTX *test_ctx = *state;
207 db = sss_colondb_open(test_ctx, SSS_COLONDB_READ,
216 TALLOC_CTX *test_ctx = *state;
219 db = sss_colondb_open(test_ctx, SSS_COLONDB_WRITE,
227 TALLOC_CTX *test_ctx = *state;
236 db = sss_colondb_open(test_ctx, SSS_COLONDB_WRITE,
248 TALLOC_CTX *test_ctx = *state;
257 db = sss_colondb_open(test_ctx, SSS_COLONDB_WRITE,
269 TALLOC_CTX *test_ctx = *state;
280 db = sss_colondb_open(test_ctx, SSS_COLONDB_READ,
284 ret = sss_colondb_readline(test_ctx, db, table);
295 TALLOC_CTX *test_ctx = *state;
306 db = sss_colondb_open(test_ctx, SSS_COLONDB_READ,
310 ret = sss_colondb_readline(test_ctx, db, table);
318 TALLOC_CTX *test_ctx = *state;
334 db = sss_colondb_open(test_ctx, SSS_COLONDB_WRITE,
343 db = sss_colondb_open(test_ctx, SSS_COLONDB_READ,
347 ret = sss_colondb_readline(test_ctx, db, table_out);