Searched defs:src (Results 1 - 12 of 12) sorted by relevance

/sssd/src/providers/
H A Ddp_pam_data_util.c76 errno_t copy_pam_data(TALLOC_CTX *mem_ctx, struct pam_data *src, argument
88 pd->cmd = src->cmd;
89 pd->priv = src->priv;
91 pd->domain = talloc_strdup(pd, src->domain);
92 if (pd->domain == NULL && src->domain != NULL) {
96 pd->user = talloc_strdup(pd, src->user);
97 if (pd->user == NULL && src->user != NULL) {
101 pd->service = talloc_strdup(pd, src->service);
102 if (pd->service == NULL && src->service != NULL) {
106 pd->tty = talloc_strdup(pd, src
[all...]
H A Dbe_dyndns.c83 const void *src; local
89 src = &(((struct sockaddr_in *)addr)->sin_addr);
92 src = &(((struct sockaddr_in6 *)addr)->sin6_addr);
99 res = inet_ntop(addr->ss_family, src, dst, size);
/sssd/src/util/
H A Dutil_safealign.h49 safealign_memcpy(void *dest, const void *src, size_t n, size_t *counter) argument
51 memcpy(dest, src, n);
62 /* SAFEALIGN_COPY_INT64(void *dest, void *src, size_t *pctr)
64 * location pointed by 'src' to memory location pointed by 'dest'.
67 #define SAFEALIGN_COPY_INT64(dest, src, pctr) \
68 safealign_memcpy(dest, src, sizeof(int64_t), pctr)
77 /* SAFEALIGN_COPY_UINT32(void *dest, void *src, size_t *pctr) */
78 #define SAFEALIGN_COPY_UINT32(dest, src, pctr) \
79 safealign_memcpy(dest, src, sizeof(uint32_t), pctr)
85 /* SAFEALIGN_COPY_INT32(void *dest, void *src, size_
[all...]
H A Dauthtok.c211 errno_t sss_authtok_copy(struct sss_auth_token *src, argument
214 if (!src || !dst) {
219 if (src->type == SSS_AUTHTOK_TYPE_EMPTY) {
223 dst->data = talloc_memdup(dst, src->data, src->length);
227 dst->length = src->length;
228 dst->type = src->type;
H A Dsss_krb5.c574 sss_krb5_copy_component_quoting(char *dest, const krb5_data *src, int flags) argument
577 const char *cp = src->data;
579 int length = src->length;
582 memcpy(dest, src->data, src->length);
583 return src->length;
625 sss_krb5_component_length_quoted(const krb5_data *src, int flags) argument
627 const char *cp = src->data;
628 int length = src->length;
/sssd/src/responder/secrets/
H A Dsecsrv_cmd.c169 const char *src, size_t len)
172 *dest = talloc_strndup_append_buffer(*dest, src, len);
174 *dest = talloc_strndup(memctx, src, len);
168 sec_append_string(TALLOC_CTX *memctx, char **dest, const char *src, size_t len) argument
H A Dproxy.c669 const char *src, size_t len)
672 *dest = talloc_strndup_append_buffer(*dest, src, len);
674 *dest = talloc_strndup(memctx, src, len);
668 ph_append_string(TALLOC_CTX *memctx, char **dest, const char *src, size_t len) argument
/sssd/src/tools/
H A Dfiles.c492 copy_file_secure(const char *src, argument
524 ifd = sss_open_cloexec(src, O_RDONLY | O_NOFOLLOW, &ret);
528 src, ret, strerror(ret));
/sssd/src/db/
H A Dsysdb.c731 int sysdb_attrs_copy_values(struct sysdb_attrs *src, argument
739 ret = sysdb_attrs_get_el(src, name, &src_el);
/sssd/src/ldb_modules/
H A Dmemberof.c3891 struct ldb_message_element *src; local
3894 src = ldb_msg_find_element(msg, name);
3895 if (!src) {
3904 *dest = *src;
/sssd/src/lib/idmap/
H A Dsss_idmap.c110 const struct idmap_range_params *src,
116 if (src == NULL || id == NULL || _dst == NULL) {
125 dst->min_id = src->min_id;
126 dst->max_id = src->max_id;
127 dst->first_rid = src->first_rid;
109 construct_range(struct sss_idmap_ctx *ctx, const struct idmap_range_params *src, char *id, struct idmap_range_params **_dst) argument
/sssd/src/resolv/
H A Dasync_resolv.c521 resolv_copy_hostent_common(TALLOC_CTX *mem_ctx, struct hostent *src) argument
532 if (src->h_name != NULL) {
533 ret->name = talloc_strdup(ret, src->h_name);
538 if (src->h_aliases != NULL) {
539 for (len = 0; src->h_aliases[len] != NULL; len++);
547 ret->aliases[i] = talloc_strdup(ret->aliases, src->h_aliases[i]);
555 ret->family = src->h_addrtype;
564 resolv_copy_hostent(TALLOC_CTX *mem_ctx, struct hostent *src) argument
570 ret = resolv_copy_hostent_common(mem_ctx, src);
575 if (src
608 resolv_copy_hostent_ares(TALLOC_CTX *mem_ctx, struct hostent *src, int family, void *ares_ttl_data, int num_ares_ttl_data) argument
[all...]

Completed in 318 milliseconds