Lines Matching refs:list
782 const char *const *list)
795 for (num = 0; list[num]; num++) /* count */ ;
809 member = sysdb_user_strdn(el->values, domain, list[i]);
812 "Failed to get user dn for [%s]\n", list[i]);
994 /* Search for all incidences of attr_name in a list of
995 * sysdb_attrs and add their value to a list
1009 char **list;
1020 list = talloc_array(mem_ctx, char *, attr_count+1);
1021 if (!list) {
1032 * Copy it to the output list
1034 list[list_idx] = talloc_strdup(
1035 list,
1037 if (!list[list_idx]) {
1038 talloc_free(list);
1051 list[list_idx] = NULL;
1057 tmp_list = talloc_realloc(mem_ctx, list, char *, list_idx+1);
1059 talloc_zfree(list);
1062 list = tmp_list;
1065 *_list = list;
1477 char **list;
1481 list = talloc_array(mem_ctx, char *, attr_count+1);
1482 if (!list) {
1499 list[j] = talloc_strdup(list, name);
1501 list[j] = sss_create_internal_fqname(list, name, domain->name);
1503 if (!list[j]) {
1511 /* NULL-terminate the list */
1512 list[j] = NULL;
1514 *name_list = list;
1520 talloc_free(list);