Home | History | Annotate | Download | only in bfd

Lines Matching refs:nbuckets

85   unsigned int nbuckets;
160 /* True when COUNT+ADDED and NBUCKETS indicate that the hash table
164 needs_resize (unsigned int count, unsigned int added, unsigned int nbuckets)
169 longer be correct. Currently "added" is always 1 and "nbuckets"
172 return count + added > nbuckets / 3 * 2;
184 unsigned long newnb = table->nbuckets;
212 for (i = 0; i < table->nbuckets; i++)
228 table->nbuckets = newnb;
254 if (needs_resize (bfdtab->count, 1, table->nbuckets))
259 unsigned int nbuckets = table->nbuckets;
260 _index = hash & (nbuckets - 1);
266 _index = (_index + 1) & (nbuckets - 1);
404 (unsigned)hash, (unsigned)table->nbuckets, string);*/
408 unsigned int nbuckets = table->nbuckets;
409 _index = hash & (nbuckets - 1);
423 _index = (_index + 1) & (nbuckets - 1);
463 table->nbuckets = 0x2000;
465 table->nbuckets * sizeof (table->key_lens[0]));
466 memset (table->key_lens, 0, table->nbuckets * sizeof (table->key_lens[0]));
468 table->nbuckets * sizeof (table->values[0]));
469 memset (table->values, 0, table->nbuckets * sizeof (table->values[0]));