Lines Matching refs:num_entries
50 int num_entries,
56 map = talloc_array(memctx, struct sdap_attr_map, num_entries + 1);
61 for (i = 0; i < num_entries; i++) {
85 memset(&map[num_entries], 0, sizeof(struct sdap_attr_map));
132 int num_entries,
138 for (i = 0; i < num_entries; i++) {
153 size_t num_entries,
168 *_new_size = num_entries;
176 num_entries + nextra + 1);
188 ret = check_duplicate(map, num_entries, sysdb_attr, ldap_attr);
201 map[num_entries+i].name = ldap_attr;
202 map[num_entries+i].sys_name = sysdb_attr;
203 map[num_entries+i].opt_name = talloc_strdup(map,
204 map[num_entries+i].name);
205 map[num_entries+i].def_name = talloc_strdup(map,
206 map[num_entries+i].name);
207 if (map[num_entries+i].opt_name == NULL ||
208 map[num_entries+i].sys_name == NULL ||
209 map[num_entries+i].name == NULL ||
210 map[num_entries+i].def_name == NULL) {
222 memset(&map[num_entries+nextra], 0, sizeof(struct sdap_attr_map));
225 *_new_size = num_entries + nextra;
233 size_t num_entries,
244 *_new_size = num_entries;
258 num_entries, extra_attrs_list,
331 int num_entries,
338 map = talloc_zero_array(memctx, struct sdap_attr_map, num_entries + 1);
343 for (i = 0; i < num_entries; i++) {