Lines Matching refs:table
49 struct bfd_hash_table table; member
64 struct bfd_hash_table *table, in elf_strtab_hash_newfunc() argument
71 bfd_hash_allocate (table, sizeof (struct elf_strtab_hash_entry)); in elf_strtab_hash_newfunc()
76 entry = bfd_hash_newfunc (entry, table, string); in elf_strtab_hash_newfunc()
97 struct elf_strtab_hash *table; in _bfd_elf_strtab_init() local
100 table = (struct elf_strtab_hash *) bfd_malloc (amt); in _bfd_elf_strtab_init()
101 if (table == NULL) in _bfd_elf_strtab_init()
104 if (!bfd_hash_table_init (&table->table, elf_strtab_hash_newfunc, in _bfd_elf_strtab_init()
107 free (table); in _bfd_elf_strtab_init()
111 table->sec_size = 0; in _bfd_elf_strtab_init()
112 table->size = 1; in _bfd_elf_strtab_init()
113 table->alloced = 64; in _bfd_elf_strtab_init()
115 table->array = (struct elf_strtab_hash_entry **) in _bfd_elf_strtab_init()
116 bfd_malloc (table->alloced * amt); in _bfd_elf_strtab_init()
117 if (table->array == NULL) in _bfd_elf_strtab_init()
119 free (table); in _bfd_elf_strtab_init()
123 table->array[0] = NULL; in _bfd_elf_strtab_init()
125 return table; in _bfd_elf_strtab_init()
133 bfd_hash_table_free (&tab->table); in _bfd_elf_strtab_free()
155 bfd_hash_lookup (&tab->table, str, TRUE, copy); in _bfd_elf_strtab_add()