Lines Matching refs:list

2247   struct group_list *list = (struct group_list *) inf;  in build_group_lists()  local
2258 elem_idx = (unsigned int *) hash_find (list->indexes, group_name); in build_group_lists()
2261 elf_next_in_group (sec) = list->head[*elem_idx]; in build_group_lists()
2262 list->head[*elem_idx] = sec; in build_group_lists()
2263 list->elt_count[*elem_idx] += 1; in build_group_lists()
2269 i = list->num_group; in build_group_lists()
2273 list->head = (asection **) xrealloc (list->head, in build_group_lists()
2274 newsize * sizeof (*list->head)); in build_group_lists()
2275 list->elt_count = (unsigned int *) in build_group_lists()
2276 xrealloc (list->elt_count, newsize * sizeof (*list->elt_count)); in build_group_lists()
2278 list->head[i] = sec; in build_group_lists()
2279 list->elt_count[i] = 1; in build_group_lists()
2280 list->num_group += 1; in build_group_lists()
2285 hash_insert (list->indexes, group_name, idx_ptr); in build_group_lists()
2296 struct group_list list; in elf_adjust_symtab() local
2300 list.num_group = 0; in elf_adjust_symtab()
2301 list.head = NULL; in elf_adjust_symtab()
2302 list.elt_count = NULL; in elf_adjust_symtab()
2303 list.indexes = hash_new (); in elf_adjust_symtab()
2304 bfd_map_over_sections (stdoutput, build_group_lists, &list); in elf_adjust_symtab()
2310 for (i = 0; i < list.num_group; i++) in elf_adjust_symtab()
2312 const char *group_name = elf_group_name (list.head[i]); in elf_adjust_symtab()
2320 for (s = list.head[i]; s != NULL; s = elf_next_in_group (s)) in elf_adjust_symtab()
2324 if (s != list.head[i]) in elf_adjust_symtab()
2344 elf_next_in_group (s) = list.head[i]; in elf_adjust_symtab()
2367 size = 4 * (list.elt_count[i] + 1); in elf_adjust_symtab()
2375 hash_traverse (list.indexes, free_section_idx); in elf_adjust_symtab()
2376 hash_die (list.indexes); in elf_adjust_symtab()