Searched refs:num_values (Results 1 - 25 of 67) sorted by relevance

123

/sssd/src/tests/cmocka/
H A Dtest_sss_sifp.c323 assert_int_equal(attrs[0]->num_values, 1);
356 assert_int_equal(attrs[0]->num_values, 1);
389 assert_int_equal(attrs[0]->num_values, 1);
422 assert_int_equal(attrs[0]->num_values, 1);
455 assert_int_equal(attrs[0]->num_values, 1);
491 assert_int_equal(attrs[0]->num_values, 1);
524 assert_int_equal(attrs[0]->num_values, 1);
557 assert_int_equal(attrs[0]->num_values, 1);
590 assert_int_equal(attrs[0]->num_values, 1);
672 assert_int_equal(attrs[0]->num_values,
702 unsigned int num_values = 5; local
744 unsigned int num_values = 0; local
780 unsigned int num_values = 5; local
822 unsigned int num_values = 0; local
858 unsigned int num_values = 5; local
900 unsigned int num_values = 0; local
936 unsigned int num_values = 5; local
978 unsigned int num_values = 0; local
1014 unsigned int num_values = 5; local
1056 unsigned int num_values = 0; local
1092 unsigned int num_values = 5; local
1134 unsigned int num_values = 0; local
1170 unsigned int num_values = 5; local
1212 unsigned int num_values = 0; local
1248 unsigned int num_values = 6; local
1290 unsigned int num_values = 0; local
1326 unsigned int num_values = 2; local
1368 unsigned int num_values = 0; local
1416 unsigned int num_values = 3; local
[all...]
H A Dtest_sysdb_utils.c126 assert_int_equal(el->num_values, 1);
134 assert_int_equal(el->num_values, 1);
/sssd/src/lib/sifp/
H A Dsss_sifp_parser.c49 attr->num_values = 1; \
61 if (attr->num_values == 0) { \
67 attr->data.field = _alloc_zero(ctx, data_type, attr->num_values); \
73 for (i = 0; i < attr->num_values; i++) { \
77 if (!dbus_message_iter_next(iter) && i + 1 < attr->num_values) { \
141 unsigned int num_values; local
183 num_values = sss_sifp_get_array_length(&dict_iter);
184 if (num_values == 0) {
198 values = _alloc_zero(ctx, char*, num_values + 1);
204 for (i = 0; i < num_values;
577 unsigned int num_values; local
[all...]
H A Dsss_sifp_private.h64 unsigned int num_values; member in struct:sss_sifp_attr
/sssd/src/sss_client/sudo/
H A Dsss_sudo.h55 unsigned int num_values; member in struct:sss_sudo_attr
H A Dsss_sudo.c155 values = calloc(attr->num_values + 1, sizeof(char*));
160 for (j = 0; j < attr->num_values; j++) {
168 values[attr->num_values] = NULL;
242 for (j = 0; j < attr->num_values; j++) {
H A Dsss_sudo_response.c172 _cursor, &_attr->num_values);
178 _attr->values = calloc(_attr->num_values, sizeof(const char*));
183 for (i = 0; i < _attr->num_values; i++) {
/sssd/src/providers/ldap/
H A Dsdap_utils.c37 unsigned int num_values, i; local
48 if (el->num_values == 0) {
52 num_values = multivalued ? el->num_values : 1;
53 for (i = 0; i < num_values; i++) {
H A Dsdap_async_groups.c229 member_el->values[member_el->num_values + j].data = (uint8_t *) \
231 member_el->values[member_el->num_values + j].length = \
235 member_el->num_values += j;
244 int num_values,
266 el->num_values + num_values + nuserdns);
273 j = el->num_values;
274 for (i = 0; i < num_values; i++) {
330 el->num_values = j;
414 memberel->num_values
238 sdap_fill_memberships(struct sdap_options *opts, struct sysdb_attrs *group_attrs, struct sysdb_ctx *ctx, struct sss_domain_info *domain, hash_table_t *ghosts, struct ldb_val *values, int num_values, char **userdns, size_t nuserdns) argument
1187 sdap_process_group_create_dns(TALLOC_CTX *mem_ctx, size_t num_values, struct ldb_message_element **_dns) argument
[all...]
H A Dsdap_async_users.c228 if (el->num_values == 0) pwd = NULL;
234 if (el->num_values == 0) gecos = NULL;
243 if (el->num_values > 0) gecos = (const char *)el->values[0].data;
249 if (el->num_values == 0) homedir = NULL;
255 if (el->num_values == 0) shell = NULL;
374 if (!el || el->num_values == 0) {
392 if (el->num_values == 0) {
398 for (i = 0; i < el->num_values; i++) {
420 if (el->num_values == 0) {
442 if (el->num_values
[all...]
/sssd/src/util/
H A Dsss_ssh.c66 res->num_pubkeys = el->num_values;
75 for (i = 0; i < el->num_values; i++) {
87 res->num_aliases = el->num_values;
95 for (i = 0; i < el->num_values; i++) {
H A Dsss_selinux.c34 for (i = 0; i < values->num_values; i++) {
35 for (j = 0; j < sought_values->num_values; j++) {
106 for (i = 0; i < usercat->num_values; i++) {
155 for (i = 0; i < hostcat->num_values; i++) {
/sssd/src/providers/ipa/
H A Dipa_hbac_hosts.c81 if (ret == ENOENT || el->num_values == 0) {
82 el->num_values = 0;
90 el->num_values +1);
98 el->num_values + 1);
104 for (i = 0; i < el->num_values; i++) {
301 if (ret == EOK && el->num_values == 0) ret = ENOENT;
305 host_count + el->num_values + 1);
311 for (idx = host_count; idx < host_count + el->num_values; idx++) {
H A Dipa_hbac_users.c213 if (ret == ENOENT || el->num_values == 0) {
214 el->num_values = 0;
221 el->num_values + 1);
229 el->num_values + 1);
235 for (i = 0; i < el->num_values; i++) {
H A Dipa_hbac_common.c65 if (el->num_values == 0) {
274 if (ret != EOK || el->num_values == 0) {
550 if (el == NULL || el->num_values == 0) {
556 "[%d] groups for [%s]\n", el->num_values, users->name);
558 users->groups = talloc_array(users, const char *, el->num_values + 1);
564 for (i = 0; i < el->num_values; i++) {
585 if (num_groups < el->num_values) {
668 svc->groups = talloc_array(svc, const char *, el->num_values + 1);
674 for (i = j = 0; i < el->num_values; i++) {
778 host->groups = talloc_array(host, const char *, el->num_values
[all...]
H A Dipa_netgroups.c81 if (el->num_values == 0) {
98 if (el->num_values == 0) {
116 if (el->num_values == 0) {
123 for(c = 0; c < el->num_values; c++) {
139 if (el->num_values == 0) {
146 for(c = 0; c < el->num_values; c++) {
161 if (el->num_values == 0) {
166 for(c = 0; c < el->num_values; c++) {
348 if (el->num_values) state->entities_found |= ENTITY_NG;
353 if (el->num_values) stat
[all...]
H A Dipa_hbac_services.c432 if (ret == ENOENT || el->num_values == 0) {
433 el->num_values = 0;
441 el->num_values +1);
449 el->num_values + 1);
455 for (i = 0; i < el->num_values; i++) {
/sssd/src/db/
H A Dsysdb.c303 e[attrs->num].num_values = 0;
337 if (el->num_values != 1) {
358 if (el->num_values != 1) {
384 if (el->num_values != 1) {
410 if (el->num_values != 1) {
434 if (el->num_values != 1) {
451 a = talloc_zero_array(mem_ctx, const char *, el->num_values + 1);
456 for (u = 0; u < el->num_values; u++) {
505 for (c = 0; c < el->num_values; c++) {
515 struct ldb_val, el->num_values
[all...]
H A Dsysdb_views.c519 /* Set num_values to 1 because by default user and group overrides
522 if (attrs->a[c].num_values > 1
524 attrs->a[c].num_values = 1;
689 for (c = 0; c < el->num_values; c++) {
716 size_t num_values; local
770 num_values = el->num_values;
775 && num_values != 1) {
779 allowed_attrs[c], num_values);
780 num_values
[all...]
/sssd/src/sss_client/sudo_testcli/
H A Dsudo_testcli.c132 attr->num_values);
134 for (k = 0; k < attr->num_values; k++) {
/sssd/src/ldb_modules/
H A Dmemberof.c208 for (i = 0; i < el->num_values; i++) {
279 for (i = 0; i < op->el->num_values; i++) {
287 struct ldb_val, op->el->num_values + 1);
291 val[op->el->num_values].data = (uint8_t *)talloc_strdup(val, name);
292 if (!val[op->el->num_values].data) {
295 val[op->el->num_values].length = strlen(name);
298 op->el->num_values++;
534 for (i = 0; i < el->num_values; i++) {
816 for (i = 0; i < el->num_values; i++) {
865 for (i = 0; i < el->num_values;
3264 unsigned long num_values; local
3794 mbof_fill_vals_array(TALLOC_CTX *memctx, unsigned int num_values, struct ldb_val *values, struct mbof_val_array **val_array) argument
[all...]
/sssd/src/responder/ssh/
H A Dsshsrv_cmd.c861 el_res->values = talloc_array(el_res, struct ldb_val, el_cert->num_values);
868 for (d = 0; d < el_cert->num_values; d++) {
878 el_res->values[el_res->num_values].data =
880 el_res->values[el_res->num_values].length = key_len;
881 el_res->num_values++;
884 if (el_res->num_values == 0) {
929 for (d = 0; d < el->num_values; d++) {
1005 count = el->num_values;
1011 count = el_orig->num_values;
1018 count += el_override->num_values;
[all...]
/sssd/src/tools/
H A Dsss_groupshow.c71 gi->memberofs = talloc_array(gi, const char *, el->num_values+1);
76 for (i = 0; i< el->num_values; ++i) {
85 gi->memberofs[el->num_values] = NULL;
121 um = talloc_array(mem_ctx, const char *, el->num_values+1);
122 gm = talloc_array(mem_ctx, const char *, el->num_values+1);
128 for (i = 0; i< el->num_values; ++i) {
H A Dtools_mc_util.c339 if (!el || el->num_values == 0) {
347 for (i=0; i < el->num_values; i++) {
/sssd/src/providers/ad/
H A Dad_domain_info.c59 if (el->num_values == 0) {
62 } else if (el->num_values > 1) {
309 if (ret != EOK || el->num_values != 1) {

Completed in 2151 milliseconds

123