Searched refs:out (Results 1 - 25 of 57) sorted by relevance

123

/sssd-io/src/sbus/
H A Dsbus_codegen235 def out(format, *args, **kwargs): function
240 # def out(format, *args, new_line=True)
275 out("")
276 out("/* invokes a handler with a '%s' DBus signature */", signature)
277 out("static int invoke_%s_method(struct sbus_request *dbus_req, void *function_ptr);", signature)
280 out("")
281 out("/* invokes a handler with a '%s' DBus signature */", signature)
282 out("static int invoke_%s_method(struct sbus_request *dbus_req, void *function_ptr)", signature)
283 out("{")
287 out("
[all...]
/sssd-io/src/tests/intg/
H A Dtest_kcm.py188 out, _, _ = testenv.k5util.kinit("kcmtest", "Secret123")
189 assert out == 0
197 out = testenv.k5util.kdestroy()
198 assert out == 0
227 out, _, _ = testenv.k5util.kinit("kcmtest", "Secret123")
228 assert out == 0
231 out, _, _ = testenv.k5util.kinit("kcmtest", "Secret123")
232 assert out == 0
259 out, _, _ = testenv.k5util.kinit("alice", "alicepw")
260 assert out
[all...]
H A Dkrb5utils.py57 out, err = cmd.communicate(stdin)
58 return cmd.returncode, out.decode('utf-8'), err.decode('utf-8')
96 retval, out, err = self._run_in_env(args, extra_env=env)
100 outlines = [l for l in out.split('\n') if len(l) > 1]
105 retval, out, err = self._run_in_env(args, extra_env=env)
111 outlines = out.split('\n')
134 def _parse_klist_a(self, out):
139 for line in [l for l in out.split('\n') if len(l) > 0]:
154 retval, out, err = self._run_in_env(args, extra_env=env)
160 return self._parse_klist_a(out)
[all...]
/sssd-io/src/sss_client/autofs/
H A Dsss_autofs.c79 goto out;
85 goto out;
97 goto out;
108 goto out;
116 goto out;
124 goto out;
131 out:
267 goto out;
274 goto out;
283 goto out;
[all...]
/sssd-io/src/sss_client/idmap/
H A Dsss_nss_idmap.c205 unsigned int timeout, struct output *out)
289 SAFEALIGN_COPY_UINT32(&out->type, repbuf + 2 * sizeof(uint32_t), NULL);
311 out->d.str = str;
321 out->d.id = c;
332 out->types = types;
333 out->d.names = names;
342 out->d.kv_list = kv_list;
367 struct output out; local
375 ret = sss_nss_getyyybyxxx(inp, SSS_NSS_GETSIDBYNAME, timeout, &out);
377 *sid = out
204 sss_nss_getyyybyxxx(union input inp, enum sss_cli_command cmd, unsigned int timeout, struct output *out) argument
395 struct output out; local
422 struct output out; local
450 struct output out; local
478 struct output out; local
506 struct output out; local
534 struct output out; local
[all...]
H A Dsss_nss_ex.c218 goto out;
221 goto out;
237 goto out;
246 goto out;
252 goto out;
263 goto out;
280 goto out;
286 goto out;
308 goto out;
314 goto out;
[all...]
/sssd-io/src/tests/
H A Dstress-tests.c141 char **out; local
145 out = talloc_array(mem_ctx, char *, num_names+1);
146 if (out == NULL) {
151 out[idx] = talloc_asprintf(mem_ctx, "%s%d", prefix, idx);
152 if (out[idx] == NULL) {
156 out[idx] = NULL;
158 *_out = out;
168 char **out; local
170 out = talloc_array(mem_ctx, char *, CHUNK+1);
171 if (out
[all...]
H A Dsafe-format-tests.c151 char *out; local
162 out = talloc_strdup(mem_ctx, "");
163 ret = safe_format_string_cb(callback, &out, fixture->format,
167 ck_assert_str_eq(out, fixture->result);
168 ck_assert_int_eq(ret, strlen(out));
/sssd-io/contrib/git/
H A Dpre-push18 out, err = p.communicate()
19 return [commit.strip() for commit in out.decode('UTF-8').split('\n') if commit != '']
25 out, err = p.communicate()
26 return out.decode('UTF-8')
/sssd-io/src/util/crypto/libcrypto/
H A Dcrypto_nite.c55 uint8_t *out = NULL; local
83 out = talloc_zero_size(mem_ctx, outlen);
88 RAND_bytes(out, evpivlen);
97 ret = EVP_EncryptInit_ex(ctx, cipher, 0, key, evpivlen ? out : NULL);
105 ret = EVP_EncryptUpdate(ctx, out + outlen, &tmplen, plaintext, plainlen);
113 ret = EVP_EncryptFinal_ex(ctx, out + outlen, &tmplen);
141 ret = EVP_DigestSignUpdate(mdctx, out, outlen);
148 ret = EVP_DigestSignFinal(mdctx, &out[outlen], &slen);
156 *ciphertext = out;
178 uint8_t *out; local
[all...]
H A Dcrypto_hmac_sha1.c35 unsigned char *out)
87 EVP_DigestFinal_ex(ctx, out, &res_len);
31 sss_hmac_sha1(const unsigned char *key, size_t key_len, const unsigned char *in, size_t in_len, unsigned char *out) argument
/sssd-io/src/util/crypto/nss/
H A Dnss_nite.c50 uint8_t *out = NULL; local
87 out = talloc_zero_size(tmp_ctx, outlen);
92 ret = generate_csprng_buffer(out, ivlen);
96 ret = nss_ctx_init(tmp_ctx, enc, key, keylen, out, ivlen, &cctx);
110 sret = PK11_CipherOp(cctx->ectx, out + clen, &tmplen.s,
119 sret = PK11_DigestFinal(cctx->ectx, out + clen, &tmplen.u, outlen - clen);
151 sret = PK11_DigestOp(hctx->ectx, out, clen);
157 sret = PK11_DigestFinal(hctx->ectx, out + clen, &digestlen,
164 *ciphertext = talloc_move(mem_ctx, &out);
184 uint8_t *out local
[all...]
H A Dnss_hmac_sha1.c38 unsigned char *out)
85 HASH_End(sha1, out, &res_len, SSS_SHA1_LENGTH);
34 sss_hmac_sha1(const unsigned char *key, size_t key_len, const unsigned char *in, size_t in_len, unsigned char *out) argument
/sssd-io/src/tools/
H A Dsss_sync_ops.c721 struct ops_ctx *out)
727 out->sysdb_fqname = sss_create_internal_fqname(out, name,
728 out->domain->name);
729 if (out->sysdb_fqname == NULL) {
733 ret = sysdb_getpwnam(mem_ctx, out->domain, out->sysdb_fqname, &res);
745 out->uid = ldb_msg_find_attr_as_uint64(res->msgs[0], SYSDB_UIDNUM, 0);
747 out->gid = ldb_msg_find_attr_as_uint64(res->msgs[0], SYSDB_GIDNUM, 0);
750 ret = sss_parse_internal_fqname(out, st
719 sysdb_getpwnam_sync(TALLOC_CTX *mem_ctx, const char *name, struct ops_ctx *out) argument
798 sysdb_getgrnam_sync(TALLOC_CTX *mem_ctx, const char *name, struct ops_ctx *out) argument
[all...]
H A Dsss_sync_ops.h98 struct ops_ctx *out);
102 struct ops_ctx *out);
/sssd-io/src/util/
H A Dsss_ssh.c154 char *out = NULL; local
177 out = talloc_asprintf(mem_ctx, "%s %s", algo, blob);
178 if (!out) {
198 out = talloc_array(mem_ctx, char, len + 1);
199 if (out == NULL) {
204 memcpy(out, pubkey->data, len);
205 out[len] = '\0';
208 *result = out;
H A Dstring_utils.c31 char *out; local
33 out = talloc_strdup(mem_ctx, in);
34 if (out == NULL) {
38 for (p = out; *p != '\0'; ++p) {
44 return out;
/sssd-io/src/tests/cmocka/
H A Dtest_sss_sifp.c310 bool out; local
327 ret = sss_sifp_find_attr_as_bool(attrs, name, &out);
329 assert_true(in == out);
343 int16_t out; local
360 ret = sss_sifp_find_attr_as_int16(attrs, name, &out);
362 assert_int_equal(in, out);
376 uint16_t out; local
393 ret = sss_sifp_find_attr_as_uint16(attrs, name, &out);
395 assert_int_equal(in, out);
409 int32_t out; local
442 uint32_t out; local
478 int64_t out; local
511 uint64_t out; local
544 const char *out; local
577 const char *out; local
618 hash_table_t *out; local
706 bool *out; local
746 bool *out; local
784 int16_t *out; local
824 int16_t *out; local
862 uint16_t *out; local
902 uint16_t *out; local
940 int32_t *out; local
980 int32_t *out; local
1018 uint32_t *out; local
1058 uint32_t *out; local
1096 int64_t *out; local
1136 int64_t *out; local
1174 uint64_t *out; local
1214 uint64_t *out; local
1252 const char * const *out; local
1292 const char * const *out; local
1330 const char * const *out; local
1370 const char * const *out; local
1417 hash_table_t *out; local
1526 uint32_t out; local
1631 uint32_t out; local
1672 uint32_t out; local
1754 const char *out; local
1969 char **out = NULL; local
2028 sss_sifp_object *out = NULL; local
[all...]
/sssd-io/src/responder/common/cache_req/
H A Dcache_req_result.c226 struct cache_req_result *out = NULL; local
236 out = talloc_zero(mem_ctx, struct cache_req_result);
237 if (out == NULL) {
242 ldb_result = talloc_zero(out, struct ldb_result);
256 out->domain = result->domain;
257 out->ldb_result = ldb_result;
258 out->lookup_name = result->lookup_name;
259 out->count = ldb_result->count;
260 out->msgs = ldb_result->msgs;
269 talloc_free(out);
[all...]
/sssd-io/src/sss_client/
H A Dnss_passwd.c182 goto out;
186 goto out;
200 goto out;
214 goto out;
222 goto out;
231 goto out;
236 out:
289 goto out;
293 goto out;
307 goto out;
[all...]
H A Dnss_services.c203 goto out;
222 goto out;
236 goto out;
244 goto out;
255 goto out;
260 out:
301 goto out;
324 goto out;
338 goto out;
346 goto out;
[all...]
H A Dnss_group.c322 goto out;
326 goto out;
340 goto out;
348 goto out;
368 goto out;
387 out:
445 goto out;
449 goto out;
467 goto out;
481 goto out;
[all...]
/sssd-io/src/responder/ssh/
H A Dssh_protocol.c43 if (pctx->creq->out == NULL) {
46 &pctx->creq->out);
51 sss_packet_set_error(pctx->creq->out, EOK);
86 &pctx->creq->out);
91 ret = ssh_protocol_build_reply(pctx->creq->out, ssh_ctx, result);
96 sss_packet_set_error(pctx->creq->out, EOK);
/sssd-io/src/providers/simple/
H A Dsimple_access.c44 char **out = NULL; local
68 out = talloc_zero_array(tmp_ctx, char*, size + 1);
69 if (out == NULL) {
96 out[i] = sss_create_internal_fqname(out, shortname, domain->name);
97 if (out[i] == NULL) {
103 *_out = talloc_steal(mem_ctx, out);
/sssd-io/src/responder/common/
H A Dresponder_cmd.c39 &pctx->creq->out);
45 sss_packet_set_error(pctx->creq->out, err);
80 &pctx->creq->out);
85 ret = sss_cmd_empty_packet(pctx->creq->out);
90 sss_packet_set_error(pctx->creq->out, EOK);
149 &pctx->creq->out);
153 sss_packet_get_body(pctx->creq->out, &body, &blen);
291 * queue the cache entry for update out-of-band.

Completed in 4013 milliseconds

123