Lines Matching refs:tmp_ctx
40 TALLOC_CTX *tmp_ctx;
44 tmp_ctx = talloc_new(NULL);
45 if (!tmp_ctx) return ENOMEM;
47 cased_name = sss_get_cased_name(tmp_ctx, svc->s_name,
54 protocols = talloc_array(tmp_ctx, const char *, 2);
69 ret = sss_get_cased_name_list(tmp_ctx,
78 lc_alias = sss_tc_utf8_str_tolower(tmp_ctx, svc->s_name);
85 ret = add_string_to_list(tmp_ctx, lc_alias,
103 talloc_free(tmp_ctx);
116 TALLOC_CTX *tmp_ctx;
119 tmp_ctx = talloc_new(NULL);
120 if (!tmp_ctx) return ENOMEM;
122 result = talloc_zero(tmp_ctx, struct servent);
148 talloc_free(tmp_ctx);
161 TALLOC_CTX *tmp_ctx;
165 tmp_ctx = talloc_new(NULL);
166 if (!tmp_ctx) return ENOMEM;
168 result = talloc_zero(tmp_ctx, struct servent);
200 talloc_free(tmp_ctx);