Lines Matching refs:tmp_ctx
45 TALLOC_CTX *tmp_ctx;
50 tmp_ctx = talloc_new(global_talloc_context);
51 assert_non_null(tmp_ctx);
53 check_leaks_push(tmp_ctx);
55 ret = csv_string_to_uid_array(tmp_ctx, "1, 2, 3", false, &count, &list);
63 assert_true(check_leaks_pop(tmp_ctx));
64 talloc_free(tmp_ctx);
69 TALLOC_CTX *tmp_ctx;
74 tmp_ctx = talloc_new(global_talloc_context);
75 assert_non_null(tmp_ctx);
77 check_leaks_push(tmp_ctx);
79 ret = csv_string_to_uid_array(tmp_ctx, "sssd, foobar", true, &count, &list);
86 assert_true(check_leaks_pop(tmp_ctx));
87 talloc_free(tmp_ctx);
92 TALLOC_CTX *tmp_ctx;
97 tmp_ctx = talloc_new(global_talloc_context);
98 assert_non_null(tmp_ctx);
100 check_leaks_push(tmp_ctx);
102 ret = csv_string_to_uid_array(tmp_ctx, "nosuchuser", true, &count, &list);
105 assert_true(check_leaks_pop(tmp_ctx));
106 talloc_free(tmp_ctx);