Lines Matching refs:table
35 /* An entry in the section merge hash table. */
54 /* Next entity in the hash table. */
58 /* The section merge hash table. */
62 struct bfd_hash_table table;
81 /* A hash table used to hold section content. */
93 /* A hash table used to hold section content. */
106 struct bfd_hash_table *table, const char *string)
112 bfd_hash_allocate (table, sizeof (struct sec_merge_hash_entry));
117 entry = bfd_hash_newfunc (entry, table, string);
133 /* Look up an entry in a section merge hash table. */
136 sec_merge_hash_lookup (struct sec_merge_hash *table, const char *string,
149 if (table->strings)
151 if (table->entsize == 1)
165 for (i = 0; i < table->entsize; ++i)
168 if (i == table->entsize)
170 for (i = 0; i < table->entsize; ++i)
179 len *= table->entsize;
182 len += table->entsize;
186 for (i = 0; i < table->entsize; ++i)
192 len = table->entsize;
195 _index = hash % table->table.size;
196 for (hashp = (struct sec_merge_hash_entry *) table->table.table[_index];
224 bfd_hash_insert (&table->table, string, hash));
232 /* Create a new hash table. */
237 struct sec_merge_hash *table;
239 table = (struct sec_merge_hash *) bfd_malloc (sizeof (struct sec_merge_hash));
240 if (table == NULL)
243 if (! bfd_hash_table_init_n (&table->table, sec_merge_hash_newfunc,
246 free (table);
250 table->size = 0;
251 table->first = NULL;
252 table->last = NULL;
253 table->entsize = entsize;
254 table->strings = strings;
256 return table;
259 /* Get the index of an entity in a hash table, adding it if it is not
462 /* Record one section into the hash table. */
603 not to be equal by the hash table. */
742 /* Record the sections into the hash table. */
788 the hash table at all. */
930 bfd_hash_table_free (&sinfo->htab->table);