Searched refs:new (Results 1 - 8 of 8) sorted by relevance

/sssd-io/src/util/
H A Dsss_python.h46 #define SAFE_SET(old, new) do { \
49 Py_INCREF(new); \
50 old = new; \
H A Dutil.c590 /* If the input is a NULL list a new one is created with the new
596 /* Allocate one extra space for the new service and one for
751 char **new; local
764 new = talloc_array(mem_ctx, char *, new_count + 1);
765 if (new == NULL) {
769 new [new_count] = NULL;
773 new[c] = talloc_strdup(new, l1[c]);
774 if (new[
[all...]
H A Dtev_curl.c352 /* If this socket doesn't have private data, it must be a new one,
775 struct curl_slist *new; local
777 new = curl_slist_append(slist, header);
778 if (new == NULL) {
787 return new;
/sssd-io/src/providers/
H A Ddp_pam_data_util.c126 * instead of copying, new empty authtok will be created.
184 struct response_data *new; local
186 new = talloc(pd, struct response_data);
187 if (new == NULL) return ENOMEM;
189 new->type = type;
190 new->len = len;
191 new->data = talloc_memdup(pd, data, len);
192 if (new->data == NULL) return ENOMEM;
193 new->do_not_send_to_client = false;
194 new
[all...]
/sssd-io/src/tests/intg/
H A Dtest_ldap.py836 new = {'objectClass': [b'top', b'inetOrgPerson', b'posixAccount',
838 ldif = ldap.modlist.modifyModlist(old, new)
911 new = {'member': [b"uid=user1,ou=Users,dc=example,dc=com"]}
913 ldif = ldap.modlist.modifyModlist(old, new)
925 new = {'member': []}
927 ldif = ldap.modlist.modifyModlist(old, new)
975 new = {'member': [b"cn=group1,ou=Groups,dc=example,dc=com"]}
977 ldif = ldap.modlist.modifyModlist(old, new)
995 new = {'member': []}
997 ldif = ldap.modlist.modifyModlist(old, new)
[all...]
H A Dtest_netgroup.py457 new = {'memberNisNetgroup': [b"t2841_netgroup2"]}
459 ldif = ldap.modlist.modifyModlist(old, new)
479 new = {'memberNisNetgroup': []}
481 ldif = ldap.modlist.modifyModlist(old, new)
/sssd-io/src/lib/idmap/
H A Dsss_idmap.c75 char *new = NULL; local
82 new = ctx->alloc_func(len, ctx->alloc_pvt);
83 if (new == NULL) {
87 memcpy(new, str, len);
89 return new;
191 return "IDMAP new range collides with existing one";
440 /* If slice is -1, we're being asked to pick a new slice */
964 /* Have to generate a whole new range. */
/sssd-io/src/tests/cmocka/
H A Dtest_ipa_subdomains_server.c158 int __real_rename(const char *old, const char *new);
160 int __wrap_rename(const char *old, const char *new) argument
163 return __real_rename(old, new);

Completed in 109 milliseconds