Home | History | Annotate | Download | only in bfd

Lines Matching refs:nbuckets

85   unsigned int nbuckets;
158 /* True when COUNT+ADDED and NBUCKETS indicate that the hash table
162 needs_resize (unsigned int count, unsigned int added, unsigned int nbuckets)
167 longer be correct. Currently "added" is always 1 and "nbuckets"
170 return count + added > nbuckets / 3 * 2;
182 unsigned long newnb = table->nbuckets;
210 for (i = 0; i < table->nbuckets; i++)
226 table->nbuckets = newnb;
252 if (needs_resize (bfdtab->count, 1, table->nbuckets))
257 unsigned int nbuckets = table->nbuckets;
258 _index = hash & (nbuckets - 1);
264 _index = (_index + 1) & (nbuckets - 1);
402 (unsigned)hash, (unsigned)table->nbuckets, string);*/
406 unsigned int nbuckets = table->nbuckets;
407 _index = hash & (nbuckets - 1);
421 _index = (_index + 1) & (nbuckets - 1);
461 table->nbuckets = 0x2000;
463 table->nbuckets * sizeof (table->key_lens[0]));
464 memset (table->key_lens, 0, table->nbuckets * sizeof (table->key_lens[0]));
466 table->nbuckets * sizeof (table->values[0]));
467 memset (table->values, 0, table->nbuckets * sizeof (table->values[0]));