Home | History | Annotate | Download | only in ld

Lines Matching defs:num_buckets

271   uint32_t num_entries, num_buckets;
308 num_buckets = num_entries * 2;
313 if (num_buckets > 0)
315 buckets = xmalloc (sizeof (struct hash_entry *) * num_buckets);
316 memset (buckets, 0, sizeof (struct hash_entry *) * num_buckets);
324 uint32_t bucket_num = hash % num_buckets;
330 if (bucket_num == num_buckets)
373 bfd_putl32 (num_buckets, int_buf);
381 bfd_putl32 ((num_buckets + 31) / 32, int_buf);
387 for (unsigned int i = 0; i < num_buckets; i += 32)
393 if (i + j >= num_buckets)
417 for (unsigned int i = 0; i < num_buckets; i++)
450 for (unsigned int i = 0; i < num_buckets; i++)
4819 const unsigned int num_buckets = 4096;
4828 buckets = xmalloc (sizeof (struct public *) * num_buckets);
4829 memset (buckets, 0, sizeof (struct public *) * num_buckets);
4863 p->hash = calc_hash (name, name_len) % num_buckets;
4943 buckets_size = num_buckets / 8;
4991 for (unsigned int i = 0; i < num_buckets; i += 8)
5014 for (unsigned int i = 0; i < num_buckets; i++)
5125 uint32_t num_strings = 0, num_buckets;
5155 num_buckets = num_strings * 2;
5157 buckets = xmalloc (sizeof (struct string *) * num_buckets);
5158 memset (buckets, 0, sizeof (struct string *) * num_buckets);
5162 uint32_t bucket_num = s->hash % num_buckets;
5168 if (bucket_num == num_buckets)
5175 bfd_putl32 (num_buckets, int_buf);
5183 for (unsigned int i = 0; i < num_buckets; i++)