Searched defs:num (Results 1 - 24 of 24) sorted by relevance

/sssd-io/src/lib/sifp/
H A Dsss_sifp_utils.c27 void *sss_sifp_alloc_zero(sss_sifp_ctx *ctx, size_t size, size_t num) argument
29 void *addr = ctx->alloc_fn(size * num, ctx->alloc_pvt);
35 memset(addr, '\0', size * num);
/sssd-io/src/lib/cifs_idmap_sss/
H A Dcifs_idmap_sss.c251 const size_t num, struct cifs_uxid *cuxid)
259 debug("num: %zd", num);
261 if (num > UINT_MAX) {
262 ctx_set_error(ctx, "num is too large.");
266 for (i = 0; i < num; ++i) {
291 const size_t num, struct cifs_sid *csid)
299 debug("num ids: %zd", num);
301 if (num > UINT_MA
250 cifs_idmap_sids_to_ids(void *handle, const struct cifs_sid *csid, const size_t num, struct cifs_uxid *cuxid) argument
290 cifs_idmap_ids_to_sids(void *handle, const struct cifs_uxid *cuxid, const size_t num, struct cifs_sid *csid) argument
[all...]
/sssd-io/src/util/
H A Dfind_uid.c72 uint32_t num=0; local
148 num = (uint32_t) strtoint32(p, &endptr, 10);
165 *uid = num;
176 long num; local
181 num = strtol(name, &endptr, 10);
193 if (num <= 0 || num >= INT_MAX) {
198 *pid = num;
H A Dsafe-format-string.c57 int num; local
60 num = MIN (count, 8);
61 copy_fn (data, eight, num);
62 count -= num;
63 *total += num;
H A Dusertools.c525 size_t num, i; local
532 for (num=0; orig[num]; num++); /* count the num of strings */
534 if (num == 0) {
539 out = talloc_array(mem_ctx, const char *, num + 1);
544 for (i = 0; i < num; i++) {
552 out[num] = NULL;
H A Dutil.c59 int num; local
67 num = 0;
126 r = realloc(ret, (num + 2) * sizeof(char *));
129 ret[num+1] = NULL;
130 ret[num] = strdup(tmp);
131 if (!ret[num]) goto fail;
132 num++;
/sssd-io/src/providers/data_provider/
H A Ddp_request.c43 uint32_t num; member in struct:dp_req
111 dp_req->num = provider->requests.index++;
112 dp_req->name = talloc_asprintf(dp_req, "%s #%u", name, dp_req->num);
H A Ddp_target_id.c169 int num; local
191 num = ctx->gnum;
196 &ctx->groups, num,
/sssd-io/src/responder/ifp/
H A Difp_components.c161 int num; local
164 for (num = 0; svc[num] != NULL; num++);
166 list = talloc_array(mem_ctx, const char*, num);
172 for (i = 0; i < num; i++) {
180 *_num = num;
201 int num; local
214 for (num = 0; names[num] !
248 int num; local
302 int num; local
320 int num; local
[all...]
H A Difpsrv_cmd.c431 int i, gri, num; local
438 num = res->count - 1;
439 groupnames = talloc_zero_array(ireq, const char *, num);
445 for (i = 0; i < num; i++) {
473 return iface_ifp_GetUserGroups_finish(ireq->dbus_req, groupnames, num);
/sssd-io/src/sss_client/autofs/
H A Dsss_autofs.c226 uint32_t num; local
229 SAFEALIGN_COPY_UINT32(&num, *repbuf+rp, &rp);
230 if (num == 0) {
290 sizeof(uint32_t); /* num entries to retrieve */
/sssd-io/src/sss_client/idmap/
H A Dsss_nss_idmap.c93 static int buf_to_name_type_list(uint8_t *buf, size_t buf_len, uint32_t num, argument
102 n = calloc(num + 1, sizeof(char *));
108 t = calloc(num + 1, sizeof(enum sss_id_type));
114 for (c = 0; c < num; c++) {
/sssd-io/src/util/crypto/libcrypto/
H A Dcrypto_sha512crypt.c104 const char *num; local
107 num = salt + ROUNDS_SIZE;
108 srounds = strtoul(num, &endp, 10);
/sssd-io/src/util/crypto/nss/
H A Dnss_sha512crypt.c102 const char *num; local
105 num = salt + ROUNDS_SIZE;
106 srounds = strtoul(num, &endp, 10);
/sssd-io/src/providers/ad/
H A Dad_srv.c44 size_t num)
48 struct fo_server_info in_domain[num];
49 struct fo_server_info out_domain[num];
61 if (num <= 1) {
65 out = talloc_zero_array(mem_ctx, struct fo_server_info, num);
75 for (i = 0; i < num; i++) {
86 if (i + 1 == num || srv[i].priority != srv[i + 1].priority) {
41 ad_sort_servers_by_dns(TALLOC_CTX *mem_ctx, const char *domain, struct fo_server_info **_srv, size_t num) argument
/sssd-io/src/providers/proxy/
H A Dproxy_id.c1500 long int num; local
1509 num = 4096;
1510 size = num*sizeof(gid_t);
1525 &num, &gids, limit, &ret);
1530 num *= 2;
1531 size = num*sizeof(gid_t);
1535 num = size/sizeof(gid_t);
1537 limit = num;
/sssd-io/src/responder/secrets/
H A Dlocal.c352 int num; local
368 num = ldb_dn_get_comp_num(dn) - 4;
370 for (int i = 0; i < num; i++) {
/sssd-io/src/confdb/
H A Dconfdb.c1642 int num; local
1677 for (num = 0, i = 0; i < res->count; i++) {
1703 names[num] = name;
1704 if (names[num] == NULL) {
1709 num++;
1713 *num_sections = num;
/sssd-io/src/responder/nss/
H A Dnsssrv_mmap_cache.c77 #define MC_FIND_BIT(base, num) \
78 uint32_t n = (num); \
82 #define MC_SET_BIT(base, num) do { \
83 MC_FIND_BIT(base, num) \
87 #define MC_CLEAR_BIT(base, num) do { \
88 MC_FIND_BIT(base, num) \
92 #define MC_PROBE_BIT(base, num, used) do { \
93 MC_FIND_BIT(base, num) \
283 uint32_t num; local
287 num
[all...]
/sssd-io/src/db/
H A Dsysdb.c289 for (i = 0; i < attrs->num; i++) {
296 struct ldb_message_element, attrs->num+1);
300 e[attrs->num].name = talloc_strdup(e, name);
301 if (!e[attrs->num].name) return ENOMEM;
303 e[attrs->num].num_values = 0;
304 e[attrs->num].values = NULL;
305 e[attrs->num].flags = 0;
307 e = &(attrs->a[attrs->num]);
308 attrs->num++;
765 for (c = 0; c < src->num;
786 int i, j, num; local
[all...]
H A Dsysdb.h324 int num; member in struct:sysdb_attrs
/sssd-io/src/ldb_modules/
H A Dmemberof.c42 int num; member in struct:mbof_val_array
47 int num; member in struct:mbof_dn_array
397 if (!parents || parents->num == 0) {
420 num_gh_vals, parents->num);
422 for (i = 0; i < parents->num; i++) {
530 parents->num = 1;
794 addop->parents->num);
800 for (i = 0; i < addop->parents->num; i++) {
805 parents->dns[parents->num] = addop->parents->dns[i];
806 parents->num
1007 int ret, i, num; local
[all...]
/sssd-io/src/providers/ldap/
H A Dsdap.c928 int num, struct ldb_val *vals)
932 list->vals = talloc_array(memctx, char *, num);
937 for (i = 0; i < num; i++) {
945 list->num_vals = num;
957 for (i = 0; i < rootdse->num; i++) {
1015 for (i = 0; i < rootdse->num; i++) {
926 sdap_init_sup_list(TALLOC_CTX *memctx, struct sup_list *list, int num, struct ldb_val *vals) argument
/sssd-io/src/tests/cmocka/
H A Dtest_nss_srv.c349 /* One packet for the entry and one for num entries */
356 /* One packet for the entry and one for num entries */
3869 uint32_t num; local
3879 SAFEALIGN_COPY_UINT32(&num, body + rp, &rp);
3880 assert_int_equal(num, exp);
3888 if (num == 1) {

Completed in 73 milliseconds