/sssd/src/util/ |
H A D | dlinklist.h | 69 /* hook into the end of the list - needs a tmp pointer */ 76 type tmp; \ 77 for (tmp = (list); tmp->next; tmp = tmp->next) { \ 80 tmp->next = (p); \ 82 (p)->prev = tmp; \ 102 /* demote an element to the end of the list, needs a tmp pointer */ 116 type tmp; \ [all...] |
H A D | util.c | 147 char *tmp; local 152 tmp = malloc(strlen(str) + 1); 153 if (!tmp) return NULL; 167 tmp[i] = '\\'; 177 tmp[i] = *p; 182 tmp[i] = '\0'; 191 tmp[i] = '\\'; 196 tmp[i] = *p; 205 tmp[i] = '\\'; 209 tmp[ [all...] |
/sssd/src/tests/ |
H A D | files-tests.c | 212 char *tmp; local 250 tmp = talloc_asprintf(test_ctx, "%s/bar", dst_path); 251 ret = check_and_open_readonly(tmp, &fd, uid, gid, S_IFREG|S_IRWXU, 0); 252 fail_unless(ret == EOK, "Cannot open %s\n", tmp); 254 talloc_free(tmp); 305 char *tmp; local 336 tmp = talloc_asprintf(test_ctx, "%s/foolink", dst_path); 337 ret = lstat(tmp, &statbuf); 338 fail_unless(ret == 0, "cannot stat the symlink %s\n", tmp); 339 fail_unless(S_ISLNK(statbuf.st_mode), "%s not a symlink?\n", tmp); local 348 char *tmp; local [all...] |
/sssd/src/confdb/ |
H A D | confdb.c | 683 const char *tmp = NULL; local 693 tmp = ldb_msg_find_attr_as_string(msg, entry, NULL); 694 if (tmp == NULL) { 699 if ((*tmp == '-') || (*tmp == '\0')) { 703 u32ret = strtouint32 (tmp, &endptr, 10); 722 const char *tmp = NULL; local 730 tmp = ldb_msg_find_attr_as_string(msg, entry, NULL); 731 if (tmp == NULL || *tmp 825 const char *tmp; local [all...] |
/sssd/src/tests/cwrap/ |
H A D | test_server.c | 48 uint32_t tmp; local 79 tmp = strtouint32(buf, NULL, 10); 80 assert_int_not_equal(tmp, 0); 83 pid = (pid_t) (tmp);
|
/sssd/src/util/crypto/nss/ |
H A D | nss_sha512crypt.c | 90 char *cp, *tmp; local 120 tmp = (char *)alloca(key_len + ALIGN64); 121 key = copied_key = memcpy(tmp + ALIGN64 - PTR_2_INT(tmp) % ALIGN64, key, key_len); 125 tmp = (char *)alloca(salt_len + ALIGN64); 126 salt = copied_salt = memcpy(tmp + ALIGN64 - PTR_2_INT(tmp) % ALIGN64, salt, salt_len);
|
/sssd/src/util/crypto/libcrypto/ |
H A D | crypto_sha512crypt.c | 92 char *cp, *tmp; local 122 tmp = (char *)alloca(key_len + ALIGN64); 123 key = copied_key = memcpy(tmp + ALIGN64 - PTR_2_INT(tmp) % ALIGN64, key, key_len); 127 tmp = (char *)alloca(salt_len + ALIGN64); 128 salt = copied_salt = memcpy(tmp + ALIGN64 - PTR_2_INT(tmp) % ALIGN64, salt, salt_len);
|
/sssd/src/sbus/ |
H A D | sssd_dbus_server.c | 195 char *tmp; local 286 tmp = dbus_server_get_address(dbus_server); 287 DEBUG(SSSDBG_TRACE_FUNC, "D-BUS Server listening on %s\n", tmp); 288 free(tmp);
|
/sssd/src/providers/ |
H A D | data_provider_opts.c | 97 char *tmp; local 127 NULL, &tmp); 135 if (tmp) { 136 opts[i].val.blob.data = (uint8_t *)tmp; 137 opts[i].val.blob.length = strlen(tmp);
|
H A D | fail_over.c | 237 struct fo_server *tmp, *meta, *server; local 246 tmp = server->prev; 247 DLIST_REMOVE(server->service->server_list, tmp); 248 fo_server_free(tmp); 251 tmp = server->next; 252 DLIST_REMOVE(server->service->server_list, tmp); 253 fo_server_free(tmp);
|
/sssd/src/providers/ldap/ |
H A D | ldap_common.c | 81 const char *tmp; local 97 tmp = (const char *)fo_get_server_user_data(server); 117 if (!tmp) { 119 tmp = SSS_LDAP_SRV_NAME; 130 tmp, srv_name, 133 new_uri = talloc_strdup(service, tmp);
|
H A D | sdap_async.c | 2443 char *tmp; local 2469 tmp = ldap_get_dn(sh->ldap, msg->msg); 2470 if (!tmp) { 2475 dn = talloc_strdup(tmp_ctx, tmp); 2476 ldap_memfree(tmp);
|
/sssd/src/providers/data_provider/ |
H A D | dp_request.c | 57 void *tmp; local 60 tmp = talloc_check_name(ptr, expected); 61 if (tmp != NULL || ptr == NULL) {
|
/sssd/src/sss_client/nfs/ |
H A D | sss_nfs_client.c | 423 char tmp[80]; local 425 strerror_r(rc, tmp, sizeof(tmp))));
|
/sssd/src/responder/common/ |
H A D | responder_common.c | 940 char *tmp = NULL; local 1008 &tmp); 1016 if (tmp != NULL) { 1017 if (strlen(tmp) > 1) { 1020 CONFDB_MONITOR_OVERRIDE_SPACE, tmp[0]); 1023 rctx->override_space = tmp[0];
|
/sssd/src/lib/idmap/ |
H A D | sss_idmap.c | 262 struct idmap_range_params *tmp; local 269 tmp = it->next; 274 it = tmp; 959 struct sss_idmap_range tmp; local 963 tmp.min = range->min_id; 964 tmp.max = range->max_id; 969 &tmp, range->range_id,
|
/sssd/src/ldb_modules/ |
H A D | memberof.c | 2386 struct mbof_dn *save, *tmp; local 2398 tmp = del_ctx->history; 2399 while (tmp->next) tmp = tmp->next; 2400 tmp->next = save; 2417 for (tmp = del_ctx->history; tmp; tmp = tmp [all...] |
/sssd/src/db/ |
H A D | sysdb.c | 811 char *tmp; local 816 tmp = ldb_dn_escape_value(mem_ctx, v); 817 if (!tmp) { 821 ret = talloc_asprintf(mem_ctx, template, tmp, domain); 822 talloc_zfree(tmp);
|
/sssd/src/python/ |
H A D | pyhbac.c | 362 PyObject *tmp = NULL; local 388 tmp = PYNUMBER_FROMLONG(HBAC_CATEGORY_NULL); 389 if (!tmp) { 393 if (PySet_Add(self->category, tmp) != 0) { 394 Py_DECREF(tmp);
|
/sssd/src/resolv/ |
H A D | async_resolv.c | 2167 struct ares_srv_reply *r, *prev, *tmp; local 2192 tmp = r; 2195 tmp->next = *start; 2196 *start = tmp;
|